paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] AGL and NavSetGroundReferenceHere()


From: Pascal Brisset
Subject: Re: [Paparazzi-devel] AGL and NavSetGroundReferenceHere()
Date: Sun, 09 Aug 2009 17:07:54 +0200
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

Hi,

what do you call AGL ?
- in the airborne code, NavSetGroundReferenceHere() sets ground_alt to the current altitude (common_nav.c:84). This variable is for example use in HOME mode (nav.c:370) or in the Takeoff and Final block of the basic.xml flight plan. - in the GCS, AGL is computed by subtracting the terrain altitude (from the SRTM model ... if the file is available in data/SRTM) from the current altitude

--Pascal

Martin P wrote:
I use a flight plan with goround_alt=0 (derived from basic.xml).
After calling NavSetGroundReferenceHere(), I would expect that the AGL is 0. Instead, it is the altitude above sea level. The GPS mode is 3D and the AGL varies within 3 or 4 meters. Is this the way it should be? Should I set the ground_alt to the actual altitude?

_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]