Hey guys, I’m new to the forum and pretty new to programming with python and mbot2, so HI ALL!
I’m currently trying to get my mbot to drive on a road.
The borders of the road are black, the road itself is white, so I’m trying to work with the quad RGB sensors.
The code I’m currently using is very limited. It goes something like this: if sensor 4 sees white, the mbot mikes a slight turn to the left. As soon as the sensor starts to see the black line, it moves to the right again…
Do you have any other ideas, on how to get my mbot to follow a road (as quickly as possible)?
Thanks guys!
Cheers
Nudelauflauf