ntrip, testMode, zed9 gnss modul

This commit is contained in:
2022-09-13 20:31:52 +02:00
parent c7cb0d3895
commit af6cb98898
43 changed files with 907 additions and 262 deletions
+23
View File
@@ -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