This is the code I used for Robomo's 2015 Magellan Competition
http://robomo.com/competitions/2015-magellan-competition/
See this https://forums.adafruit.com/viewtopic.php?f=19&t=75497 for information on calibrating the BNO055 Sensor to work as a compass
/arduino_libs/ holds the libraries used by the sketch
/gps_arduino/ is where the main sketch is located
/gegpsd.py is the python script that reads raw gps data and turns it into a kml file for Google Earth
This is how I upload the kml file to my server:
Upload to the sever
watch -n 10 rsync -avz ./gps.kml ec2-user@hostanme.com:~/
Download from the server
watch -n 10 rsync -avzh ec2-user@hostname.com:~/*.kml ./