43
Python API:
Function: def chassis_impact_detection(msg)
Type: Event callback
(1) Objective: Returns “True” when the chassis hits an obstacle while driving; otherwise, returns “False”
(2) Type: Boolean block
(3) Example: Emit danger warning If the chassis impacts an obstacle while the robot is being controlled
through the FPV interface, the “hit” sound will play and all red LED indicators for the chassis and gimbal will
blink; in all other scenarios,these indicators will remain on in a steadystate.