libgs.scheduler.Scheduler

class libgs.scheduler.Scheduler(gs, schedule, track_full_pass=False, compute_ant_points=True, enforce_signoffs=None)[source]

This is the main scheduler class.

It is responsible for executing the schedule on the ground station. As such it needs access to both the ground station instance and the schedule instance.

..note::
A schedule is assumed immutable after being added to the scheduler
Parameters:
  • gs (Groundstation) – Instance of Grounstation class
  • schedule (Schedule) – The schedule to execute
  • track_full_pass (bool (optional)) – If this flag is true the scheduler will not complete a pass before the satellite is no longer in view, regardless of whether there are any remaining communications. (Useful for debugging)

Methods

disable()
enable()
execute(*args, **kwargs) Execute the schedule.
execute_pass(*args, **kwargs) Method to execute a pass on the ground station.
stop(*args, **kwargs)

Attributes

disabled
state
timer