qgroundcontrol-quadrotor.xml 4.25 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 9 10 11 12 13 14 15
   <var_separator>tab</var_separator>
   
   <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>
lm's avatar
lm committed
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>
lm's avatar
lm committed
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 144 145 146 147 148
   </chunk>
   
  </output>

  <input>
   <line_separator>newline</line_separator>
lm's avatar
lm committed
149
   <var_separator>tab</var_separator>
lm's avatar
lm committed
150 151

   <!-- Controls -->
lm's avatar
lm committed
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
     <!-- motors, in range 0.0 to 1.0 -->
     <chunk>
       <name>throttle0</name>
       <type>double</type>
       <node>/controls/engines/engine[0]/throttle</node>
     </chunk> 
     <chunk>
       <name>throttle1</name>
       <type>double</type>
       <node>/controls/engines/engine[1]/throttle</node>
     </chunk> 
     <chunk>
       <name>throttle2</name>
       <type>double</type>
       <node>/controls/engines/engine[2]/throttle</node>
     </chunk> 
     <chunk>
       <name>throttle3</name>
       <type>double</type>
       <node>/controls/engines/engine[3]/throttle</node>
     </chunk> 
lm's avatar
lm committed
173
   
lm's avatar
lm committed
174 175 176 177 178 179

 </input>

 </generic>

</PropertyList>