ESP32 Obstacle-Avoiding Robot | Differential-Drive Control
A differential-drive robot can respond to an obstacle by changing the speeds of its left and right wheels. An ESP32 can coordinate that local response.
The key idea
A distance observation describes only the region visible to the sensor. A turning robot sweeps an area wider than a single line of sight, so its footprint and available turning space affect the choice of manoeuvre.
What to remember
- Wheel-speed differences set the turn direction.
- An apparently clear sensor ray does not establish clearance for the whole body.
Check your understanding
Why can a robot clip an obstacle even when its centreline is clear?
Show the explanation
Its corners and wheels occupy space on either side and sweep through an area as it turns.