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.



Index: c172p.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/c172p/c172p.xml,v
retrieving revision 1.19
diff -u -r1.19 c172p.xml
--- c172p.xml   8 Aug 2008 08:56:09 -0000       1.19
+++ c172p.xml   31 Aug 2008 22:04:57 -0000
@@ -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>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to