GPS navigation robot – Two waypoints

This video shows a robot I have built that is driving between two waypoints using GPS.

I built this robot last summer, about a year ago. Back then, I never really managed to the software part of the robot working. The weather became worse outside as the fall came, and a lost interest in this project and started working on other things instead.

I wave written all the code myself, apart from the functions used to calculate course and distance between GPS waypoints. I used functions from the TinyGPS library for that. The code runs on an Arduino Due, the robot is using PID control to steer towards the waypoints. The robot uses a combination of GPS-course and integrating the signal from a yaw-gyro to determine its current course. The robot also has a compass, but it does not seem to work very reliably, therefore I do not use it. The robot also has sonar and other sensors, but they are not used in this video. Expect more videos and info about this robot in the near future.

2 thoughts on “GPS navigation robot – Two waypoints

    1. Axel Post author

      I haw set the radius to 2 meters in the code I think. A waypoint is considered reached when the robot is within 2 meters. The accuracy of a normal GPS is not better than this, so I think it is a good distance.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.