paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] video plugin help needed


From: Chris
Subject: [Paparazzi-devel] video plugin help needed
Date: Wed, 05 Oct 2011 12:13:12 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15

Hi.
I am having problems making the video plugin work lately.
I had made it work in the past but i think i have lost the information on how i did it.
The command line is there in the control_panel.xml
<program name="comp_video" command="sw/ground_segment/cockpit/gcs -mplayer 'tv:// -tv driver=v4l2:width=320:height=240:norm=PAL:input=1:device=/dev/video1:noaudio'"/> You can see that i am using the composite video input from an Avermedia dvb-t card which works fine
when the above command is typed in a terminal window.
Now when i run GCS i get a "fatal error" :
Fatal error: exception Failure("Error: "plugin" widget required in layout description")

From what i can see the "plugin" widget is declared in the layout xml file or am i wrong?
Any help welcomed.
Here is the file contents:
<layout width="1493" height="768">
<rows>
<widget NAME="map2d" SIZE="480">
<papget type="message_field" display="text" x="1415" y="375">
<property name="scale" value="1."/>
<property name="field" value="MAXSONAR:distance"/>
<property name="format" value="%.2f"/>
<property name="size" value="40."/>
<property name="color" value="green"/>
</papget>
<papget type="message_field" display="text" x="26" y="406">
<property name="scale" value="1."/>
<property name="field" value="BAT:energy"/>
<property name="format" value="%.0f mah"/>
<property name="size" value="25."/>
<property name="color" value="green"/>
</papget>
<papget type="message_field" display="text" x="18" y="219">
<property name="scale" value="1"/>
<property name="field" value="CAM_POINT:cam_point_distance_from_home"/>
<property name="format" value="m %.0f"/>
<property name="size" value="30."/>
<property name="color" value="green"/>
</papget>
<papget type="message_field" display="text" x="22" y="137">
<property name="scale" value="1"/>
<property name="field" value="CAM_POINT:cam_point_lat"/>
<property name="format" value="lat %.5f"/>
<property name="size" value="25."/>
<property name="color" value="green"/>
</papget>
<papget type="message_field" display="text" x="27" y="366">
<property name="scale" value="1."/>
<property name="field" value="ENERGY:amp"/>
<property name="format" value="%.2f A"/>
<property name="size" value="25."/>
<property name="color" value="green"/>
</papget>
<papget type="message_field" display="text" x="15" y="179">
<property name="scale" value="1"/>
<property name="field" value="CAM_POINT:cam_point_lon"/>
<property name="format" value="lon %.5f"/>
<property name="size" value="25."/>
<property name="color" value="green"/>
</papget>
</widget>
<columns>
<rows SIZE="500">
<widget NAME="strips" SIZE="230"/>
<widget NAME="alarms" SIZE="200"/>
</rows>
<rows SIZE="500">
<widget NAME="aircraft" SIZE="300"/>
</rows>
<rows SIZE="350">
<widget NAME="plugin" SIZE="300"/>
</rows>
</columns>
</rows>
</layout>




reply via email to

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