mirror of https://github.com/ArduPilot/ardupilot
AP_Terrain: added note on CPU cost of height_amsl()
This commit is contained in:
parent
9184e47f84
commit
af4dee39d8
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue