zwischenstand, ich habe Lust mache jetzt weiter :)

This commit is contained in:
2022-01-12 15:21:53 +01:00
parent 29a636060c
commit be6f20d96b
10 changed files with 181 additions and 118 deletions
+33
View File
@@ -0,0 +1,33 @@
/**
* @file navigation.h
* @author Alexander Klein (alex@kleiax.de)
* @brief
* @version 0.1
* @date 2022-01-10
*
* @copyright Copyright (c) 2022
*
*/
#ifndef NAVIGATION_H
#define NAVIGATION_H
#include <Arduino.h>
#include "coordinate.h"
class Navigation {
public:
Navigation(uint32_t baud, uint8_t rx, uint8_t tx);
void addCoordinateToRoute(Coordinate coordinate);
void addCurrentCoordinateToRoute();
void delRoute();
double getDistanceToLastCoordinate();
private:
Coordinate *lastCoordinate;
};
#endif // NAVIGATION_H