Hi folks,

I've been playing around with the c172p, trying to make it give me more feedback when I overstress the structure.  I added some limits (with the script in Aircraft/Generic), which helps.  I just managed to get it to creak when I go past load limits.

I remember loving the creaking when doing aerobatics in Flight Unlimited long ago and wanted to have something like that in FG.

First, I included the limits.nas script by adding this to the end of the <nasal> block at the end of c172p-set.xml:

  <failures>
   <file>Aircraft/Generic/limits.nas</file>
  </failures>

And added this new block:

 <limits>
   <max-flap-extension-speed>
     <flaps>0.3</flaps>
     <speed>110</speed>
   </max-flap-extension-speed>
   <max-flap-extension-speed>
     <flaps>0.6</flaps>
     <speed>85</speed>
   </max-flap-extension-speed>
   <max-flap-extension-speed>
     <flaps>0.9</flaps>
     <speed>85</speed>
   </max-flap-extension-speed>
   <!-- Skyhawk is in Utility Class, hence max load factors -->
   <max-positive-g>4.4</max-positive-g>
   <max-negative-g>-1.76</max-negative-g>
   <vne>158</vne>
 </limits>


I'm open to critique for those values.

I added this to c172-sound.xml:

  <overstress>
   <name>creak</name>
   <path>Sounds/wingscreak.wav</path>
   <condition>
     <or>
       <less-than>
         <property>/accelerations/pilot/z-accel-fps_sec</property>
         <value>-140.8</value>
       </less-than>
       <greater-than>
         <property>/accelerations/pilot/z-accel-fps_sec</property>
         <value>56.32</value>
       </greater-than>
     </or>
   </condition>
   <volume>
    <offset>0.8</offset>
   </volume>
  </overstress>

I can share the WAV file, of course.  If you have better, please do share!

Very cool, now it creaks when I dive and pull up hard. :)

A few questions:
1. Is there a better way to compare this against the G limits I set in the <limits> block without hard coding the accelerations in feet per sec^2 ?  I'd rather not put the values in there, but use the configurable limits.

2. I think they should actually creak before you hit the max G's.  Good as a warning.  My question is: Around where should it start creaking (roughly) relative to the max G limits?

I'd also love to do something with landing gear stresses in the same direction, including lateral stresses.  If anyone has any ideas there, I'd love to hear them.  I can't find anything about max landing gear stresses anywhere.

As an aside, I've got the logging set up to give me gear compression/forces and other stats, which I'm graphing in Octave (like Matlab) to critique my take-offs and landings.  Oh what fun is FlightGear! :)

Thanks,

Mike.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to