driveManager gets now the object

This commit is contained in:
2023-09-04 15:25:56 +02:00
parent 6a76470f45
commit befbd898cc
23 changed files with 63 additions and 156 deletions
@@ -27,13 +27,7 @@
*/
class CaptureRoute : public ManualControl {
public:
/**
* @brief Construct a new Capture Route object
*
* @param moveControl for ManualControl
* @param navigation to add Points
*/
CaptureRoute(DriveModiParams params, Navigation* navigation);
CaptureRoute();
/**
* @brief Destroy the Capture Route object
@@ -56,6 +50,7 @@ class CaptureRoute : public ManualControl {
*/
RouteInfo getRouteInfo() const { return this->routeInfo; }
Navigation::Status getLastStatus() const { return this->status; }
Navigation* getNavigation() const { return this->navigation; }
/**
* @brief Get the distance to the last saved oint