Browse Source

AP_Terrain: added note on CPU cost of height_amsl()

mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
af4dee39d8
  1. 2
      libraries/AP_Terrain/AP_Terrain.cpp

2
libraries/AP_Terrain/AP_Terrain.cpp

@ -80,6 +80,8 @@ AP_Terrain::AP_Terrain(AP_AHRS &_ahrs, const AP_Mission &_mission, const AP_Rall @@ -80,6 +80,8 @@ AP_Terrain::AP_Terrain(AP_AHRS &_ahrs, const AP_Mission &_mission, const AP_Rall
This is the base function that other height calculations are derived
from. The functions below are more convenient for most uses
This function costs about 20 microseconds on Pixhawk
*/
bool AP_Terrain::height_amsl(const Location &loc, float &height)
{

Loading…
Cancel
Save