libgs.hardware.RotCtld¶
-
class
libgs.hardware.RotCtld(addr, port, name=None, persist=True, **kwargs)[source]¶ Interface to hamlib rotators using Rotctld
This class will continously poll hamlibs rotctld over TCP and store the position. Requests to get_azel will return this stored position rather than trigger a request to hamlib. This makes the class thread-safe.
Note
For rotators that support the GS232B protocol, use the GS232B class instead of RotCtld. It does not depend on hamlib and is more actively maintained than this class.
Methods
get_azel()Return the most current AZ,EL. set_azel(az, el, *args, **kwargs)Set the AZ, EL Attributes
Inherited from base class
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 in_pos([az, el])Check if antenna is in position. stow([block])Stow antenna BEAMWIDTHMAX_AZMAX_ELMIN_AZMIN_ELSLEW_TIMEOUTSTOWED_AZSTOWED_ELazReturn / Set current azimuth azelReturn / Set current (azimuth, elevation). cmd_azCommanded azimuth position cmd_elCommanded elevation elReturn / Set current elevation nameProperty for getting/setting the radio name.