I\'ve developed a C application under Ubuntu to control my SDC2150 which moves my mobile robot motors.
Everything works great, but now I\'d like to immediately stop the motors when bumper signal goes high.
In particular, I\'d like to immediately stop the motors and to detect this condition in my C application in order to eventually change the motors direction.
Can I use the controller digital input to stop motors and detect the bumper event?
If yes, what I have to do? The controller automatically stop the motors when receives a HIGH signal on one of its digital inputs?
Can you help me with this, please?