Skip to content

Motion Control State Interface

The robot proactively reports status information to the IP and port that send heartbeat commands.

TypeCommandDescription
0x0030 00640x00f0 0000Get robot basic status information

Return Fields:

ParameterMeaningData TypeValues
MotionStateRobot motion stateintIdle=0, Joint Damping/Soft E-Stop=2, RL Control=17, Suspended Stand-up=0x20006
GaitRobot motion gaitintBasic=0x21001, Obstacle Traversal=0x21006
TypeCommandDescription
0x0030 00010x00f0 0000Get robot motion control status information

Return Fields:

  • MotionStatus - Full-body motion control status (Body/Leg posture, linear velocity, height, etc.)
TypeCommandDescription
0x0030 00010x0020 0002Switch robot motion state

Message Fields:

ParameterMeaningData TypeValues
MotionParamRobot motion stateintIdle=0, Joint Damping/Soft E-Stop=2, RL Control=17, Suspended Stand-up=0x20006

JSON Example:

{
"PatrolDevice": {
"Type": 0x00300001,
"Command": 0x00200002,
"Time": "2026-01-01 00:00:00",
"Items": {
"MotionParam": 17
}
}
}
TypeCommandDescription
0x0030 00010x0030 0002Switch robot motion gait

Message Fields:

ParameterMeaningData TypeValues
GaitParamRobot motion gaitintBasic=0x21001, Obstacle Traversal=0x21006

JSON Example:

{
"PatrolDevice": {
"Type": 0x00300001,
"Command": 0x00300002,
"Time": "2026-01-01 00:00:00",
"Items": {
"GaitParam": 0x21001
}
}
}
TypeCommandDescription
0x0030 00010x0010 0002Robot motion control and posture adjustment

Message Fields:

ParameterMeaningData TypeRange
XForward/backward velocityfloat[-1, 1]
YLeft/right velocityfloat[-1, 1]
ZVertical velocityfloat[-1, 1]
RollRoll anglefloat[-1, 1]
PitchPitch anglefloat[-1, 1]
YawYaw anglefloat[-1, 1]

JSON Example:

{
"PatrolDevice": {
"Type": 0x00300001,
"Command": 0x00100002,
"Time": "2026-01-01 00:00:00",
"Items": {
"X": 0.5,
"Y": 0.0,
"Z": 0.0,
"Roll": 0.0,
"Pitch": 0.0,
"Yaw": 0.1
}
}
}