refactor all autopilot stuff

This commit is contained in:
2023-05-11 19:37:57 +02:00
parent 8945e5eb21
commit 6874aed6ed
5 changed files with 217 additions and 116 deletions
+4 -2
View File
@@ -114,9 +114,11 @@ class Navigation {
*
* This should be called by the driver to get new instructions.
*
* @return CourseCorrection
* @param correction passed as refernce to get the data
* @return true if new correction data provided
* @return false if route is finished
*/
CourseCorrection getCourseCorrection();
bool getCourseCorrection(CourseCorrection& correction);
/**
* @brief Tries to add the current Position to the route