37
(1) Objective: Sets the chassis to move in a specified direction while rotating simultaneously
(2) Type: Execution block
(3) Example: Translate in a figure-8 pattern
This sets the robot to translate in a figure-8.
Note:
The “set the chassis to rotate” block is not available in Gimbal Lead Mode; however, the “set the chassis to
translate” block is supported in Gimbal Lead Mode.
Python API:
Function: chassis_ctrl.move_and_rotate(degree, direction)
Parameters:
● degree(int): [-180, 180] °
● direction_enum(enum):
■ rm_define.clockwise
■ rm_define.anticlockwise