EasyManua.ls Logo

dji RoboMaster EP - Page 37

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...
36
This block is not available in Gimbal Lead Mode.
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
(1) Objective: Sets the angle and direction of chassis rotation
(2) Type: Execution block
(3) Example: Translate continuously back and forth This sets the EP to translate back and forth continuously
with the gimbal directed outward.
Note:
This block is not available in Gimbal Lead Mode.
Python API
Function: chassis_ctrl.rotate_with_degree(direction_enum, degree)
Parameters:
direction_enum(enum):
rm_define.clockwise
rm_define.anticlockwise
degree(int): [0, 1800] °

Related product manuals