paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: Guillaume Sanchez
Subject: [Paparazzi-devel] Re: CAM_MODE in flightplan missing in DTD
Date: Mon, 13 Oct 2008 18:37:00 +0200

In addition,

When I generate the code of the flightplan, there is nothing about
managing the camera.

I add a look at the sw/tools/gen_flightplan.ml code, but I cannot see
anything related to the management of a camera. And I cannot see any
calls in flightplan.h for the cam functions.

Is it possible to have more details how the code to move the camera is
generated?

Thanks



> 
> Hello,
> 
> I tried to make a flight plan with some command for a camera based on
> the example given in the wiki:
> 
> <blocks>
>     <block name="see 1">
>       <circle target="1" wp="HOME" cam_mode="target" alt="GROUND_ALT+50" 
> radius="75"/>
>     </block>
>     <block name="nadir">
>       <circle wp="HOME" cam_mode="nadir" alt="GROUND_ALT+50" radius="75"/>
>     </block>
>   </blocks>
> 
> When building the software to upload to the autopilot in the Paparazzi 
> center, I have some exception:
> 
> Exception.Dtd.Prove_error(Dtd.UnexceptedAttribute "TARGET").
> 
> 
> And, effectivily, in the flightplan.dtd there is no TARGET attribute
> (and CAM_MODE attribute) for the circle tag.
> 
> If I modify the flightplan.dtd, by adding these attributes to the circle
> tag, there are no longer error, and I can build successfully.
> 
> 
> But, I wonder, if this is the good way to do it: modify the dtd by
> adding the cam_mode and target attribute to all the navigation tags ?
> 
> Thanks for your support,
> 
> Guillaume
> 







reply via email to

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