Skip to content

pylon_interfaces/msg/MotorCommand ​

Interface index · Topic reference · Upstream MotorCommand.msg

Generated from the definitions stored in this site; upstream may differ. See snapshot provenance and conventions.

bash
ros2 interface show pylon_interfaces/msg/MotorCommand

Fields ​

NameTypeValue / explicit default
headerstd_msgs/Header—
vessel_idstring—
controller_idstring—
lease_idstring—
sequenceuint64—
idstring—
modeuint8—
enabledbool—
positionfloat64—
velocityfloat64—
effortfloat64—
timeout_secfloat64—

Constants ​

NameTypeValue / explicit default
MODE_POSITIONuint80
MODE_VELOCITYuint81
MODE_EFFORTuint82

Raw definition ​

text
std_msgs/Header header
# Optional compatibility guard against commands for a previous active_vessel.
# Leave empty: the bridge binds commands to active_vessel.
string vessel_id
# Optional producer stream identity for duplicate rejection, not ownership.
# Leave both IDs and sequence at defaults for bridge-managed numbering.
string controller_id
string lease_id
uint64 sequence
string id
uint8 MODE_POSITION=0
uint8 MODE_VELOCITY=1
uint8 MODE_EFFORT=2
uint8 mode
bool enabled
float64 position
float64 velocity
float64 effort
float64 timeout_sec

Guides and API references for building ROS2 applications with PyLoN