EasyManua.ls Logo

dji RoboMaster EP - Page 20

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...
19
Note:
You can choose multiple LEDs to activate simultaneously.
Python API
Function: led_ctrl.set_signle_led(armor_enum, led_index, led_effect_enum)
Parameters:
armor_enum(enum):
rm_define.armor_top_all
rm_define.armor_top_left
rm_define.armor_top_right
index(int/list): [1, 8]
led_effect_enum(enum):
rm_define.effect_always_on
rm_define.effect_always_off
(1) Objective: Switches off designated LEDs
(2) Type: Execution block
(3) Example: Configure signal light
This will set the robot to switch on LEDs on the right side of the gimbal before turning right; after the turn is
complete, it will switch the LED off.

Related product manuals