- added data validation in calibrate compass

- activatre auto load calibration data
- give possibility to force update in navigation getCourseCorrection
- added drive mode for compass calibration
- removed compass calibration manualControl
This commit is contained in:
2023-05-31 12:48:41 +02:00
parent e0d6853961
commit 38c8a58988
10 changed files with 263 additions and 71 deletions
+2 -2
View File
@@ -131,7 +131,7 @@ class Navigation {
* @return true if new correction data provided
* @return false if route is finished
*/
Status getCourseCorrection(CourseCorrection& correction);
Status getCourseCorrection(CourseCorrection& correction, bool forceUpdate = false);
/**
* @brief Tries to add the current Position to the route
@@ -197,7 +197,7 @@ class Navigation {
private:
void updateCurrentLocation();
int16_t calculateCourseCorrection();
int16_t calculateCourseCorrection(Point& point);
/**
* @brief Set the next point as target