27
(1) Description: Set the distance the chassis will translate in a specified direction
(2) Type: Execution block
(3) Example: Translate in a cross-pattern
This will control the robot to translate “forward, backward, left and right” in a cross-shaped sequence.
Python API:
Function: chassis_ctrl.move_with_distance(degree, distance)
Parameters:
● degree(int): [-180, 180] °