EasyManua.ls Logo

dji RoboMaster EP - Page 38

dji RoboMaster EP
187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 rotateblock 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

Related product manuals