paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Re: CAM_MODE in flightplan missing in DTD


From: Todd Sandercock
Subject: Re: [Paparazzi-devel] Re: CAM_MODE in flightplan missing in DTD
Date: Thu, 16 Oct 2008 22:39:41 -0700 (PDT)

Hey pascal

I have been playing and got things to work and can change things by writing in the flight plan but when i include the cam settings it doesn't work. I tried your example below and all i get is this:
datalink.c: In function ‘dl_parse_msg’:
datalink.c:139: error: ‘cam_mode’ undeclared (first use in this function)
datalink.c:139: error: (Each undeclared identifier is reported only once
datalink.c:139: error: for each function it appears in.)
datalink.c:139: error: ‘cam_tilt_c’ undeclared (first use in this f

todd

----- Original Message ----
From: Pascal Brisset <address@hidden>
To: address@hidden
Sent: Thursday, 16 October, 2008 8:00:32 AM
Subject: Re: [Paparazzi-devel] Re: CAM_MODE in flightplan missing in DTD

Sorry, with a fresh cvs extration, with the following configuration
(conf.xml written by the Paparazzi Center)

  <aircraft
  name="SC1"
  ac_id="1"
  airframe="airframes/slicer1.xml"
  radio="radios/cockpitSX.xml"
  telemetry="telemetry/default.xml"
  flight_plan="flight_plans/basic.xml"
  settings="settings/basic.xml settings/cam.xml"
  gui_color="blue"
  />

the simulation compiles and runs correctly.

I would like to help ...

--Pascal

Todd Sandercock wrote:
> Thats the same problem i get.
>
> ----- Original Message ----
> From: Uttam Chandrashekhar <address@hidden>
> To: address@hidden
> Sent: Wednesday, 15 October, 2008 3:42:38 PM
> Subject: Re: [Paparazzi-devel] Re: CAM_MODE in flightplan missing in DTD
>
> Hi Pascal,
>
> I tried building with target=ap, and it worked! It still gives me
> errors when I select the target as Sim :( I'm using slicer1.xml like
> you suggested.
>
> Thanks,
> -Uttam
>
>
> ----- Original Message ----
> From: Pascal Brisset <address@hidden>
> To: Todd Sandercock <address@hidden>;
> address@hidden
> Sent: Tuesday, 14 October, 2008 11:04:44 PM
> Subject: Re: [Paparazzi-devel] Re: CAM_MODE in flightplan missing in DTD
>
> Todd Sandercock wrote:
> > There seems to be a problem with the sim, not the cam code. I found
> > this in one of the aircraft files:
> > ap.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_PITCH
> > ap.srcs += point.c cam.c
> These flags and the extra C source file must also be defined for the
> sim target. Example in slicer1.xml airframe file:
>
> sim.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_PITCH_ROLL
> sim.srcs += cam.c point.c traffic_info.c
>
> The cam_mode values are described in sw/airborne/cam.h
>
> --Pascal
>
>
>
> ------------------------------------------------------------------------
> Be the first one to try the new Messenger 9 Beta! Click here.
> <http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/win/>
>
> ------------------------------------------------------------------------
> Make the switch to the world's best email. Get Yahoo!7 Mail
> <http://au.rd.yahoo.com/mail/taglines/au/mail/default/*http://au.yahoo.com/y7mail>.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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


Make the switch to the world's best email. Get Yahoo!7 Mail.
reply via email to

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