Sorry I cannot help you much since the Paparazzi I use is not up-to-date.
------------------------------------------------------------------
Austin Jensen, Research Engineer
Utah Water Research Laboratory (UWRL)
Utah State University, 8200 Old Main Hill
Logan, UT, 84322-8200, USA
W:
http://aggieair.usu.edu
E:
address@hidden
T: (435)797-3315
On Wed, Mar 2, 2011 at 1:49 PM, Reto Büttner
<address@hidden> wrote:
Hi guys,
I fail to compile the advanced navigation routine "Flower" in OSAMNav.
I have read the wiki:
http://paparazzi.enac.fr/wiki/Advanced_Navigation_Routines#OSAM_Team_Navigation_Routines
The following line is in my airframe file:
<subsystem name="navigation" type="extra"/>
The following waypoints are defined:
<waypoint lat="47.275050" lon="8.636136" name="WP_Center"/>
<waypoint lat="47.274185" lon="8.636175" name="WP_Edge"/>
The routine is called in the flight plan:
<block group="near" name="Flower" strip_button="Flower"
strip_icon="lookdown.png">
<call fun="InitializeFlower(WP_Center,WP_Edge)"/>
<call fun="FlowerNav()"/>
</block>
I get the following errors:
In file included from subsystems/nav.c:260:
/home/reto/paparazzi/var/EHAWK/generated/flight_plan.h: In function ‘auto_nav’:
/home/reto/paparazzi/var/EHAWK/generated/flight_plan.h:475: error:
‘WP_Center’ undeclared (first use in this function)
/home/reto/paparazzi/var/EHAWK/generated/flight_plan.h:475: error:
(Each undeclared identifier is reported only once
/home/reto/papar
Adding an include to the flight plan does not help:
#include "../subsystems/navigation/OSAMNav.h"
I guess the wiki on this topic is a bit outdated since the code
reorganisation August 2010.
Has someone successfully used the advanced navigation routines since?
Cheers, Reto
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel