Skip to content

Advanced Motion Control Interface

Developers control the robot by sending commands directly to the motion host via UDP protocol. However, sending packets does not alter the original control logic.

The Jueying Lite3 can simultaneously receive packets from multiple controllers. “0x2*******” commands can be sent by multiple clients, but downstream data from the wide-angle camera can only be sent to the client that initially connected to the robot.

The heartbeat command verifies connection stability and should be sent at a frequency no lower than 2Hz.

CodeValueType
0x21040001-0

Note: The dash - indicates the command value is not applicable, i.e., the command value does not affect this command.

When the robot is in standing or sitting state, action commands can be sent to execute corresponding actions.

CommandCodeValueTypeExecution Condition
Twist0x21010204-0Torque control state (standing)
Turn over0x21010205-0Sitting state
Moonwalk0x2101030C-0Torque control state (standing)
Backflip0x21010502-0Sitting state
Hello0x21010507-0Sitting state
Long Jump0x2101050B-0Sitting state
Twist Jump0x2101020D-0Torque control state (standing)

The control mode determines the source of velocity commands the robot responds to. In navigation mode, the robot responds to velocity commands from the perception host; in manual mode, the robot responds to velocity commands from the remote controller.

CommandCodeValueTypeFunction
Navigation mode0x21010C03-0Switch from manual to navigation mode
Manual mode0x21010C02-0Switch from navigation to manual mode

When a fault occurs, the data saving function enables the robot to save the last 100 seconds of data, after which the robot will perform a soft emergency stop and exit the motion program.

CodeValueType
0x21010C01-0

When continuous stepping mode is enabled, the robot will continue stepping even without receiving joystick commands.

CodeValueType
0x21010C06-1=Enable, 2=Disable0

The App recognizes user voice and sends voice commands with corresponding command values to control robot movement.

CodeValueType
0x21010C0ASee table below0

Voice command values and their functions:

ValueMeaning
1Stand up
2Sit down
3Move forward
4Move backward
5Strafe left
6Strafe right
7Stop
8Look down
9Look up
11Look left
12Look right
13Turn left 90°
14Turn right 90°
15Turn around 180°
22Greet (perform Hello action)

Speaker command:

Command NameCodeValueType
Speaker command0x2101030D0=Speaker off; 1=Speaker on; 2=Query speaker status0

If the speaker command value is set to 2 (query speaker status), the motion host will report the speaker status:

CodeTypeContent
0x11050f0800=Speaker off; 1=Speaker on

Developers can send the following commands to the motion host to enable or disable related features.

Command NameCodeValueType
Disable all AI options0x210121090x000
Enable auto-stop0x210121090x200
Enable follow0x210121090xC00

Additionally, developers can send the following command to the perception host, with target IP and port 192.168.1.103:43899.

Command NameCodeValueType
Enable obstacle avoidance0x210121090x400

If the motion host IP is 192.168.1.120, the robot’s wide-angle camera video stream URL is: rtsp://192.168.1.120:8554/test. If the motion host IP is 192.168.2.1, the video stream URL is: rtsp://192.168.2.1:8554/test.