[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] OSAM Navigation Flower
From: |
Reto Büttner |
Subject: |
Re: [Paparazzi-devel] OSAM Navigation Flower |
Date: |
Thu, 3 Mar 2011 10:42:19 +0100 |
Hi all,
thanks for your answers.
I have actually already tried all your described variants of the #include.
If the path is not correct, I get a "file not found" error.
If the path is correct, I get the described "waypoint undeclared" error.
I can try once more this evening.
Am I correct that in the airframe file no #include is needed, but this
is done by the statement:
<subsystem name="navigation" type="extra"/>
Would it help to reload anything from git or recompile the whole
paparazzi directory? My latest update from git was about a month ago.
Cheers, Reto
2011/3/3 Felix Ruess <address@hidden>:
> Hi Reto,
>
> all includes should be relative to sw/airborne.
> So it should be
> #include "subsystems/navigation/OSAMNav.h"
> and NOT
> #include "../subsystems/navigation/OSAMNav.h"
>
> Cheers, Felix
>
> On Thu, Mar 3, 2011 at 8:48 AM, <address@hidden> wrote:
>> 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
>>
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>