EasyManua.ls Logo

dji RoboMaster EP - Page 34

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...
33
Python API
Function: chassis_ctrl.move_with_distance(degree, distance)
Parameters:
degree(int): [-180, 180] °
distance(float): [0, 5] m
(1) Objective: Sets the chassis to translate in a specified direction and at a specified speed
(2) Type: Execution block
(3) Example: Return to starting position
This sets the chassis to translate forward and to the right at 1 m/s, then translate backward and to the left at
0.5 m/s to return to the original position.

Related product manuals