Files
Bachelorarbeit-Rover/lib/Navigation/navigation.h
T
2022-01-31 21:12:11 +01:00

33 lines
545 B
C++

/**
* @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 <TinyGPS++.h>
#include <Arduino.h>
#include "route.h"
class Navigation {
public:
Navigation(uint8_t rx, uint8_t tx);
void loop();
void addCurrentPosToRoute();
TinyGPSPlus* getGPS() { return this->gps; }
private:
TinyGPSPlus* gps;
Route* route;
};
#endif // NAVIGATION_H