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
_______________________________________________