paparazzi-devel
[Top][All Lists]
Advanced

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

RE: [Paparazzi-devel] OSAM Navigation Flower


From: mark.griffin
Subject: RE: [Paparazzi-devel] OSAM Navigation Flower
Date: Thu, 3 Mar 2011 08:48:53 +0100

Hi Reto,

In the header of the flight plan, did you include:

#include "OSAMNav.h"

 

I think that this will fix your problem.

Cheer, Mark

 

From: address@hidden [mailto:address@hidden On Behalf Of Austin Jensen
Sent: Thursday, 3 March 2011 12:48 AM
To: address@hidden
Subject: Re: [Paparazzi-devel] OSAM Navigation Flower

 

It does look like the file is not getting included for some reason.

 

Sorry I cannot help you much since the Paparazzi I use is not up-to-date.

 

Austin


------------------------------------------------------------------
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

 


reply via email to

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