mirror of https://github.com/ArduPilot/ardupilot
73c5234633
instead of computing the terrain status on-demand, assign it in update() and cache the result. Then external tasks that check the status won't be doing terrain intensive calculations in their thread. All the calculations needed for the status were being performed in update already so this is an optimization. |
||
---|---|---|
.. | ||
AP_Terrain.cpp | ||
AP_Terrain.h | ||
TerrainGCS.cpp | ||
TerrainIO.cpp | ||
TerrainMission.cpp | ||
TerrainUtil.cpp |