bauen klappt wieder, navigation ist kaputt, todo: und fixme: beachten!
This commit is contained in:
@@ -8,3 +8,33 @@
|
||||
* @copyright Copyright (c) 2022
|
||||
*
|
||||
*/
|
||||
|
||||
#include "navigationUtils.h"
|
||||
|
||||
double NavigationUtils::getCurrentCourse(Point p1) {
|
||||
//TODO: write it!!!
|
||||
return 0;
|
||||
}
|
||||
|
||||
void NavigationUtils::setLastPoint(Point p1) {
|
||||
this->lastPoint = p1;
|
||||
}
|
||||
|
||||
|
||||
double NavigationUtils::courseTo(Point p1, Point p2) {
|
||||
//TODO: write it!!!
|
||||
return 0;
|
||||
}
|
||||
|
||||
double NavigationUtils::courseTo(double lat1, double lon1, double lat2, double lon2) {
|
||||
return NavigationUtils::courseTo(Point(lat1, lon1), Point(lat2, lon2));
|
||||
}
|
||||
|
||||
double NavigationUtils::distanceBetween(Point p1, Point p2) {
|
||||
//TODO: write it!!!
|
||||
return 0;
|
||||
}
|
||||
|
||||
double NavigationUtils::distanceBetween(double lat1, double lon1, double lat2, double lon2) {
|
||||
return NavigationUtils::distanceBetween(Point(lat1, lon1), Point(lat2, lon2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user