1
0
Fork 0

Ron Jensen:

This is a patch to the c172p fdm to add pointmasses for all four
occupant positions and baggage.  The X locations were taken from the
c172 type certificate 3A12 dated September 15, 1998.  As the new
pointmasses have a weight of 0 they will not affect the current model,
however we are extending the FlightGear weight and balance dialog for
JSBSim and the pointmasses have to be defined.
This commit is contained in:
torsten 2008-09-01 15:14:33 +00:00
parent 23b0c9f6cb
commit e8de9bda15
2 changed files with 65 additions and 2 deletions

View file

@ -141,5 +141,36 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
</script>
</kap140>
</nasal>
<payload>
 <weight>
  <name type="string">Pilot</name>
  <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
  <min-lb type="double">0.0</min-lb>
  <max-lb type="double">300.0</max-lb>
 </weight>
 <weight>
  <name type="string">Co-Pilot</name>
  <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
  <min-lb type="double">0.0</min-lb>
  <max-lb type="double">300.0</max-lb>
 </weight>
 <weight>
  <name type="string">Left Passenger</name>
  <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
  <min-lb type="double">0.0</min-lb>
  <max-lb type="double">300.0</max-lb>
 </weight>
 <weight>
  <name type="string">Right Passenger</name>
  <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[3]"/>
  <min-lb type="double">0.0</min-lb>
  <max-lb type="double">300.0</max-lb>
 </weight>
 <weight>
  <name type="string">Baggage</name>
  <weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[4]"/>
  <min-lb type="double">0.0</min-lb>
  <max-lb type="double">150.0</max-lb> <!-- WARNING: Max baggage "by the book" is 120lbs or less! -->
 </weight>
</payload>  
</PropertyList>

View file

@ -49,7 +49,7 @@
<y> 0 </y>
<z> 36.5 </z>
</location>
<pointmass name="name">
<pointmass name="Pilot">
<weight unit="LBS"> 180 </weight>
<location name="POINTMASS" unit="IN">
<x> 36 </x>
@ -57,6 +57,38 @@
<z> 24 </z>
</location>
</pointmass>
 <pointmass name="Co-Pilot">
           <weight unit="LBS"> 0 </weight>
           <location name="POINTMASS" unit="IN">
               <x> 36 </x>
               <y> 14 </y>
               <z> 24 </z>
           </location>
       </pointmass>
       <pointmass name="Left Passenger">
           <weight unit="LBS"> 0 </weight>
           <location name="POINTMASS" unit="IN">
               <x> 70 </x>
               <y> -14 </y>
               <z> 24 </z>
           </location>
       </pointmass>
       <pointmass name="Right Passenger">
           <weight unit="LBS"> 0 </weight>
           <location name="POINTMASS" unit="IN">
               <x> 70 </x>
               <y> 14 </y>
               <z> 24 </z>
           </location>
       </pointmass>
       <pointmass name="Baggage">
           <weight unit="LBS"> 0 </weight>
           <location name="POINTMASS" unit="IN">
               <x> 95 </x>
               <y>  0 </y>
               <z> 24 </z>
           </location>
       </pointmass>
</mass_balance>
<ground_reactions>