Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Message Types

For some of our data, we define custom ROS2 message types. You can work with these trivially by re-defining them in your own code, using the official definitions below as reference

CommandedEEPose

# CommandedEEPose.msg
# End-effector command: target pose + gripper opening.
# Pose is expressed in `header.frame_id` (typically "world").
# `gripper` is the target gripper joint position in metres,
# gripper range is [-0.003, 0.05].
std_msgs/Header header
geometry_msgs/Pose pose
float64 gripper

MotorStatus

std_msgs/Header header

# Motor name (corresponding to URDF/JointState name)
string[] name

# Controller ID (Feedback Frame: MST_ID)
uint8[] can_id

# -----------------------------------------
# Status and Error Codes
# -----------------------------------------
# Corresponds to the ERR field in the Feedback Frame (High 4 bits)
# Detailed code definitions:
#   0   (0x0)  : Disabled
#   1   (0x1)  : Enabled
#   8   (0x8)  : Overvoltage
#   9   (0x9)  : Undervoltage
#   10  (0xA)  : Overcurrent
#   11  (0xB)  : MOSFET Overheating
#   12  (0xC)  : Motor Coil Overheating
#   13  (0xD)  : Communication Loss (Watchdog Timeout)
#   14  (0xE)  : Overload
uint8[] status_code

# -----------------------------------------
# Thermal Monitoring
# -----------------------------------------

# Indicates the average temperature of the drive MOSFET (Feedback Frame: T_MOS)
# Unit: °C
uint8[] temp_mos

# Indicates the average temperature of the motor’s internal coil (Feedback Frame: T_Rotor)
# Unit: °C
uint8[] temp_rotor

# -----------------------------------------
# Raw Feedback Data - For Debugging
# -----------------------------------------
# These data are usually converted to standard units (rad, rad/s, Nm) and published to the /joint_states topic.
# These fields are reserved for debugging "Linear Mapping" conversion formulas or checking if raw CAN values are abnormal.

# Raw Position (POS) (16 bit) - Value before mapping
uint16[] position_raw

# Raw Velocity (VEL) (12 bit) - Value before mapping
uint16[] velocity_raw

# Raw Torque (T) (12 bit) - Value before mapping
uint16[] torque_raw

Last updated