libgs.groundstation.GSState¶
-
class
libgs.groundstation.GSState(callbacks={}, callback_dt={}, pollmap={})[source]¶ Class to hold ground station state variables.
The ground station uses this class to store important state variables, (as its properties). The class does however have the ability to connect callbacks to those properites in order to, for example, update a UI.
Makes use of python properties to ensure the callbacks.
The state properties are:
prop Description type curpos Current antenna position(s) tuple or tuple-of-tuples cmdpos Commanded antenna position(s) tuple or tuple-of-tuples satpos Current tracked satellite position(s) tuple nid Current tracked satellite Norad ID int pdat Current pass data DataFrame state Current tracking state str Todo
Complete this table
Methods
antenna_info()hardware_info()service_info()tracking_info()Return info about tracking state Attributes
IDLESLEWINGTRACKINGWAITINGcmdposcurposlast_responselibgs_lognidpdatpdusatposschedulestatetrack_msguiloghandlerThe logging handler that is used for adding log messages to ui