a lot of bullshit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "driveModi/Modi/Autopilot/autopilot.h"
|
||||
|
||||
Autopilot::Autopilot() {
|
||||
this->debug = new DebugMqtt("Autopilot");
|
||||
}
|
||||
|
||||
void Autopilot::init(Route *route, MoveControl *moveControl) {
|
||||
this->route = route;
|
||||
this->moveControl = moveControl;
|
||||
}
|
||||
|
||||
void Autopilot::runAutopilot() {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
#ifndef AUTOPILOT_H
|
||||
#define AUTOPILOT_H
|
||||
|
||||
#include <TinyGPS++.h>
|
||||
|
||||
#include "route.h"
|
||||
#include "moveControl.h"
|
||||
#include "debugMqtt.h"
|
||||
#include "driveModi/driveModi.h"
|
||||
|
||||
class Autopilot : DriveModi{
|
||||
public:
|
||||
Autopilot();
|
||||
|
||||
void init(Route *route, MoveControl *moveControl);
|
||||
void loop();
|
||||
void runAutopilot();
|
||||
|
||||
|
||||
private:
|
||||
Route *route;
|
||||
MoveControl *moveControl;
|
||||
DebugMqtt *debug;
|
||||
|
||||
};
|
||||
|
||||
#endif // AUTOPILOT_H
|
||||
Reference in New Issue
Block a user