bauen klappt wieder, navigation ist kaputt, todo: und fixme: beachten!
This commit is contained in:
@@ -39,7 +39,8 @@ Navigation::~Navigation() {
|
||||
}
|
||||
|
||||
void Navigation::loop() {
|
||||
this->gps->checkUbloxI2C();
|
||||
//FIXME: Hier sollte funktion zum aktualisieren des GPS Moduls stehen
|
||||
//this->gps->checkUbloxI2C();
|
||||
}
|
||||
|
||||
void Navigation::newRoute() {
|
||||
@@ -76,7 +77,9 @@ CourseCorrection Navigation::getCourseCorrection() {
|
||||
}
|
||||
}
|
||||
|
||||
double currentCourse = this->gps->course.deg();
|
||||
//FIXME: next line
|
||||
double currentCourse = 0;
|
||||
//double currentCourse = this->gps->course.deg();
|
||||
int16_t correction = currentCourse - targetCourse;
|
||||
if (correction > 180)
|
||||
correction -= 360;
|
||||
|
||||
Reference in New Issue
Block a user