I am afraid your explanation is somewhat...elementary as well
How will the robot move? Wheels? Tracks?
Will there be obstacles in the robot's way?
How are the coordinates determined?
How will the robot determine its position?
Are there markers on the floor, wall or somewhere else that can be used by the robot to see where it is?
We're going to need a whole lot more info, those questions above are just a start. The more info you give is, the better we can help you. As for pre-written code, hrmm, I wouldn't bet on it
Regards,
Xander
_________________|
Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)| My Blog:
I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [
Project Page]