ntrip, testMode, zed9 gnss modul
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "route.h"
|
||||
#include "navigationUtils.h"
|
||||
#include "NTRIPClient.h"
|
||||
|
||||
/**
|
||||
* @brief The minimal distance between Points
|
||||
@@ -64,6 +65,17 @@ class Navigation {
|
||||
*/
|
||||
~Navigation();
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param host
|
||||
* @param port
|
||||
* @param mountPoint
|
||||
* @param user
|
||||
* @param password
|
||||
*/
|
||||
void initNtrip(String host, uint16_t port, String mountPoint, String user, String password);
|
||||
|
||||
/**
|
||||
* @brief Decodes new GPS information
|
||||
*
|
||||
@@ -169,12 +181,23 @@ class Navigation {
|
||||
|
||||
SFE_UBLOX_GNSS* gps;
|
||||
Route* route = nullptr;
|
||||
NTRIPClient* ntripClient = nullptr;
|
||||
|
||||
Point lastPoint;
|
||||
Point targetPoint;
|
||||
|
||||
bool navigationStarted = false;
|
||||
bool navigationFinished = false;
|
||||
bool isNtripInit = false;
|
||||
|
||||
char* host;
|
||||
char* mountPoint;
|
||||
char* user;
|
||||
char* password;
|
||||
|
||||
uint8_t timeToWait = 5;
|
||||
uint16_t port;
|
||||
uint32_t lastMillis = 0;
|
||||
};
|
||||
|
||||
#endif // NAVIGATION_H
|
||||
|
||||
Reference in New Issue
Block a user