This file implements the bump-detection task. It watches the left and right front snap-action switches and sets the bump-event Share when a new press is detected.
It acts as the robot’s collision event detector and helps enforce safe stopping and wall-interaction logic.
This file provides a simple but robust event signal used by the course logic and safety behavior. It is especially important during wall approach and collision response.