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
azel_err(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()Return the most current AZ,EL. get_azel_rate()in_pos([az, el])Check if antenna is in position set_azel(az, el, *args, **kwargs)set_azel_rate(az, el, block)stow([block])Stow antenna Attributes
BEAMWIDTHMAX_AZMAX_ELMIN_AZMIN_ELSLEW_TIMEOUTSTOWED_AZSTOWED_ELazazelcmd_azCommanded azimuth position cmd_elCommanded elevation elname