mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 16:23:56 -04:00
AP_NavEKF2: Clarify intended use of setTerrainHgtStable accessor
This commit is contained in:
parent
fca8d33c50
commit
502b96f49c
@ -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) {
|
||||
|
@ -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);
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user