Sorry. I am really bad and new at programming and would really need some help with this project.
From what I have done is that I have sent the start & end Lat Long distance & bearing to my arduino. Now I have to use these data and move my robot. I have also created the forward, backward, turn, etc. movements on the robot. Any idea on how I can do it? thank you soo much.
Look for the Havesine formula to calculate distance and bearing to get from one coordinate to another, point your robot in the correct direction, move the calculated distance.
The only issue I see is that you have to be moving significant distances (GPS error is typically a few meters at best) so you're probably talking about distances of 10-100 meters or even more. That likely requires obstacle avoidance and other techniques to have your robot move there, without getting stuck, breaking things, breaking itself, and keeping the rest of the world safe in the process.This in turn requires a way to keep track of where you are and where you're heading to at all times so you can actually end up there.
How far will the robot move?
How big are the batteries?
To what lat/long will you move it to?
Will it be across open fields, forest or use the road?
Will it travel in a straight line or follow a particular path?
Daz1712:
How far will the robot move?
How big are the batteries?
To what lat/long will you move it to?
Will it be across open fields, forest or use the road?
Will it travel in a straight line or follow a particular path?
Answers please.
Daz
How do all of these questions relate to the code? Would you be planning to write different code for OP if he/she was using 12 cubic yards of batteries vs. a 3 cm x 1 cm x 10 cm battery?
PaulS:
How do all of these questions relate to the code? Would you be planning to write different code for OP if he/she was using 12 cubic yards of batteries vs. a 3 cm x 1 cm x 10 cm battery?
Ok the battery question was part joke, a lot curiosity. (One day hope to build K9, But still so much to learn, sigh)