Hey, I made a thread earlier, but I figured I'd post again since it's not quite the same as the last one.
I need to build a vehicle that travels any straight line distance between 5 and 10 meters on a surface indoors, most likely a gym floor. I need to get the distance it travels accurate to the millimeter. I can't do anything to the floor that would make it stop. People mentioned using a light sensor at the end of the path traveled to make it stop, which I couldn't do since it would require putting something on the ground to stop the vehicle. Others mentioned using a laser from an optical mouse to measure distance traveled which would stop the vehicle, which might work, but I was warned that wouldn't be as accurate as I would hope.
I was thinking that I would end up doing it by setting the motors on the wheels to spin w/e degrees that would make it go to the specific distance using the circumference of the wheels. Would that not be a likely option?
I'm relatively new to the idea of building a vehicle, so I don't know much about wheels or motors. People mentioned using stepper motors. Not sure about the wheels.
Also, I thought of using Arduino based on how it seems like there'd be a lot of information to help me along with this, and it also seems like a good choice in general. If anyone thinks that Arduino would be the wrong board to use for this sort of project, please do let me know (though that seems unlikely since this is an arduino forum )
Any help would be appreciated