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
BEAMWIDTH
MAX_AZ
MAX_EL
MIN_AZ
MIN_EL
SLEW_TIMEOUT
STOWED_AZ
STOWED_EL
az Return / Set current azimuth
azel Return / Set current (azimuth, elevation).
cmd_az Commanded azimuth position
cmd_el Commanded elevation
el Return / Set current elevation
name Property for getting/setting the radio name.