Skip to content

Commit c6fbc5f

Browse files
committed
LP-109 add linux and macos GCS defaults
these defaults add gadget configuration for PFD video and video gadgets
1 parent df796c8 commit c6fbc5f

2 files changed

Lines changed: 250 additions & 0 deletions

File tree

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
<gcs>
2+
<UAVGadgetConfigurations>
3+
<PfdQmlGadget>
4+
<PFD__PCT__20__PCT__28Video__PCT__29>
5+
<configInfo>
6+
<locked>false</locked>
7+
<version>0.0.0</version>
8+
</configInfo>
9+
<data>
10+
<qmlFile>%%DATAPATH%%qml/PfdVideo.qml</qmlFile>
11+
<altitudeFactor>1</altitudeFactor>
12+
<speedFactor>1</speedFactor>
13+
<terrainEnabled>true</terrainEnabled>
14+
<earthFile>%%DATAPATH%%osgearth/arcgis.earth</earthFile>
15+
<cacheOnly>false</cacheOnly>
16+
<latitude>39.6576</latitude>
17+
<longitude>19.8046</longitude>
18+
<altitude>90</altitude>
19+
<timeMode>0</timeMode>
20+
<dateTime>@Variant(AAAAEAAlfhEClAez/w==)</dateTime>
21+
<minAmbientLight>0.50</minAmbientLight>
22+
<modelEnabled>false</modelEnabled>
23+
<modelSelectionMode>1</modelSelectionMode>
24+
<modelFile>%%DATAPATH%%models/multi/test_quad/test_quad_x.3ds</modelFile>
25+
<backgroundImageFile>%%DATAPATH%%backgrounds/default_background.png</backgroundImageFile>
26+
<gstPipeline>v4l2src ! videoconvert ! video/x-raw,format=RGB ! appsink name=sink emit-signals=true</gstPipeline>
27+
</data>
28+
</PFD__PCT__20__PCT__28Video__PCT__29>
29+
</PfdQmlGadget>
30+
<VideoGadget>
31+
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
32+
<configInfo>
33+
<locked>false</locked>
34+
<version>0.0.0</version>
35+
</configInfo>
36+
<data>
37+
<autoStart>false</autoStart>
38+
<displayControls>false</displayControls>
39+
<displayVideo>true</displayVideo>
40+
<pipelineDesc>ximagesrc ! tee name=t
41+
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
42+
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>
43+
<pipelineInfo></pipelineInfo>
44+
<respectAspectRatio>true</respectAspectRatio>
45+
</data>
46+
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
47+
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
48+
<configInfo>
49+
<locked>false</locked>
50+
<version>0.0.0</version>
51+
</configInfo>
52+
<data>
53+
<autoStart>false</autoStart>
54+
<displayControls>false</displayControls>
55+
<displayVideo>true</displayVideo>
56+
<pipelineDesc>ximagesrc ! tee name=t
57+
t. ! queue ! timeoverlay ! autovideosink
58+
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
59+
<pipelineInfo></pipelineInfo>
60+
<respectAspectRatio>true</respectAspectRatio>
61+
</data>
62+
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
63+
<Screen__PCT__20-__PCT__20Play>
64+
<configInfo>
65+
<locked>false</locked>
66+
<version>0.0.0</version>
67+
</configInfo>
68+
<data>
69+
<autoStart>true</autoStart>
70+
<displayControls>false</displayControls>
71+
<displayVideo>true</displayVideo>
72+
<pipelineDesc>ximagesrc ! autovideosink</pipelineDesc>
73+
<pipelineInfo></pipelineInfo>
74+
<respectAspectRatio>false</respectAspectRatio>
75+
</data>
76+
</Screen__PCT__20-__PCT__20Play>
77+
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
78+
<configInfo>
79+
<locked>false</locked>
80+
<version>0.0.0</version>
81+
</configInfo>
82+
<data>
83+
<autoStart>false</autoStart>
84+
<displayControls>false</displayControls>
85+
<displayVideo>true</displayVideo>
86+
<pipelineDesc>v4l2src ! tee name=t
87+
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
88+
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>
89+
<pipelineInfo></pipelineInfo>
90+
<respectAspectRatio>true</respectAspectRatio>
91+
</data>
92+
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
93+
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
94+
<configInfo>
95+
<locked>false</locked>
96+
<version>0.0.0</version>
97+
</configInfo>
98+
<data>
99+
<autoStart>false</autoStart>
100+
<displayControls>false</displayControls>
101+
<displayVideo>true</displayVideo>
102+
<pipelineDesc>v4l2src ! tee name=t
103+
t. ! queue ! timeoverlay ! autovideosink
104+
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
105+
<pipelineInfo></pipelineInfo>
106+
<respectAspectRatio>true</respectAspectRatio>
107+
</data>
108+
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
109+
<USB__PCT__20Camera__PCT__20-__PCT__20Play>
110+
<configInfo>
111+
<locked>false</locked>
112+
<version>0.0.0</version>
113+
</configInfo>
114+
<data>
115+
<autoStart>true</autoStart>
116+
<displayControls>false</displayControls>
117+
<displayVideo>true</displayVideo>
118+
<pipelineDesc>v4l2src ! autovideosink</pipelineDesc>
119+
<pipelineInfo></pipelineInfo>
120+
<respectAspectRatio>false</respectAspectRatio>
121+
</data>
122+
</USB__PCT__20Camera__PCT__20-__PCT__20Play>
123+
</VideoGadget>
124+
</UAVGadgetConfigurations>
125+
</gcs>
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
<gcs>
2+
<UAVGadgetConfigurations>
3+
<PfdQmlGadget>
4+
<PFD__PCT__20__PCT__28Video__PCT__29>
5+
<configInfo>
6+
<locked>false</locked>
7+
<version>0.0.0</version>
8+
</configInfo>
9+
<data>
10+
<qmlFile>%%DATAPATH%%qml/PfdVideo.qml</qmlFile>
11+
<altitudeFactor>1</altitudeFactor>
12+
<speedFactor>1</speedFactor>
13+
<terrainEnabled>true</terrainEnabled>
14+
<earthFile>%%DATAPATH%%osgearth/arcgis.earth</earthFile>
15+
<cacheOnly>false</cacheOnly>
16+
<latitude>39.6576</latitude>
17+
<longitude>19.8046</longitude>
18+
<altitude>90</altitude>
19+
<timeMode>0</timeMode>
20+
<dateTime>@Variant(AAAAEAAlfhEClAez/w==)</dateTime>
21+
<minAmbientLight>0.50</minAmbientLight>
22+
<modelEnabled>false</modelEnabled>
23+
<modelSelectionMode>1</modelSelectionMode>
24+
<modelFile>%%DATAPATH%%models/multi/test_quad/test_quad_x.3ds</modelFile>
25+
<backgroundImageFile>%%DATAPATH%%backgrounds/default_background.png</backgroundImageFile>
26+
<gstPipeline>avfvideosrc ! videoconvert ! video/x-raw,format=RGB ! appsink name=sink emit-signals=true</gstPipeline>
27+
</data>
28+
</PFD__PCT__20__PCT__28Video__PCT__29>
29+
</PfdQmlGadget>
30+
<VideoGadget>
31+
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
32+
<configInfo>
33+
<locked>false</locked>
34+
<version>0.0.0</version>
35+
</configInfo>
36+
<data>
37+
<autoStart>false</autoStart>
38+
<displayControls>false</displayControls>
39+
<displayVideo>true</displayVideo>
40+
<pipelineDesc>avfvideosrc capture-screen=true capture-screen-cursor=true ! tee name=t
41+
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
42+
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>
43+
<pipelineInfo></pipelineInfo>
44+
<respectAspectRatio>true</respectAspectRatio>
45+
</data>
46+
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
47+
<Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
48+
<configInfo>
49+
<locked>false</locked>
50+
<version>0.0.0</version>
51+
</configInfo>
52+
<data>
53+
<autoStart>false</autoStart>
54+
<displayControls>false</displayControls>
55+
<displayVideo>true</displayVideo>
56+
<pipelineDesc>avfvideosrc capture-screen=true capture-screen-cursor=true ! tee name=t
57+
t. ! queue ! timeoverlay ! autovideosink
58+
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
59+
<pipelineInfo></pipelineInfo>
60+
<respectAspectRatio>true</respectAspectRatio>
61+
</data>
62+
</Screen__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
63+
<Screen__PCT__20-__PCT__20Play>
64+
<configInfo>
65+
<locked>false</locked>
66+
<version>0.0.0</version>
67+
</configInfo>
68+
<data>
69+
<autoStart>true</autoStart>
70+
<displayControls>false</displayControls>
71+
<displayVideo>true</displayVideo>
72+
<pipelineDesc>avfvideosrc capture-screen=true capture-screen-cursor=true ! autovideosink</pipelineDesc>
73+
<pipelineInfo></pipelineInfo>
74+
<respectAspectRatio>false</respectAspectRatio>
75+
</data>
76+
</Screen__PCT__20-__PCT__20Play>
77+
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
78+
<configInfo>
79+
<locked>false</locked>
80+
<version>0.0.0</version>
81+
</configInfo>
82+
<data>
83+
<autoStart>false</autoStart>
84+
<displayControls>false</displayControls>
85+
<displayVideo>true</displayVideo>
86+
<pipelineDesc>avfvideosrc ! tee name=t
87+
t. ! queue max-size-buffers=0 max-size-time=0 max-size-bytes=0 ! timeoverlay ! autovideosink
88+
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>
89+
<pipelineInfo></pipelineInfo>
90+
<respectAspectRatio>true</respectAspectRatio>
91+
</data>
92+
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file__PCT__20__PCT__28fast__PCT__20__PCT__26__PCT__20big__PCT__29>
93+
<USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
94+
<configInfo>
95+
<locked>false</locked>
96+
<version>0.0.0</version>
97+
</configInfo>
98+
<data>
99+
<autoStart>false</autoStart>
100+
<displayControls>false</displayControls>
101+
<displayVideo>true</displayVideo>
102+
<pipelineDesc>avfvideosrc ! tee name=t
103+
t. ! queue ! timeoverlay ! autovideosink
104+
t. ! queue ! videoconvert ! x264enc tune=zerolatency tune=zerolatency bitrate=498 ! mpegpsmux ! filesink location=capture.mpg</pipelineDesc>
105+
<pipelineInfo></pipelineInfo>
106+
<respectAspectRatio>true</respectAspectRatio>
107+
</data>
108+
</USB__PCT__20Camera__PCT__20-__PCT__20Capture__PCT__20to__PCT__20file>
109+
<USB__PCT__20Camera__PCT__20-__PCT__20Play>
110+
<configInfo>
111+
<locked>false</locked>
112+
<version>0.0.0</version>
113+
</configInfo>
114+
<data>
115+
<autoStart>true</autoStart>
116+
<displayControls>false</displayControls>
117+
<displayVideo>true</displayVideo>
118+
<pipelineDesc>avfvideosrc ! autovideosink</pipelineDesc>
119+
<pipelineInfo></pipelineInfo>
120+
<respectAspectRatio>false</respectAspectRatio>
121+
</data>
122+
</USB__PCT__20Camera__PCT__20-__PCT__20Play>
123+
</VideoGadget>
124+
</UAVGadgetConfigurations>
125+
</gcs>

0 commit comments

Comments
 (0)