/usr/share/games/crrcsim/models/qc01.xml is in crrcsim-data 0.9.12-6.1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 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 139 140 141 142 143 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 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 | <?xml version="1.0" ?>
<CRRCSim_airplane version="1" type="mcopter01">
<categories>
<category>Rotorcraft</category>
</categories>
<description>
<en>
This is a first quadrocopter model for CRRCSim. Simple graphics.
Note that a quadrocopter's behaviour mainly depends on the
control software running it, so expect this one to behave
different from every quadrocopter around. However, it is helpful
to get a feeling of the visual/orientation problems you'll face
when flying one.
Use the spoiler input to switch between attitude and rate control
when using the third configuration.
</en>
</description>
<changelog>
<change>
<date>2009-07-06</date>
<author>Jens W. Wulf</author>
<en>Created it.</en>
</change>
<change>
<date>2010-05-15</date>
<author>J. Reucker</author>
<en>Added max_force to springs</en>
</change>
<change>
<date>2010-10-21</date>
<author>Jens W. Wulf</author>
<en>Added graphics jww05 (copter5.ac)</en>
</change>
<change>
<date>2010-10-27</date>
<author>Jens W. Wulf</author>
<en>New configuration which allows to switch between rate and attitude control</en>
</change>
</changelog>
<wheels version="1" units="0">
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0" y="0" z="-0.164042" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.27142879" y="0.87838417" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.1468962" y="0.96159418" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-2.27654e-17" y="0.99081366" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.1468962" y="0.96159418" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.27142879" y="0.87838417" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0" y="0.62007874" z="0.1312336" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.27142879" y="-0.87838417" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.1468962" y="-0.96159418" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="4.55308e-17" y="-0.99081366" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.1468962" y="-0.96159418" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.27142879" y="-0.87838417" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-2.845675e-18" y="-0.62007874" z="0.1312336" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.87838417" y="0.27142879" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.87838417" y="-0.27142879" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.96159418" y="-0.1468962" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.99081366" y="-9.10616e-17" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.96159418" y="0.1468962" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="-0.62007874" y="2.845675e-18" z="0.1312336" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.87838417" y="0.27142879" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.96159418" y="0.1468962" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.99081366" y="2.27654e-17" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.96159418" y="-0.1468962" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.87838417" y="-0.27142879" z="-0.12139108" />
</wheel>
<wheel percent_brake="0.5" caster_angle_rad="0">
<spring constant="7" damping="0.06" max_force="2.0" />
<pos x="0.62007874" y="-2.845675e-18" z="0.1312336" />
</wheel>
</wheels>
<!-- Ground effect parameters should be quite independent of the helicopter
parameters...shouldn't they? However, they can be adjusted to make it easier
for users to get them right and provide feedback. -->
<GroundEffect>
<dist mul="1.5" />
</GroundEffect>
<Disturbance tau_filter="0.2" time="0.2" />
<CG units="0" x="0" y="0" z="-0.0054680666" />
<graphics version="1" model="qc01.ac">
<descr_long>
<en>cross config</en>
</descr_long>
<descr_short>
<en>cross config</en>
</descr_short>
</graphics>
<graphics version="1" model="qc01_x.ac">
<descr_long>
<en>x config: although it is possible to simulate the x config instead of only
displaying it, this is not done here -- it would double this files size, mainly
copying everything only to get the same behaviour. However, hard points/ground interaction
is not perfect using this graphics config.
</en>
</descr_long>
<descr_short>
<en>x config</en>
</descr_short>
</graphics>
<graphics version="1" model="copter3.ac">
<descr_long>
<en>jww03</en>
</descr_long>
<descr_short>
<en>jww03</en>
</descr_short>
</graphics>
<graphics version="1" model="copter5.ac">
<descr_long>
<en>jww05</en>
</descr_long>
<descr_short>
<en>jww05</en>
</descr_short>
</graphics>
<config version="1">
<descr_long>
<en>attitude controlled</en>
</descr_long>
<descr_short>
<en>attitude controlled</en>
</descr_short>
<mass_inertia version="1" units="1" Mass="0.40" I_xx="0.0034965875"
I_yy="0.0034965875" I_zz="0.0068260583" I_xz="1.3235659e-20" />
<sound version="1">
<sample filename="fan.wav" type="1" pitchfactor="0.03" maxvolume="1" />
</sound>
<aero version="1" >
<yaw dist="0.00" damp1="0.00341" />
<roll dist="0.00" damp1="0.0009" />
<speed damp="0.006" />
<props> <!-- positions relative to center of gravity! -->
<prop x= "0.185" y= "0" dir="-1" />
<prop x="-0.185" y= "0" dir="-1" />
<prop x= "0" y= "0.185" />
<prop x= "0" y="-0.185" />
</props>
</aero>
<controllers>
<ScaleThrottle off="0.06" min="0.178" mul="0.54" />
<MCopter01>
<roll scale="1.8" kp="7" kd="0.246" />
<pitch scale="-1.8" kp="7" kd="0.246" />
<yaw scale="-9.93" kp="0.352" ki="0.835" />
</MCopter01>
</controllers>
<power>
<battery C="0.375" U_0="12" U_off="0" R_I="10E-3" throttle_min="0">
<U_0rel>
1.00;
1.00;
</U_0rel>
<shaft J="0" brake="0">
<propeller D="0.235" H="0.1644" J="0" n_fold="-1" />
<engine k_M="0.008536" R_I="0.3712" J_M="5.0E-6" I_0="0" rate_max="999999999" log="0" />
</shaft>
</battery>
</power>
</config>
<config version="1">
<descr_long>
<en>rate controlled</en>
</descr_long>
<descr_short>
<en>rate controlled</en>
</descr_short>
<mass_inertia version="1" units="1" Mass="0.4" I_xx="0.0034965875"
I_yy="0.0034965875" I_zz="0.0068260583" I_xz="1.3235659e-20" />
<sound version="1">
<sample filename="fan.wav" type="1" pitchfactor="0.03" maxvolume="1" />
</sound>
<aero version="1" >
<yaw dist="0.00" damp1="0.00341" />
<roll dist="0.00" damp1="0.0009" />
<speed damp="0.006" />
<props> <!-- positions relative to center of gravity! -->
<prop x= "0.185" y= "0" dir="-1" />
<prop x="-0.185" y= "0" dir="-1" />
<prop x= "0" y= "0.185" />
<prop x= "0" y="-0.185" />
</props>
</aero>
<controllers>
<ScaleThrottle off="0.06" min="0.178" mul="0.54" />
<LimitFlipThrottle max90="0.618" max180="0.3" />
<Omega>
<scale_roll_pitch a="3.8544" b="249.69" exp="6" />
<roll scale= "1" kp="0.246" ki="0.835" kd="0.0015" />
<!-- todo: kd müsste eigentlich 0.0053 sein.
Mit damp1=0.0009 geht 0.0025,
für 0.0053 braucht man damp1=0.5, was ich aber
definitiv nicht gemessen habe. -->
<pitch scale= "-1" kp="0.246" ki="0.835" kd="0.0015" />
<yaw scale="-9.93" kp="0.352" ki="0.835" />
</Omega>
</controllers>
<power>
<battery C="0.375" U_0="12" U_off="0" R_I="10E-3" throttle_min="0">
<U_0rel>
1.00;
1.00;
</U_0rel>
<shaft J="0" brake="0">
<propeller D="0.235" H="0.1644" J="0" n_fold="-1" />
<engine k_M="0.008536" R_I="0.3712" J_M="5.0E-6" I_0="0" rate_max="999999999" log="0" />
</shaft>
</battery>
</power>
</config>
<config version="1">
<descr_long>
<en>attitude or rate controlled (use spoiler channel)</en>
</descr_long>
<descr_short>
<en>attitude or rate controlled</en>
</descr_short>
<mass_inertia version="1" units="1" Mass="0.40" I_xx="0.0034965875"
I_yy="0.0034965875" I_zz="0.0068260583" I_xz="1.3235659e-20" />
<sound version="1">
<sample filename="fan.wav" type="1" pitchfactor="0.03" maxvolume="1" />
</sound>
<aero version="1" >
<yaw dist="0.00" damp1="0.00341" />
<roll dist="0.00" damp1="0.0009" />
<speed damp="0.006" />
<props> <!-- positions relative to center of gravity! -->
<prop x= "0.185" y= "0" dir="-1" />
<prop x="-0.185" y= "0" dir="-1" />
<prop x= "0" y= "0.185" />
<prop x= "0" y="-0.185" />
</props>
</aero>
<controllers>
<ScaleThrottle off="0.06" min="0.178" mul="0.54" />
<MCopter01>
<roll scale="1.8" kp="7" kd="0.246" rate_max="3.878" />
<pitch scale="-1.8" kp="7" kd="0.246" rate_max="3.878" />
<yaw scale="-9.93" kp="0.352" ki="0.835" />
<Omega switch_channel="spoiler">
<scale_roll_pitch a="3.8544" b="249.69" exp="6" />
<roll scale= "1" kp="0.246" ki="0.835" kd="0.0015" />
<pitch scale="-1" kp="0.246" ki="0.835" kd="0.0015" />
</Omega>
</MCopter01>
</controllers>
<power>
<battery C="0.375" U_0="12" U_off="0" R_I="10E-3" throttle_min="0">
<U_0rel>
1.00;
1.00;
</U_0rel>
<shaft J="0" brake="0">
<propeller D="0.235" H="0.1644" J="0" n_fold="-1" />
<engine k_M="0.008536" R_I="0.3712" J_M="5.0E-6" I_0="0" rate_max="999999999" log="0" />
</shaft>
</battery>
</power>
</config>
<launch>
<preset name_en="heli default (ground)" altitude="0" velocity_rel="0" angle="0" sal="0" rel_to_player="1" rel_front="5" rel_right="0" />
</launch>
</CRRCSim_airplane>
|