I’m trying to write a code for a makeblock mbot2 robot with python.
The robot should drive between two black lines until there’s a red surface. Then it needs to stop.
It sometimes works, but most of the time, the robot’s sensors don’t detect “red” and treat it like a black line …
Does anyone have experience and could possibly help me?
Kr Stefan
Red often gets mistaken with dark underground.
New contributor
Stefan Bittermann is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.