[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Problem compiling with PolygonSurvey
From: |
Gareth Roberts |
Subject: |
Re: [Paparazzi-devel] Problem compiling with PolygonSurvey |
Date: |
Sun, 22 Nov 2009 10:14:34 +0000 |
I've had that, I just commented out the subroutines I wasn't using.
Splitting them sounds like a good idea.
--G
On Sun, 2009-11-22 at 11:59 +1100, Bernard Davison wrote:
> G'Day,
>
> I've been playing with PolygonSurvey today and found that I get compile
> errors as follows.
> CC /home/ubuntu/paparazzi3/var/MYAC//sim/OSAMNav.o
> OSAMNav.c: In function 'InitizeBungeeTakeoff':
> OSAMNav.c: 161: eror: 'Takeoff_Distance' undeclared (first use in this
> function)
> OSAMNav.c: 161: eror: (each undeclared identifier is reported only once
> OSAMNav.c: 161: eror: for each function it appears in.)
> OSAMNav.c: In function 'BungeeTakeoff':
> OSAMNav.c: 214: error: 'Takeoff_Height' undeclared (first use in this
> function)
> OSAMNav.c: 214: error: 'Takeoff_MinSpeed'
>
> Looking at the way the code is used I think that it would be best to split it
> into three separate files.
> OSAMNav_Flower.c
> OSAMNav_Bungee.c
> OSAMNav_PolygonSurvey.c
>
> A patch for this change is attached.
> If this patch is applied I'll update the Advanced Nav page to match.
>
> Cheers,
> Bernie.
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel