qgroundcontrol-quadrotor.xml 5.5 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>
Don Gagne's avatar
Don Gagne committed
179 180 181 182 183 184 185 186 187
   
   <!-- Altitude AGL -->
   <chunk>
       <name>Altitude AGL (m)</name>
       <type>float</type>
       <format>%.5f</format>
       <node>/position/altitude-agl-ft</node>
       <factor>0.3048</factor>  <!-- feet to meter -->
   </chunk>
188

lm's avatar
lm committed
189 190 191 192
  </output>

  <input>
   <line_separator>newline</line_separator>
lm's avatar
lm committed
193
   <var_separator>tab</var_separator>
lm's avatar
lm committed
194 195

   <!-- Controls -->
lm's avatar
lm committed
196 197 198
     <!-- motors, in range 0.0 to 1.0 -->
     <chunk>
       <name>throttle0</name>
199
       <type>float</type>
lm's avatar
lm committed
200
       <node>/controls/engines/engine[0]/throttle</node>
201
     </chunk>
lm's avatar
lm committed
202 203
     <chunk>
       <name>throttle1</name>
204
       <type>float</type>
lm's avatar
lm committed
205
       <node>/controls/engines/engine[1]/throttle</node>
206
     </chunk>
lm's avatar
lm committed
207 208
     <chunk>
       <name>throttle2</name>
209
       <type>float</type>
lm's avatar
lm committed
210
       <node>/controls/engines/engine[2]/throttle</node>
211 212 213 214 215
     </chunk>
     <chunk>
       <name>running</name>
       <type>bool</type>
       <node>/engines/engine/running</node>
216
     </chunk>
lm's avatar
lm committed
217 218
     <chunk>
       <name>throttle3</name>
219
       <type>float</type>
lm's avatar
lm committed
220
       <node>/controls/engines/engine[3]/throttle</node>
221 222
     </chunk>

lm's avatar
lm committed
223 224 225 226 227

 </input>

 </generic>

228
</PropertyList>