class Command

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
command_idMessageIdMessageIdTo set command_id, you simply assign a value directly to a field within command_id. You can also use the parent message's HasField() method to check if a message type field value has been set.
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.
gripper_commandoneof:tool_command CommandGripper commandYou can manipulate the field gripper_command as if it were a regular field. To clear the value of gripper_command and reset it to the default value for its type, you call the ClearField() method of the Message interface. The message class also has a WhichOneof method that lets you find out which field (if any) in the oneof has been set.

Parent topic: InterconnectCyclic (Python)