I am doing a robotics project. The goal is to make an autonomous car start from one point and stop at another point around 10 +-1 meters away. I need to make a steering mechanism. I want to be as close as 3 cm away from the point, so GPS probably won't work.
I cannot have a physical line taped to the floor, so I can't use line following robotics code. But, could I take some sort of electronic device and hover it above the point then remove the electronic device and have the car go straight to where the electronic device was? How would I do this and what would I use?
I have already thought of rotary encoders, but I still need a way to keep the car dead straight for 10-ish meters. My current RC car veers about 20 cm either way. Could I used a gyroscope/accelerometer/imu to help keep the car on a straight line? How would I do this/are the gyro/accel sensors sensitive to notice super fine changes in angle? How will I line the car up perfectly straight?
Please let me know your thoughts!