paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] CAM_MODE in flightplan missing in DTD


From: Guillaume Sanchez
Subject: [Paparazzi-devel] CAM_MODE in flightplan missing in DTD
Date: Sun, 12 Oct 2008 11:46:41 +0200

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]