abstract#

class RWMapper(bind, idx)[source]#

Bases: ReadWriteFloatScalar

Class mapping a scalar to an element of an array

get()[source]#

Get the value at the mapped index.

Returns:

float – Value at the mapped array index

index()[source]#

Get the mapped array index.

Returns:

int – The index in the array that this scalar maps to

set(value)[source]#

Set the value at the mapped index.

Parameters:

value (float) – Value to set

set_and_wait(value)[source]#

Set the value and wait for it to reach the setpoint.

Parameters:

value (float) – Target value to set and wait for

Raises:

NotImplementedError – This method is not yet implemented

unit()[source]#

Get the unit for the value.

Returns:

str – Unit string for the value at the mapped index

class ReadFloatArray[source]#

Bases: object

Abstract class providing read access to a vector of float

abstractmethod get()[source]#

Get the value

abstractmethod unit()[source]#

Get the unit of the values

class ReadFloatScalar[source]#

Bases: object

Abstract class providing read access to a scalar double

abstractmethod get()[source]#

Get the value

abstractmethod unit()[source]#

Get the unit of the value

class ReadWriteFloatArray[source]#

Bases: ReadFloatScalar

Abstract class providing read write access to a vector of double

abstractmethod set(value)[source]#

Set the values

abstractmethod set_and_wait(value)[source]#

Set the values and wait that setpoints are reached

class ReadWriteFloatScalar[source]#

Bases: ReadFloatScalar

Abstract class providing read write access to a scalar double

abstractmethod set(value)[source]#

Set the value

abstractmethod set_and_wait(value)[source]#

Set the value and wait that setpoint is reached