libgs.hardware.RotatorBase¶
-
class
libgs.hardware.RotatorBase[source]¶ Base class for any rotator hardware interface
Any rotator interface must derive from this class and implement the interface methods:
Additionally you should set the name attribute to something descriptive, and change the configuration attribute parameters as appropriate:
Methods
azel_err(az, el)Returns the error in degrees between the current pointing and a specified az/el azel_to_antenna_angles(pdat[, cont_track_method])From a table of az/el pointings, compute a new table that minimises the amount of movements while keeping the off-pointing within the antenna beamwidth get_azel()Get current az, el pointing in_pos([az, el])Check if antenna is in position. set_azel(az, el, block)Set new az, el pointing stow([block])Stow antenna Attributes
BEAMWIDTHAntenna beamwidth MAX_AZMaximum allowd azimuth command MAX_ELMaximum allowed elevation command MIN_AZMinimum allowed azimuth command MIN_ELMinimum allowed elevation command SLEW_TIMEOUTSlewing Timeout (s) STOWED_AZStowed azimuth position STOWED_ELStowed elevation position azReturn / Set current azimuth azelReturn / Set current (azimuth, elevation). cmd_azReturn / Set commanded azimuth cmd_elReturn / Set commanded elevation elReturn / Set current elevation nameProperty for getting/setting the radio name. Inherited from base class