1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-109 extract Windows specific gadget configurations to defaults_windows.xml

This commit is contained in:
Philippe Renon 2017-09-12 22:15:21 +02:00
parent f78d161dc3
commit 1e4c9d4009
2 changed files with 139 additions and 131 deletions

View File

@ -1665,31 +1665,6 @@
<backgroundImageFile>%%DATAPATH%%backgrounds/default_background.png</backgroundImageFile>
</data>
</PFD__PCT__20__PCT__28ArcGis__PCT__29>
<PFD__PCT__20__PCT__28Video__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<qmlFile>%%DATAPATH%%qml/PfdVideo.qml</qmlFile>
<altitudeFactor>1</altitudeFactor>
<speedFactor>1</speedFactor>
<terrainEnabled>true</terrainEnabled>
<earthFile>%%DATAPATH%%osgearth/arcgis.earth</earthFile>
<cacheOnly>false</cacheOnly>
<latitude>39.6576</latitude>
<longitude>19.8046</longitude>
<altitude>90</altitude>
<timeMode>0</timeMode>
<dateTime>@Variant(AAAAEAAlfhEClAez/w==)</dateTime>
<minAmbientLight>0.50</minAmbientLight>
<modelEnabled>false</modelEnabled>
<modelSelectionMode>1</modelSelectionMode>
<modelFile>%%DATAPATH%%models/multi/test_quad/test_quad_x.3ds</modelFile>
<backgroundImageFile>%%DATAPATH%%backgrounds/default_background.png</backgroundImageFile>
<gstPipeline>ksvideosrc device-index=0 ! videoconvert ! video/x-raw,format=RGB ! appsink name=sink emit-signals=true</gstPipeline>
</data>
</PFD__PCT__20__PCT__28Video__PCT__29>
<Model__PCT__20View>
<configInfo>
<locked>false</locked>
@ -2825,112 +2800,6 @@
<respectAspectRatio>false</respectAspectRatio>
</data>
</Default>
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true ! tee name=t
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! videoconvert ! x264enc interlaced=true pass=quant quantizer=0 speed-preset=ultrafast byte-stream=true ! mpegpsmux ! filesink location=capture_fast.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true ! tee name=t
t. ! queue ! timeoverlay ! autovideosink
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<Screen__PCT__20-__PCT__20Play__PCT__20__PCT__28640x480__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true x=0 y=0 width=640 height=480 ! autovideosink</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>false</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Play__PCT__20__PCT__28640x480__PCT__29>
<Screen__PCT__20-__PCT__20Play>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>true</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true ! autovideosink</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>false</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Play>
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>ksvideosrc device-index=0 ! tee name=t
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! videoconvert ! x264enc interlaced=true pass=quant quantizer=0 speed-preset=ultrafast byte-stream=true ! mpegpsmux ! filesink location=capture_fast.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>ksvideosrc device-index=0 ! tee name=t
t. ! queue ! timeoverlay ! autovideosink
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<USB__PCT__20Camera__PCT__20-__PCT__20Play>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>true</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>ksvideosrc device-index=0 ! autovideosink</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>false</respectAspectRatio>
</data>
</USB__PCT__20Camera__PCT__20-__PCT__20Play>
</VideoGadget>
<configInfo>
<locked>false</locked>

View File

@ -0,0 +1,139 @@
<gcs>
<UAVGadgetConfigurations>
<PfdQmlGadget>
<PFD__PCT__20__PCT__28Video__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<qmlFile>%%DATAPATH%%qml/PfdVideo.qml</qmlFile>
<altitudeFactor>1</altitudeFactor>
<speedFactor>1</speedFactor>
<terrainEnabled>true</terrainEnabled>
<earthFile>%%DATAPATH%%osgearth/arcgis.earth</earthFile>
<cacheOnly>false</cacheOnly>
<latitude>39.6576</latitude>
<longitude>19.8046</longitude>
<altitude>90</altitude>
<timeMode>0</timeMode>
<dateTime>@Variant(AAAAEAAlfhEClAez/w==)</dateTime>
<minAmbientLight>0.50</minAmbientLight>
<modelEnabled>false</modelEnabled>
<modelSelectionMode>1</modelSelectionMode>
<modelFile>%%DATAPATH%%models/multi/test_quad/test_quad_x.3ds</modelFile>
<backgroundImageFile>%%DATAPATH%%backgrounds/default_background.png</backgroundImageFile>
<gstPipeline>ksvideosrc device-index=0 ! videoconvert ! video/x-raw,format=RGB ! appsink name=sink emit-signals=true</gstPipeline>
</data>
</PFD__PCT__20__PCT__28Video__PCT__29>
</PfdQmlGadget>
<VideoGadget>
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true ! tee name=t
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! videoconvert ! x264enc interlaced=true pass=quant quantizer=0 speed-preset=ultrafast byte-stream=true ! mpegpsmux ! filesink location=capture_fast.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true ! tee name=t
t. ! queue ! timeoverlay ! autovideosink
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<Screen__PCT__20-__PCT__20Play__PCT__20__PCT__28640x480__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true x=0 y=0 width=640 height=480 ! autovideosink</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>false</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Play__PCT__20__PCT__28640x480__PCT__29>
<Screen__PCT__20-__PCT__20Play>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>true</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>dx9screencapsrc monitor=0 cursor=true ! autovideosink</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>false</respectAspectRatio>
</data>
</Screen__PCT__20-__PCT__20Play>
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>ksvideosrc device-index=0 ! tee name=t
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! videoconvert ! x264enc interlaced=true pass=quant quantizer=0 speed-preset=ultrafast byte-stream=true ! mpegpsmux ! filesink location=capture_fast.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>false</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>ksvideosrc device-index=0 ! tee name=t
t. ! queue ! timeoverlay ! autovideosink
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>true</respectAspectRatio>
</data>
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
<USB__PCT__20Camera__PCT__20-__PCT__20Play>
<configInfo>
<locked>false</locked>
<version>0.0.0</version>
</configInfo>
<data>
<autoStart>true</autoStart>
<displayControls>false</displayControls>
<displayVideo>true</displayVideo>
<pipelineDesc>ksvideosrc device-index=0 ! autovideosink</pipelineDesc>
<pipelineInfo></pipelineInfo>
<respectAspectRatio>false</respectAspectRatio>
</data>
</USB__PCT__20Camera__PCT__20-__PCT__20Play>
</VideoGadget>
</UAVGadgetConfigurations>
</gcs>