I would like to know how to detect if a robot get stuck whiles the Touch Sensor is still in released mode. I am using a robot that uses the Touch Sensor to detect its movement. When the Sensor is pressed, then the robot is still/stop. When it is released, then it is moving.
It is possible that the robot is hindered by an object whiles the Touch sensor is still released. In this case how can i detect that the robot is not moving while the sensor is still released.
For instance, i can lift up the front wheels of the robot upwards whiles the wheels are still running(moving). In that case, the wheels are moving. How can i detect in that case that the robot is stuck? IT can even be that the robot is bumped into something and can't move further.
I want a way to detect that the robot is stuck whether it is been blocked by something or the front wheel is lifted.