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
BEAMWIDTH
Antenna beamwidth MAX_AZ
Maximum allowd azimuth command MAX_EL
Maximum allowed elevation command MIN_AZ
Minimum allowed azimuth command MIN_EL
Minimum allowed elevation command SLEW_TIMEOUT
Slewing Timeout (s) STOWED_AZ
Stowed azimuth position STOWED_EL
Stowed elevation position az
Return / Set current azimuth azel
Return / Set current (azimuth, elevation). cmd_az
Return / Set commanded azimuth cmd_el
Return / Set commanded elevation el
Return / Set current elevation name
Property for getting/setting the radio name. Inherited from base class