Daemons with the has-transformed-position trait expect the following configuration:
native_limits (array)
default: [-inf, inf]
Bounds of motion specified in native coordinates. To specify bounds in transformed coordinates, use `limits`.
Daemons with the has-transformed-position trait will provide the following state information:
native_reference_position (double)
The reference position, expressed in native coordinates.
Default is `0.0`
Daemons with the has-transformed-position trait expose the following public messages:
to_transformed
➜ double
Convert a native coordinate to transformed.
This is for debugging purposes and is discouraged in normal use.
parameters:
native_coordinate (double)
to_native
➜ double
Convert a transformed coordinate to native.
This is for debugging purposes and is discouraged in normal use.
parameters:
transformed_coordinate (double)
set_native_reference
Set the reference position in native coordinates.
Reference position need not be within hardware limits.
parameters:
native_coordinate (double)
get_native_reference
➜ double
Get the reference position in native coordinates.
set_native_position
Set the current position in native coordinates.
parameters:
native_coordinate (double)
get_native_position
➜ double
Get the current position in native coordinates.
get_native_limits
➜ {'type': 'array', 'items': 'double'}
Returns limits in the relative coordinate system.
get_native_units
➜ ['null', 'string']
Get the units of native coordinates.
get_native_destination
➜ double
Get the destination in native coordinates.
The following daemons implement the has-transformed-position trait:
bronkhorst-mfc-flow-bus
bronkhorst-mfc-rs232
brooks-mfc-gf
fake-has-transformed-position
built 2024-02-09 01:44:16 CC0: no copyright