WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

getAltitudeMeter

Returns the current altitude above sea level in metres.
If the longitude and latitude are thought of as x,y co-ordinates then this function returns the z
co-ordinate.
Syntax
Gps. getAltitudeMeter()
Where Gps is the name you have given to the device in Project Designer.
Parameters
None
Returns
double
See Also
isValid

 

 

Valid XHTML 1.0 Transitional