added correction data for gnss

This commit is contained in:
2022-04-07 22:46:46 +02:00
parent ece89eba60
commit 9790a4a66f
11 changed files with 289 additions and 17 deletions
+4 -5
View File
@@ -12,12 +12,13 @@
#ifndef NAVIGATION_H
#define NAVIGATION_H
#include <TinyGPS++.h>
#include <SparkFun_u-blox_GNSS_Arduino_Library.h>
#include <Arduino.h>
#include <Wire.h>
#include <iostream>
#include "route.h"
#include "navigationUtils.h"
/**
* @brief The minimal distance between Points
@@ -53,11 +54,9 @@ class Navigation {
/**
* @brief Construct a new Navigation object
*
* @param rx pin to the gps device
* @param tx pin to the gps device
* @param route with which to navigate
*/
Navigation(uint8_t rx, uint8_t tx, Route* route = nullptr);
Navigation(Route* route = nullptr);
/**
* @brief Destroy the Navigation object
@@ -168,7 +167,7 @@ class Navigation {
*/
static double courseTo(Point p1, Point p2);
TinyGPSPlus* gps;
SFE_UBLOX_GNSS* gps;
Route* route = nullptr;
Point lastPoint;