class

Kozai::Rotator::Easycomm

Inherits Kozai::Rotator::Client < Reference < Object

A client for controllers speaking Easycomm II directly.

NOTE: Easycomm II has no acknowledgement for a move command — the controller simply acts on it. There is therefore no way to tell a successful command from one that vanished, short of reading the position back, which Tracker does not do on every step. This is a property of the protocol, not of this implementation, and is why rotctld is the default.

Constants

DEFAULT_PORT = 4533

Port commonly used for Easycomm over TCP.

Constructors

new(host : String = "127.0.0.1", port : Int32 = DEFAULT_PORT, timeout : Time::Span = Hamlib::DEFAULT_TIMEOUT)
Source

Instance methods

close

Closes the connection.

Source
connected?

Whether a connection is currently open.

Source
move(azimuth : Float64, elevation : Float64) : Nil

Commands a move to azimuth and elevation, in degrees.

Source
park

Returns to the park position.

Source
position

Reads the current position as {azimuth, elevation} in degrees.

Source
stop

Stops all motion.

Source