yaq/traits/has-turret


Represents a device with an indexed turret that has a set of discrete positions, separate from the device's setpoint

state

Daemons with the has-turret trait will provide the following state information:

turret (['null', 'int'])
Current turret index

messages

Daemons with the has-turret trait expose the following public messages:

get_turret ➜ int
Get current turret index.

set_turret
Set the turret to a given index.
parameters:

turret (int)

daemons

The following daemons implement the has-turret trait:

acton-2150i
fake-has-turret
micro-hr


built 2020-10-27 13:47:08                                      CC0: no copyright