[Top][All Lists]

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

[Paparazzi-devel] OSAM Navigation Flower

From: Reto Büttner
Subject: [Paparazzi-devel] OSAM Navigation Flower
Date: Wed, 2 Mar 2011 21:49:49 +0100

Hi guys,

I fail to compile the advanced navigation routine "Flower" in OSAMNav.

I have read the wiki:

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"
      <call fun="InitializeFlower(WP_Center,WP_Edge)"/>
      <call fun="FlowerNav()"/>

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

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

reply via email to

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