qgroundcontrol-quadrotor.xml 5.26 KB
Newer Older
lm's avatar
lm committed
1 2 3 4 5 6 7
<?xml version="1.0"?>

<PropertyList>
 <generic>

  <output>
   <line_separator>newline</line_separator>
lm's avatar
lm committed
8
   <var_separator>tab</var_separator>
9

lm's avatar
lm committed
10 11 12 13 14 15
   <chunk>
    <name>time (sec)</name>
    <type>float</type>
    <format>%.4f</format>
    <node>/sim/time/elapsed-sec</node>
   </chunk>
lm's avatar
lm committed
16 17 18 19

   <!-- Position -->
   <chunk>
    <name>latitude-deg</name>
lm's avatar
lm committed
20 21
    <type>double</type>
    <format>%.18f</format>
lm's avatar
lm committed
22 23 24 25 26
    <node>/position/latitude-deg</node>
   </chunk>

   <chunk>
    <name>longitude-deg</name>
lm's avatar
lm committed
27 28
    <type>double</type>
    <format>%.18f</format>
lm's avatar
lm committed
29 30 31 32
    <node>/position/longitude-deg</node>
   </chunk>

   <chunk>
lm's avatar
lm committed
33 34 35
    <name>altitiude (m)</name>
    <type>double</type>
    <format>%.5f</format>
lm's avatar
lm committed
36
    <node>/position/altitude-ft</node>
lm's avatar
lm committed
37
    <factor>0.3048</factor>                  <!-- feet to meter -->
lm's avatar
lm committed
38 39 40
   </chunk>

   <!-- Orientation -->
lm's avatar
lm committed
41

lm's avatar
lm committed
42
   <chunk>
lm's avatar
lm committed
43
    <name>roll angle</name>
lm's avatar
lm committed
44
    <type>float</type>
lm's avatar
lm committed
45
    <format>%.5f</format>
lm's avatar
lm committed
46
    <node>/orientation/roll-deg</node>
lm's avatar
lm committed
47
    <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
lm's avatar
lm committed
48
   </chunk>
49

lm's avatar
lm committed
50
   <chunk>
lm's avatar
lm committed
51
    <name>pitch angle (rad)</name>
lm's avatar
lm committed
52
    <type>float</type>
lm's avatar
lm committed
53
    <format>%.5f</format>
lm's avatar
lm committed
54
    <node>/orientation/pitch-deg</node>
lm's avatar
lm committed
55
    <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
lm's avatar
lm committed
56
   </chunk>
57

lm's avatar
lm committed
58
   <chunk>
lm's avatar
lm committed
59
    <name>yaw angle</name>
lm's avatar
lm committed
60
    <type>float</type>
lm's avatar
lm committed
61
    <format>%.5f</format>
lm's avatar
lm committed
62
    <node>/orientation/heading-deg</node>
lm's avatar
lm committed
63
    <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
lm's avatar
lm committed
64 65
   </chunk>

66
   <chunk>
lm's avatar
lm committed
67
    <name>roll rate ("p" rad/sec)</name>
68
    <type>float</type>
lm's avatar
lm committed
69 70
    <format>%.6f</format>
    <node>/fdm/jsbsim/velocities/pi-rad_sec</node>
71
   </chunk>
lm's avatar
lm committed
72

73
   <chunk>
lm's avatar
lm committed
74
    <name>pitch rate ("q" rad/sec)</name>
75
    <type>float</type>
lm's avatar
lm committed
76 77
    <format>%.6f</format>
    <node>/fdm/jsbsim/velocities/qi-rad_sec</node>
78 79 80
   </chunk>

   <chunk>
lm's avatar
lm committed
81
    <name>yaw rate ("r" rad/sec)</name>
82
    <type>float</type>
lm's avatar
lm committed
83 84
    <format>%.6f</format>
    <node>/fdm/jsbsim/velocities/ri-rad_sec</node>
85 86 87
   </chunk>

   <chunk>
lm's avatar
lm committed
88
    <name>X accel (body axis) (mps)</name>
89
    <type>float</type>
lm's avatar
lm committed
90 91 92
    <format>%.5f</format>
    <node>/accelerations/pilot/x-accel-fps_sec</node>
    <factor>0.3048</factor>  <!-- feet to meter -->
93 94 95
   </chunk>

   <chunk>
lm's avatar
lm committed
96
    <name>Y accel (body axis) (mps)</name>
97
    <type>float</type>
lm's avatar
lm committed
98 99 100
    <format>%.5f</format>
    <node>/accelerations/pilot/y-accel-fps_sec</node>
    <factor>0.3048</factor>  <!-- feet to meter -->
101 102 103
   </chunk>

   <chunk>
lm's avatar
lm committed
104
    <name>Z accel (body axis) (mps)</name>
105
    <type>float</type>
lm's avatar
lm committed
106 107 108
    <format>%.5f</format>
    <node>/accelerations/pilot/z-accel-fps_sec</node>
    <factor>0.3048</factor>  <!-- feet to meter -->
109
   </chunk>
lm's avatar
lm committed
110 111

   <!-- Velocities -->
112

lm's avatar
lm committed
113
   <chunk>
lm's avatar
lm committed
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
    <name>Velocity North ("vn" mps)</name>
    <type>float</type>
    <format>%.8f</format>
    <node>/velocities/speed-north-fps</node>
    <factor>0.3048</factor>                  <!-- fps to mps -->
   </chunk>

   <chunk>
    <name>Velocity East ("ve" mps)</name>
    <type>float</type>
    <format>%.8f</format>
    <node>/velocities/speed-east-fps</node>
    <factor>0.3048</factor>                  <!-- fps to mps -->
   </chunk>

   <chunk>
    <name>Velocity Down ("vd" mps)</name>
    <type>float</type>
    <format>%.8f</format>
    <node>/velocities/speed-down-fps</node>
    <factor>0.3048</factor>                  <!-- fps to mps -->
   </chunk>

   <chunk>
     <name>airspeed-mps</name>
lm's avatar
lm committed
139
     <type>float</type>
lm's avatar
lm committed
140
     <format>%.8f</format>
lm's avatar
lm committed
141
     <node>/velocities/airspeed-kt</node>
lm's avatar
lm committed
142
     <factor>0.514444444444444</factor>      <!-- knots to mps -->
lm's avatar
lm committed
143
   </chunk>
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178

   <!-- Magnetometer -->
   <chunk>
    <name>Magnetic Variation (rad)</name>
    <type>float</type>
    <format>%.8f</format>
    <node>/environment/magnetic-variation-deg</node>
    <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
   </chunk>

   <chunk>
    <name>Magnetic Dip (rad)</name>
    <type>float</type>
    <format>%.8f</format>
    <node>/environment/magnetic-dip-deg</node>
    <factor>0.01745329251994329576</factor>  <!-- degrees to radians -->
   </chunk>

   <!-- Temperature -->
   <chunk>
    <name>Temperature (deg C)</name>
    <type>float</type>
    <format>%.8f</format>
    <node>/environment/temperature-degc</node>
    <factor>1</factor>
   </chunk>

   <!-- Pressure -->
   <chunk>
    <name>Pressure (hPa)</name>
    <type>float</type>
    <format>%.8f</format>
    <node>/environment/pressure-inhg</node>
    <factor>33.86389</factor>                  <!-- inhg to hpa -->
   </chunk>
179

lm's avatar
lm committed
180 181 182 183
  </output>

  <input>
   <line_separator>newline</line_separator>
lm's avatar
lm committed
184
   <var_separator>tab</var_separator>
lm's avatar
lm committed
185 186

   <!-- Controls -->
lm's avatar
lm committed
187 188 189
     <!-- motors, in range 0.0 to 1.0 -->
     <chunk>
       <name>throttle0</name>
190
       <type>float</type>
lm's avatar
lm committed
191
       <node>/controls/engines/engine[0]/throttle</node>
192
     </chunk>
lm's avatar
lm committed
193 194
     <chunk>
       <name>throttle1</name>
195
       <type>float</type>
lm's avatar
lm committed
196
       <node>/controls/engines/engine[1]/throttle</node>
197
     </chunk>
lm's avatar
lm committed
198 199
     <chunk>
       <name>throttle2</name>
200
       <type>float</type>
lm's avatar
lm committed
201
       <node>/controls/engines/engine[2]/throttle</node>
202 203 204 205 206
     </chunk>
     <chunk>
       <name>running</name>
       <type>bool</type>
       <node>/engines/engine/running</node>
207
     </chunk>
lm's avatar
lm committed
208 209
     <chunk>
       <name>throttle3</name>
210
       <type>float</type>
lm's avatar
lm committed
211
       <node>/controls/engines/engine[3]/throttle</node>
212 213
     </chunk>

lm's avatar
lm committed
214 215 216 217 218

 </input>

 </generic>

219
</PropertyList>