Lesson 5 of 6 ยท 9 min ยท +120 XP
Why robots fail
- Trace any robot failure to Sense, Think, or Act
- Use that taxonomy to debug your own projects later
Every robot failure is a failure in one of three places. That's the whole list.
Sense failures
- Dust on a Roomba's cliff sensor โ it thinks the floor disappeared โ it stops.
- Sun in a self-driving car's camera โ it can't read the lane.
- Encoder wire comes loose โ robot has no idea how far it has moved.
The fix is usually one of: clean the sensor, add a backup sensor, fuse multiple sensors.
Think failures
- A buggy if-else statement.
- An ML model that wasn't trained on the situation it's now in.
- Latency โ by the time the decision arrives, it's already too late.
The fix is usually one of: better algorithms, more data, more compute, simpler logic.
Act failures
- Motor burns out.
- Wheel slips on a wet floor.
- Servo goes out of range and breaks the linkage.
The fix is usually one of: better hardware, gentler control, mechanical safety limits.
The pattern
At every R2BOT debugging session, you ask three questions in order:
- Did the sensor data look right?
- Did the brain make the right decision?
- Did the act actually happen?
This is what professional roboticists do โ and now so do you.
A self-driving car's lane-keeping fails on a sunny day because of glare. Which kind of failure is this?