AP_Terrain: added note on CPU cost of height_amsl()

This commit is contained in:
Andrew Tridgell 2014-08-07 09:51:14 +10:00
parent 9184e47f84
commit af4dee39d8
1 changed files with 2 additions and 0 deletions

View File

@ -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 This is the base function that other height calculations are derived
from. The functions below are more convenient for most uses 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) bool AP_Terrain::height_amsl(const Location &loc, float &height)
{ {