arducopter.xml 7.46 KB
Newer Older
lm's avatar
lm committed
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
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>
<fdm_config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="dflyer" version="2.0" release="ALPHA" xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
  <fileheader>
    <author> James Goppert </author>
    <filecreationdate> 2010-03-11 </filecreationdate>
    <version>0.0 </version>
    <description> Arducopter DIY Drones UAV. </description>
  </fileheader>
  <metrics>
    <wingarea unit="M2">   0.017</wingarea>
    <wingspan unit="M">   0.13 </wingspan>
    <chord unit="FT">  0.0 </chord>
    <htailarea unit="FT2">  0.0 </htailarea>
    <htailarm unit="FT">  0.0 </htailarm>
    <vtailarea unit="FT2">  0.0 </vtailarea>
    <vtailarm unit="FT">  0.0 </vtailarm>
    <location name="AERORP" unit="IN">
      <x>   0.00 </x>
      <y>   0.00 </y>
      <z>   0.00 </z>
    </location>
    <location name="EYEPOINT" unit="IN">
      <x>  0.0 </x>
      <y>  0.0 </y>
      <z>  0.0 </z>
    </location>
    <location name="VRP" unit="IN">
      <x>0</x>
      <y>0</y>
      <z>0</z>
    </location>
  </metrics>
  <mass_balance>
    <!--roughtly approximating this as a solid sphere with correct mass-->
    <ixx unit="KG*M2"> 0.036 </ixx>
    <iyy unit="KG*M2"> 0.036 </iyy>
    <izz unit="KG*M2">  0.036 </izz>
    <emptywt unit="KG"> 1.0 </emptywt>
    <location name="CG" unit="IN">
      <x>  0.0 </x>
      <y>  0.0 </y>
      <z>  0.0 </z>
    </location>
    <pointmass name="Payload">
      <weight unit="KG"> 0.0 </weight>
      <location unit="IN">
        <x>  0.0 </x>
        <y>  0.0 </y>
        <z>  0.0 </z>
      </location>
    </pointmass>
  </mass_balance>
  <ground_reactions>
    <contact type="BOGEY" name="frontbase">
      <location unit="M">
        <x>  -0.283 </x>
        <y>   0.00 </y>
        <z>  -0.033</z>
      </location>
      <static_friction>  0.80 </static_friction>
      <dynamic_friction> 0.50 </dynamic_friction>
      <spring_coeff unit="N/M">       800 </spring_coeff>
      <damping_coeff unit="N/M2/SEC2" type="SQUARE">  7 </damping_coeff>
      <damping_coeff_rebound unit="N/M2/SEC2" type="SQUARE">  300 </damping_coeff_rebound>
    </contact>
    <contact type="BOGEY" name="rearbase">
      <location unit="M">
        <x>   0.283 </x>
        <y>   0.00 </y>
        <z>  -0.033</z>
      </location>
      <static_friction>  0.80 </static_friction>
      <dynamic_friction> 0.50 </dynamic_friction>
      <spring_coeff unit="N/M">       800 </spring_coeff>
      <damping_coeff unit="N/M2/SEC2" type="SQUARE">  7 </damping_coeff>
      <damping_coeff_rebound unit="N/M2/SEC2" type="SQUARE">  300 </damping_coeff_rebound>
    </contact>
    <contact type="BOGEY" name="leftbase">
      <location unit="M">
        <x>   0.00 </x>
        <y>   0.283 </y>
        <z>  -0.033</z>
      </location>
      <static_friction>  0.80 </static_friction>
      <dynamic_friction> 0.50 </dynamic_friction>
      <spring_coeff unit="N/M">       800 </spring_coeff>
      <damping_coeff unit="N/M2/SEC2" type="SQUARE">  7 </damping_coeff>
      <damping_coeff_rebound unit="N/M2/SEC2" type="SQUARE">  300 </damping_coeff_rebound>
    </contact>
    <contact type="BOGEY" name="rightbase">
      <location unit="M">
        <x>   0.00 </x>
        <y>  -0.283 </y>
        <z>  -0.033</z>
      </location>
      <static_friction>  0.80 </static_friction>
      <dynamic_friction> 0.50 </dynamic_friction>
      <spring_coeff unit="N/M">       800 </spring_coeff>
      <damping_coeff unit="N/M2/SEC2" type="SQUARE">  7 </damping_coeff>
      <damping_coeff_rebound unit="N/M2/SEC2" type="SQUARE">  300 </damping_coeff_rebound>
    </contact>
  </ground_reactions>
  <!-- the front and rear motors spin clockwise, and the left and right motors spin counter-clockwise. -->
  <propulsion>
106
    <engine file="a2830-12" name="right">
lm's avatar
lm committed
107
      <location unit="M">
108
        <x>   0.000 </x>
109
        <y>   0.283 </y>
110
        <z>   0.000 </z>
lm's avatar
lm committed
111 112 113 114 115 116 117 118 119
      </location>
      <orient unit="DEG">
        <pitch> 90.00 </pitch>
        <roll>   0.00 </roll>
        <yaw>    0.00 </yaw>
      </orient>
      <feed>0</feed>
      <thruster file="prop10x4.5">
        <location unit="M">
120
          <x>   0.000 </x>
121
          <y>   0.283 </y>
lm's avatar
lm committed
122 123 124 125 126 127 128 129 130 131 132
          <z>   0.125 </z>
        </location>
        <orient unit="DEG">
          <pitch> 90.00 </pitch>
          <roll>   0.00 </roll>
          <yaw>    0.00 </yaw>
        </orient>
        <sense> 1 </sense>
        <p_factor> 10 </p_factor>
      </thruster>
    </engine>
133

134
    <engine file="a2830-12" name="left">
lm's avatar
lm committed
135
      <location unit="M">
136
        <x>   0.00 </x>
137
        <y>  -0.283 </y>
138
        <z>   0.00 </z>
lm's avatar
lm committed
139 140 141 142 143 144 145 146 147
      </location>
      <orient unit="DEG">
        <pitch> 90.00 </pitch>
        <roll>   0.00 </roll>
        <yaw>    0.00 </yaw>
      </orient>
      <feed>0</feed>
      <thruster file="prop10x4.5">
        <location unit="M">
148
          <x>   0.00 </x>
149
          <y>  -0.283 </y>
lm's avatar
lm committed
150 151 152 153 154 155 156 157 158 159 160
          <z>   0.125 </z>
        </location>
        <orient unit="DEG">
          <pitch> 90.00 </pitch>
          <roll>   0.00 </roll>
          <yaw>    0.00 </yaw>
        </orient>
        <sense> 1 </sense>
        <p_factor> 10 </p_factor>
      </thruster>
    </engine>
161 162

    <engine file="a2830-12" name="front">
lm's avatar
lm committed
163
      <location unit="M">
164 165 166
        <x>  -0.283 </x>
        <y>   0.00  </y>
        <z>   0.00  </z>
lm's avatar
lm committed
167 168 169 170 171 172 173 174 175
      </location>
      <orient unit="DEG">
        <pitch> 90.00 </pitch>
        <roll>   0.00 </roll>
        <yaw>    0.00 </yaw>
      </orient>
      <feed>0</feed>
      <thruster file="prop10x4.5">
        <location unit="M">
176 177
          <x>  -0.283 </x>
          <y>   0.00  </y>
lm's avatar
lm committed
178 179 180 181 182 183 184 185 186 187 188
          <z>   0.125 </z>
        </location>
        <orient unit="DEG">
          <pitch> 90.00 </pitch>
          <roll>   0.00 </roll>
          <yaw>    0.00 </yaw>
        </orient>
        <sense> -1 </sense>
        <p_factor> 10 </p_factor>
      </thruster>
    </engine>
189

190
    <engine file="a2830-12" name="rear">
lm's avatar
lm committed
191
      <location unit="M">
192 193
        <x>   0.283 </x>
        <y>   0.000 </y>
lm's avatar
lm committed
194 195 196 197 198 199 200 201 202 203
        <z>   0.000 </z>
      </location>
      <orient unit="DEG">
        <pitch> 90.00 </pitch>
        <roll>   0.00 </roll>
        <yaw>    0.00 </yaw>
      </orient>
      <feed>0</feed>
      <thruster file="prop10x4.5">
        <location unit="M">
204 205
          <x>   0.283 </x>
          <y>   0.000 </y>
lm's avatar
lm committed
206 207 208 209 210 211 212 213 214 215 216
          <z>   0.125 </z>
        </location>
        <orient unit="DEG">
          <pitch> 90.00 </pitch>
          <roll>   0.00 </roll>
          <yaw>    0.00 </yaw>
        </orient>
        <sense> -1 </sense>
        <p_factor> 10 </p_factor>
      </thruster>
    </engine>
217

lm's avatar
lm committed
218 219 220 221 222 223 224 225 226 227 228
    <tank type="FUEL" number="0">
      <location unit="M">
        <x>   0.00 </x>
        <y>   0.00 </y>
        <z>  -0.07 </z>
      </location>
      <!--have to have a fuel capacity, so setting it small-->
      <capacity unit="KG"> 0.00000000001 </capacity>
      <contents unit="KG"> 0.0 </contents>
    </tank>
  </propulsion>
229

lm's avatar
lm committed
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
  <aerodynamics>
    <axis name="LIFT">
        </axis>
    <axis name="DRAG">
      <function name="aero/coefficient/CD0">
        <description>Overall Drag</description>
        <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <value>1</value>
        </product>
      </function>
    </axis>
    <axis name="SIDE">
        </axis>
    <axis name="ROLL">
        </axis>
    <axis name="PITCH">
        </axis>
    <axis name="YAW">
        </axis>
  </aerodynamics>
</fdm_config>
<!-- vim:ts=2:sw=2:expandtab -->