|
|
|
@ -115,23 +115,19 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
@@ -115,23 +115,19 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
|
|
|
|
|
altitudeAMSL(0.0), |
|
|
|
|
altitudeRelative(0.0), |
|
|
|
|
|
|
|
|
|
airSpeed(std::numeric_limits<double>::quiet_NaN()), |
|
|
|
|
groundSpeed(std::numeric_limits<double>::quiet_NaN()), |
|
|
|
|
globalEstimatorActive(false), |
|
|
|
|
|
|
|
|
|
latitude_gps(0.0), |
|
|
|
|
longitude_gps(0.0), |
|
|
|
|
altitude_gps(0.0), |
|
|
|
|
|
|
|
|
|
speedX(0.0), |
|
|
|
|
speedY(0.0), |
|
|
|
|
speedZ(0.0), |
|
|
|
|
|
|
|
|
|
globalEstimatorActive(false), |
|
|
|
|
latitude_gps(0.0), |
|
|
|
|
longitude_gps(0.0), |
|
|
|
|
altitude_gps(0.0), |
|
|
|
|
nedPosGlobalOffset(0,0,0), |
|
|
|
|
nedAttGlobalOffset(0,0,0), |
|
|
|
|
|
|
|
|
|
waypointManager(this), |
|
|
|
|
paramMgr(this), |
|
|
|
|
|
|
|
|
|
#if defined(QGC_PROTOBUF_ENABLED) && defined(QGC_USE_PIXHAWK_MESSAGES) |
|
|
|
|
receivedOverlayTimestamp(0.0), |
|
|
|
|
receivedObstacleListTimestamp(0.0), |
|
|
|
@ -140,6 +136,10 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
@@ -140,6 +136,10 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
|
|
|
|
|
receivedRGBDImageTimestamp(0.0), |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
airSpeed(std::numeric_limits<double>::quiet_NaN()), |
|
|
|
|
groundSpeed(std::numeric_limits<double>::quiet_NaN()), |
|
|
|
|
waypointManager(this), |
|
|
|
|
|
|
|
|
|
attitudeKnown(false), |
|
|
|
|
attitudeStamped(false), |
|
|
|
|
lastAttitude(0), |
|
|
|
@ -148,7 +148,12 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
@@ -148,7 +148,12 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
|
|
|
|
|
pitch(0.0), |
|
|
|
|
yaw(0.0), |
|
|
|
|
|
|
|
|
|
blockHomePositionChanges(false), |
|
|
|
|
receivedMode(false), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
paramsOnceRequested(false), |
|
|
|
|
paramMgr(this), |
|
|
|
|
simulation(0), |
|
|
|
|
|
|
|
|
|
// The protected members.
|
|
|
|
@ -159,9 +164,7 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
@@ -159,9 +164,7 @@ UAS::UAS(MAVLinkProtocol* protocol, int id) : UASInterface(),
|
|
|
|
|
hilEnabled(false), |
|
|
|
|
sensorHil(false), |
|
|
|
|
lastSendTimeGPS(0), |
|
|
|
|
lastSendTimeSensors(0), |
|
|
|
|
blockHomePositionChanges(false), |
|
|
|
|
receivedMode(false) |
|
|
|
|
lastSendTimeSensors(0) |
|
|
|
|
{ |
|
|
|
|
for (unsigned int i = 0; i<255;++i) |
|
|
|
|
{ |
|
|
|
|