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]