class ActuatorFeedback

August 13, 2019 · View on GitHub

Member values

Member nameData typeDescription
command_iduint32Command ID (first 2 bytes: device ID, last 2 bytes: sequence number)
status_flagsuint32Status flags
jitter_commuint32Jitter from the communication (in microseconds)
positionfloat32Position of the actuator (in degrees)
velocityfloat32Velocity of the actuator (in degrees per second)
torquefloat32Torque of the actuator (in Newton * meters)
current_motorfloat32Current of the motor (in Amperes)
voltagefloat32Voltage of the main board (in Volts)
temperature_motorfloat32Motor temperature (maximum of the three (3) phase temperatures in °C)
temperature_corefloat32Microcontroller temperature (in degrees Celsius)
fault_bank_auint32Fault bank A
fault_bank_buint32Fault bank B
warning_bank_auint32Warning bank A
warning_bank_buint32Warning bank B

Member functions

Function nameReturn typeInput typeDescription
command_id()uint32voidReturns the current value of command_id. If the command_id is not set, returns 0.
set_command_id()voiduint32Sets the value of command_id. After calling this, command_id() will return value.
clear_command_id()voidvoidClears the value of command_id. After calling this, command_id() will return 0.
status_flags()uint32voidReturns the current value of status_flags. If the status_flags is not set, returns 0.
set_status_flags()voiduint32Sets the value of status_flags. After calling this, status_flags() will return value.
clear_status_flags()voidvoidClears the value of status_flags. After calling this, status_flags() will return 0.
jitter_comm()uint32voidReturns the current value of jitter_comm. If the jitter_comm is not set, returns 0.
set_jitter_comm()voiduint32Sets the value of jitter_comm. After calling this, jitter_comm() will return value.
clear_jitter_comm()voidvoidClears the value of jitter_comm. After calling this, jitter_comm() will return 0.
position()float32voidReturns the current value of position. If the position is not set, returns 0.
set_position()voidfloat32Sets the value of position. After calling this, position() will return value.
clear_position()voidvoidClears the value of position. After calling this, position() will return 0.
velocity()float32voidReturns the current value of velocity. If the velocity is not set, returns 0.
set_velocity()voidfloat32Sets the value of velocity. After calling this, velocity() will return value.
clear_velocity()voidvoidClears the value of velocity. After calling this, velocity() will return 0.
torque()float32voidReturns the current value of torque. If the torque is not set, returns 0.
set_torque()voidfloat32Sets the value of torque. After calling this, torque() will return value.
clear_torque()voidvoidClears the value of torque. After calling this, torque() will return 0.
current_motor()float32voidReturns the current value of current_motor. If the current_motor is not set, returns 0.
set_current_motor()voidfloat32Sets the value of current_motor. After calling this, current_motor() will return value.
clear_current_motor()voidvoidClears the value of current_motor. After calling this, current_motor() will return 0.
voltage()float32voidReturns the current value of voltage. If the voltage is not set, returns 0.
set_voltage()voidfloat32Sets the value of voltage. After calling this, voltage() will return value.
clear_voltage()voidvoidClears the value of voltage. After calling this, voltage() will return 0.
temperature_motor()float32voidReturns the current value of temperature_motor. If the temperature_motor is not set, returns 0.
set_temperature_motor()voidfloat32Sets the value of temperature_motor. After calling this, temperature_motor() will return value.
clear_temperature_motor()voidvoidClears the value of temperature_motor. After calling this, temperature_motor() will return 0.
temperature_core()float32voidReturns the current value of temperature_core. If the temperature_core is not set, returns 0.
set_temperature_core()voidfloat32Sets the value of temperature_core. After calling this, temperature_core() will return value.
clear_temperature_core()voidvoidClears the value of temperature_core. After calling this, temperature_core() will return 0.
fault_bank_a()uint32voidReturns the current value of fault_bank_a. If the fault_bank_a is not set, returns 0.
set_fault_bank_a()voiduint32Sets the value of fault_bank_a. After calling this, fault_bank_a() will return value.
clear_fault_bank_a()voidvoidClears the value of fault_bank_a. After calling this, fault_bank_a() will return 0.
fault_bank_b()uint32voidReturns the current value of fault_bank_b. If the fault_bank_b is not set, returns 0.
set_fault_bank_b()voiduint32Sets the value of fault_bank_b. After calling this, fault_bank_b() will return value.
clear_fault_bank_b()voidvoidClears the value of fault_bank_b. After calling this, fault_bank_b() will return 0.
warning_bank_a()uint32voidReturns the current value of warning_bank_a. If the warning_bank_a is not set, returns 0.
set_warning_bank_a()voiduint32Sets the value of warning_bank_a. After calling this, warning_bank_a() will return value.
clear_warning_bank_a()voidvoidClears the value of warning_bank_a. After calling this, warning_bank_a() will return 0.
warning_bank_b()uint32voidReturns the current value of warning_bank_b. If the warning_bank_b is not set, returns 0.
set_warning_bank_b()voiduint32Sets the value of warning_bank_b. After calling this, warning_bank_b() will return value.
clear_warning_bank_b()voidvoidClears the value of warning_bank_b. After calling this, warning_bank_b() will return 0.

Parent topic: BaseCyclic (C++)