26
7. Set chassis to translate at (0)° for (1)s
(1) Description: Set the duration of time the chassis will translate in a specified direction
(2) Type: Execution block
(3) Example: Translate in an X-pattern
This will control the robot to translate to the “right, forward-left, right, and backward-left” in an X-shaped sequence.
Python API:
Function: chassis_ctrl.move_with_time(degree, time)
Parameters:
● degree(int): [-180, 180] °
● time(float): [0, 20] s
8. Set chassis to translate at (0)° for (1) m