class ActuatorCommand

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
command_idintCommand ID (first 2 bytes: device ID, last 2 bytes: sequence number)You can manipulate the field command_id as if it were a regular field. To clear the value of command_id and reset it to the default value for its type, you call the ClearField() method of the Message interface.
flagsintFlagsYou can manipulate the field flags as if it were a regular field. To clear the value of flags and reset it to the default value for its type, you call the ClearField() method of the Message interface.
positionfloatDesired position of the actuator (in degrees)You can manipulate the field position as if it were a regular field. To clear the value of position and reset it to the default value for its type, you call the ClearField() method of the Message interface.
velocityfloatDesired velocity of the actuator (in degrees per second)You can manipulate the field velocity as if it were a regular field. To clear the value of velocity and reset it to the default value for its type, you call the ClearField() method of the Message interface.
torque_jointfloatDesired torque of the actuator (in Newton * meters)You can manipulate the field torque_joint as if it were a regular field. To clear the value of torque_joint and reset it to the default value for its type, you call the ClearField() method of the Message interface.
current_motorfloatDesired current of the motor (in Amperes)You can manipulate the field current_motor as if it were a regular field. To clear the value of current_motor and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: BaseCyclic (Python)