33
Python API:
Function: chassis_ctrl.move_with_distance(degree, distance)
Parameters:
● degree(int): [-180, 180] °
● distance(float): [0, 5] m
(1) Objective: Sets the chassis to translate in a specified direction and at a specified speed
(2) Type: Execution block
(3) Example: Return to starting position
This sets the chassis to translate forward and to the right at 1 m/s, then translate backward and to the left at
0.5 m/s to return to the original position.