mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 00:23:33 +08:00
@@ -72,8 +72,8 @@ void FeasibilityChecker::reset()
|
||||
|
||||
_first_waypoint_found = false;
|
||||
|
||||
_last_lat = NAN;
|
||||
_last_lon = NAN;
|
||||
_last_lat = (double)NAN;
|
||||
_last_lon = (double)NAN;
|
||||
_last_cmd = -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -120,8 +120,8 @@ private:
|
||||
bool _first_waypoint_found{false};
|
||||
|
||||
// internal checkDistancesBetweenWaypoints variables
|
||||
double _last_lat{NAN};
|
||||
double _last_lon{NAN};
|
||||
double _last_lat{(double)NAN};
|
||||
double _last_lon{(double)NAN};
|
||||
int _last_cmd{-1};
|
||||
|
||||
void updateData();
|
||||
|
||||
Reference in New Issue
Block a user