added restart to autopilot menu and

disable autopilot by pressing the actionbutton
This commit is contained in:
2023-05-23 20:39:47 +02:00
parent d4045dff4b
commit ca8d9bb963
4 changed files with 62 additions and 18 deletions
+3
View File
@@ -76,6 +76,8 @@ class Autopilot : public ManualControl {
*/
void runAutopilot();
void restart();
/**
* @brief Get the Route Info object
*
@@ -106,6 +108,7 @@ class Autopilot : public ManualControl {
bool shouldUpdate();
private:
void init();
void checkNtrip();
void setSpeedInRelToDistance(double distance);
void setRotInRelToDistance(int16_t course);