 #include <math.h>
 
+// A physical location
 typedef struct Location {
   double lat;
   double lng;
 } Location;
 
+// A name attached to a physical location
 typedef struct Destination {
   char name[16];
   Location loc;
 } Destination;
+
+// Waypoints to be used for navigation
+Destination dests[] = {
+  {"Test", {0.0, 10.0}},
+  {"Home", {45.022884, -93.244983}},
+  {"Work", {44.989136, -93.250454}},
+};
 
 // Updated by on_new_gps
 // Location

    Serial.println(current_loc.lng, 6);
    Serial.println(current_dist);
    Serial.println(delta_dist);
    Serial.println(eta_time / 1000);
    Serial.println();
  }
}

// ETA in milliseconds. If negative, we're traveling away from current_dest
double eta_time = 0;

// For averaging ETA
const int avg_count = 10;
double avg_buf[avg_count] = {0};
int avg_buf_pos = 0;

// Change current_dest to change the distance and eta
Location current_dest = dests[0].loc;
