Browse Source

AP_NavEKF3: minor comment fix re RNG_USE_HGT

c415-sdk
Randy Mackay 5 years ago
parent
commit
dccc3e22d9
  1. 2
      libraries/AP_NavEKF3/AP_NavEKF3.cpp
  2. 2
      libraries/AP_NavEKF3/AP_NavEKF3.h
  3. 2
      libraries/AP_NavEKF3/AP_NavEKF3_VehicleStatus.cpp
  4. 2
      libraries/AP_NavEKF3/AP_NavEKF3_core.h

2
libraries/AP_NavEKF3/AP_NavEKF3.cpp

@ -1464,7 +1464,7 @@ void NavEKF3::setTouchdownExpected(bool val) @@ -1464,7 +1464,7 @@ void NavEKF3::setTouchdownExpected(bool val)
// Set to true if the terrain underneath is stable enough to be used as a height reference
// in combination with a range finder. Set to false if the terrain underneath the vehicle
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK3_RNG_AID_HGT and EK3_RNG_USE_SPD parameters.
// enabled by the combination of EK3_RNG_USE_HGT and EK3_RNG_USE_SPD parameters.
void NavEKF3::setTerrainHgtStable(bool val)
{
if (core) {

2
libraries/AP_NavEKF3/AP_NavEKF3.h

@ -317,7 +317,7 @@ public: @@ -317,7 +317,7 @@ public:
// Set to true if the terrain underneath is stable enough to be used as a height reference
// in combination with a range finder. Set to false if the terrain underneath the vehicle
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK3_RNG_AID_HGT and EK3_RNG_USE_SPD parameters.
// enabled by the combination of EK3_RNG_USE_HGT and EK3_RNG_USE_SPD parameters.
void setTerrainHgtStable(bool val);
/*

2
libraries/AP_NavEKF3/AP_NavEKF3_VehicleStatus.cpp

@ -467,7 +467,7 @@ void NavEKF3_core::setTouchdownExpected(bool val) @@ -467,7 +467,7 @@ void NavEKF3_core::setTouchdownExpected(bool val)
// Set to true if the terrain underneath is stable enough to be used as a height reference
// in combination with a range finder. Set to false if the terrain underneath the vehicle
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK3_RNG_AID_HGT and EK3_RNG_USE_SPD parameters.
// enabled by the combination of EK3_RNG_USE_HGT and EK3_RNG_USE_SPD parameters.
void NavEKF3_core::setTerrainHgtStable(bool val)
{
terrainHgtStableSet_ms = imuSampleTime_ms;

2
libraries/AP_NavEKF3/AP_NavEKF3_core.h

@ -326,7 +326,7 @@ public: @@ -326,7 +326,7 @@ public:
// Set to true if the terrain underneath is stable enough to be used as a height reference
// in combination with a range finder. Set to false if the terrain underneath the vehicle
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK3_RNG_AID_HGT and EK3_RNG_USE_SPD parameters.
// enabled by the combination of EK3_RNG_USE_HGT and EK3_RNG_USE_SPD parameters.
void setTerrainHgtStable(bool val);
/*

Loading…
Cancel
Save