Re: Storing a taken path in program
My only problem is actually putting into code how to remember the unexpected/varying path that the robot has taken, then reversing it. I am actually going to apply this to a competition that I am entering. The robot must start and end in the same place, while performing several tasks between the two points. I thought that the most efficient way to find the home base again would just be to follow its path that it took to get back. I thought that it would be easier if i gave a simpler example
It basically the same concept, just different task.
So, if it still pertains.....
I am using most of the sensors that I have for performing the tasks, so it really only leaves me with 2 optical shaft encoders (which I think might be helpful for turns), 1 potentiometer, 1 ultrasonic sensor, several touch sensors, a couple of line followers, and a light sensor.
However, I do know for sure, that all of the turns will NOT be 90 degree turns. Also, not all of the motors will be reversed. I have two motors that (1 serving as a fork lift type mechanism, and 1 serving as a turret like mechanism) will not need to be reversed. I hope this helps!
I really need this to work. Let me know if you need anymore info to understand.