paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] flight plan


From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] flight plan
Date: Wed, 12 Feb 2014 15:09:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

Hi

Assuming you're flying with a fixedwing aircraft, the navigation code is in sw/airborne/subsystems/nav.c, sw/airborne/subsystems/nav.h and sw/airborne/subsystems/navigation folder.

To set a waypoint at your current position, there is already a function for this: NavSetWaypointHere(<your waypoint here>). You can find an example in basic.xml flight plan with the block named MOB.

Gautier

Le 12/02/2014 09:57, Anant M. Khadkikar a écrit :
Dear all,

Currently I am dealing with the subject flight plan and the possibilities. Sure there are a lot of examples, but specific functions are described only very superficially. Could anyone of you tell where can I find the corresponding source code so I can get into this on my own? 

Is it possible to save the current position in a way point and then circle around this? I thought with GetPosX(), GetPosY() and set, maybe it could be. The background is that the aircraft once it enters a particular sector, it should just to circle around this point.

Thank You, have a nice day…

Anant


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


reply via email to

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