EasyManua.ls Logo

dji RoboMaster EP - Page 16

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...
15
(1) Objective: Sets the flash rate for LEDs
(2) Type: Settings block
(3) Example: Configure reverse light
This will set the rear LED of the chassis to flash red four times per second when reversing.
Python API
Function: led_ctrl.set_flash(armor_enum, frequency)
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
frequency(int): [1, 10]

Related product manuals