30
11. Set chassis to rotate (right) for (1) s
(1) Description: Set the duration the chassis will rotate in a specified direction
(2) Type: Execution block
(3) Example: Rotate left and right
The chassis will rotate right for 3 seconds and then rotate left for 3 seconds to return to the original position.
Python API:
Function: chassis_ctrl.rotate_with_time(direction_enum, time)
Parameters:
● direction_enum(enum):
■ rm_define.clockwise
■ rm_define.anticlockwise
● time(float): [0, 20] s
12. Set chassis to rotate (right) at (0) °
(1) Description: Set the angle and direction of chassis rotation
(2) Type: Execution block
(3) Example: Rotate left and right
The chassis will rotate right at 30° and then rotate left at 30°.