EasyManua.ls Logo

dji Robomaster EP Core - Page 33

dji Robomaster EP Core
152 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...
32
14. Set chassis to translate forward at (0)° and rotate (right)
(1) Description: Set 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 pattern.
Python API:
Function: chassis_ctrl.move_and_rotate(degree, direction)
Parameters:
degree(int): [-180, 180] °
direction_enum(enum):
rm_define.clockwise
rm_define.anticlockwise

Other manuals for dji Robomaster EP Core

Related product manuals