ardupilot/libraries/AP_Terrain
Peter Barker 4c674b64fb AP_Terrain: correct wait-for-terrain prearm check
looking at pending is insufficient as we may have more mission items to check to see if they need other pieces of terrain.  That is, terr_pending can go to zero momentarily and then go back to a non-zero number as Terrain's update method checks the mission and rally libraries for more terrain requirements.

Without this patch the prearm checks can momentarily pass, allowing the vehicle to arm.  The vehicle could hit a terrain failsafe later if it doesn't manage to get the data while in flight.
2022-08-09 14:31:14 +10:00
..
tools AP_Terrain: added a TERRAIN_MARGIN parameter 2021-08-22 20:32:46 +10:00
AP_Terrain.cpp AP_Terrain: correct wait-for-terrain prearm check 2022-08-09 14:31:14 +10:00
AP_Terrain.h AP_Terrain: correct wait-for-terrain prearm check 2022-08-09 14:31:14 +10:00
TerrainGCS.cpp AP_Terrain: removed terrain home correction 2022-03-10 07:34:20 +11:00
TerrainIO.cpp AP_Terrain: added terrain reference adjustment 2022-03-28 16:01:21 +11:00
TerrainMission.cpp AP_Terrain: removed terrain home correction 2022-03-10 07:34:20 +11:00
TerrainUtil.cpp AP_Terrain: fixed bug in disk offset calculation 2020-05-05 11:21:33 +10:00