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()