EasyManua.ls Logo

dji RoboMaster EP - Page 21

dji RoboMaster EP
187 pages
Print Icon
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...
20
Python API:
Function: led_ctrl.turn_off(armor_enum)
Parameters:
● armor_enum(enum)
■ rm_define.armor_all
■ rm_define.armor_bottom_front
■ rm_define.armor_bottom_back
■ rm_define.armor_bottom_left
■ rm_define.armor_bottom_right
■ rm_define.armor_top_left
■ rm_define.armor_top_right
(1) Objective: Controls the trajectory light
(2) Type: Execution block
(3) Example: Launch the trajectory light
This will set the robot to switch on the trajectory light when firing shots.
Python API:
Function: led_ctrl.gun_led_on()
led_ctrl.gun_led_off()