mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
4c674b64fb
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. |
||
---|---|---|
.. | ||
tools | ||
AP_Terrain.cpp | ||
AP_Terrain.h | ||
TerrainGCS.cpp | ||
TerrainIO.cpp | ||
TerrainMission.cpp | ||
TerrainUtil.cpp |