78
Note:
Configuring armor sensitivity is only available in laboratory testing. Any armor sensitivity settings will be restored to default
during competition.
Python API:
Function: armor_ctrl.set_hit_sensitivity(value)
Parameters:
● value(int): [0, 10]
2. When (any) armor hit
(1) Description: Run the block’s program when the armor is hit at a specified section
(2) Type: Event block
(3) Sample: Response to tapping
When any armor of the robot is attacked, all chassis LEDs will blink red to indicate.
Note:
Event blocks have the highest priority and contain programs where main function will pop out and begin to run when certain
conditional statements are met, regardless of the main function’s current status.