added correction data for gnss
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user