AP_NavEKF2: Clarify intended use of setTerrainHgtStable accessor

This commit is contained in:
Paul Riseborough 2020-05-25 20:37:44 +10:00 committed by Randy Mackay
parent fca8d33c50
commit 502b96f49c
4 changed files with 8 additions and 4 deletions

View File

@ -1315,7 +1315,8 @@ void NavEKF2::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
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK2_RNG_AID_HGT and EK2_RNG_USE_SPD parameters.
void NavEKF2::setTerrainHgtStable(bool val)
{
if (core) {

View File

@ -245,7 +245,8 @@ 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
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK2_RNG_AID_HGT and EK2_RNG_USE_SPD parameters.
void setTerrainHgtStable(bool val);
/*

View File

@ -469,7 +469,8 @@ void NavEKF2_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
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK2_RNG_AID_HGT and EK2_RNG_USE_SPD parameters.
void NavEKF2_core::setTerrainHgtStable(bool val)
{
terrainHgtStableSet_ms = imuSampleTime_ms;

View File

@ -236,7 +236,8 @@ 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
// cannot be used as a height reference. Use to prevent range finder operation otherwise
// enabled by the combination of EK2_RNG_AID_HGT and EK2_RNG_USE_SPD parameters.
void setTerrainHgtStable(bool val);
/*