class AxisOffsets

June 4, 2021 ยท View on GitHub

Member values

Member nameData typeDescription
absolute_offsetfloat32Absolute offset value (degrees)
relative_offsetfloat32Relative offset value (degrees)

Member functions

Function nameReturn typeInput typeDescription
absolute_offset()float32voidReturns the current value of absolute_offset. If the absolute_offset is not set, returns 0.
set_absolute_offset()voidfloat32Sets the value of absolute_offset. After calling this, absolute_offset() will return value.
clear_absolute_offset()voidvoidClears the value of absolute_offset. After calling this, absolute_offset() will return 0.
relative_offset()float32voidReturns the current value of relative_offset. If the relative_offset is not set, returns 0.
set_relative_offset()voidfloat32Sets the value of relative_offset. After calling this, relative_offset() will return value.
clear_relative_offset()voidvoidClears the value of relative_offset. After calling this, relative_offset() will return 0.

Parent topic: ActuatorConfig (C++)