Board index FlightGear Development Aircraft

Announcing New UAV MQ-9 Predator B

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: Announcing New UAV MQ-9 Predator B

Postby falafel » Wed Jul 06, 2016 10:54 am

Where should I paste the two code snips?

pjedvaj wrote in Wed Jul 06, 2016 7:18 am:I've remapped the UV on the MQ-9 model and made a new default livery, normal map, specular map and vector paint kit PDF, falafel will upload them to git later. You need to add weapon pointmass and armament system to this new FDM to use bombable version. :!:

Code: Select all
  <pointmass name="station1">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y> -89 </y>
          <z>  -3 </z>
      </location>
  </pointmass>
 
   <pointmass name="station2">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y> -74 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station3">
      <weight unit="LBS"> 510 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y> -48 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station4">
      <weight unit="LBS"> 510 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y>  48 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station5">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y>  74 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station6">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y>  89 </y>
          <z>  -3 </z>
      </location>
  </pointmass>


Code: Select all
 <system file="Armament"/>
 <system file="Particles"/>
falafel
 
Posts: 73
Joined: Mon Nov 09, 2009 11:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Announcing New UAV MQ-9 Predator B

Postby pjedvaj » Wed Jul 06, 2016 1:33 pm

MQ-9-JSBSim.xml

Code: Select all
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>

<fdm_config name="MQ-9 Reaper" version="2.0" release="ALPHA"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">

 <fileheader>
  <author> Aeromatic v 3.2.5 </author>
  <filecreationdate> 05 Jul 2016 </filecreationdate>
  <version>$Revision: 1.26 $</version>
  <description> Models a MQ-9 Reaper. </description>
 </fileheader>

<!--
  File:     MQ-9 Reaper.xml
  Inputs:
    name:          MQ-9 Reaper
    type:          light commuter with 1 engines
    stall speed:   80.00kts
    max weight:    10494.00 lb
    length:        36.08 ft
    wing:
     span:         65.58 ft
     area:         257.28 sq-ft
     mean chord:   3.92 ft
     aspect ratio: 12.00:1
     taper ratio:  1.00:1
     incidence:    2.00 degrees
     dihedral:     2.00 degrees
     sweep:        5.00 degrees

    no. engines:   1
    engine type:   Turboprop Engine
    engine layout: aft fuselage

    gear type:     tricycle
    steering type: steering
    retractable?:  yes

  Outputs:
    wing loading:  40.79 lb/sq-ft
    payload:       4039.89 lbs
    CL-alpha:      5.79 per radian
    CL-0:          0.41
    CL-max:        1.88
    CD-0:          0.02
    K:             0.04
    Mcrit:         0.70
-->

 <metrics>
   <wingarea  unit="FT2">   257.28 </wingarea>
   <wingspan  unit="FT" >    65.58 </wingspan>
   <wing_incidence>           2.00 </wing_incidence>
   <chord     unit="FT" >     3.92 </chord>
   <htailarea unit="FT2">    41.17 </htailarea>
   <htailarm  unit="FT" >    18.76 </htailarm>
   <vtailarea  unit="FT2">   25.73 </vtailarea>
   <vtailarm  unit="FT" >    18.04 </vtailarm>
   <location name="AERORP" unit="IN">
     <x>   207.84 </x>
     <y>     0.00 </y>
     <z>     0.00 </z>
   </location>
   <location name="EYEPOINT" unit="IN">
     <x>    56.29 </x>
     <y>   -18.00 </y>
     <z>    45.00 </z>
   </location>
   <location name="VRP" unit="IN">
     <x>     0.0 </x>
     <y>     0.0 </y>
     <z>     0.0 </z>
   </location>
 </metrics>

 <mass_balance>
   <ixx unit="SLUG*FT2">  11931.18 </ixx>
   <iyy unit="SLUG*FT2">   6420.77 </iyy>
   <izz unit="SLUG*FT2">  17344.61 </izz>
   <emptywt unit="LBS" >   4901.00 </emptywt>
   <location name="CG" unit="IN">
     <x>   207.84 </x>
     <y>     0.00 </y>
     <z>   -10.82 </z>
   </location>
   <pointmass name="Payload">
    <description> 4039.89 LBS should bring model up to entered max weight </description>
    <weight unit="LBS"> 2019.94 </weight>
    <location name="POINTMASS" unit="IN">
     <x>   207.84 </x>
     <y>     0.00 </y>
     <z>   -10.82 </z>
   </location>
  </pointmass>
 
  <pointmass name="station1">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y> -89 </y>
          <z>  -3 </z>
      </location>
  </pointmass>
 
   <pointmass name="station2">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y> -74 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station3">
      <weight unit="LBS"> 510 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y> -48 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station4">
      <weight unit="LBS"> 510 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y>  48 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station5">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y>  74 </y>
          <z>  -3 </z>
      </location>
   </pointmass>
   
   <pointmass name="station6">
      <weight unit="LBS"> 100 </weight>
      <location name="POINTMASS" unit="IN">
          <x> 207 </x>
          <y>  89 </y>
          <z>  -3 </z>
      </location>
  </pointmass>
 
 </mass_balance>

 <propulsion>

   <engine file="TPE331-10">
    <location unit="IN">
      <x>   373.00 </x>
      <y>     0.00 </y>
      <z>     0.00 </z>
    </location>
    <orient unit="DEG">
      <pitch>     0.00 </pitch>
       <roll>     0.00 </roll>
        <yaw>     0.00 </yaw>
    </orient>
    <feed> 0 </feed>

    <thruster file="Propeller">
     <sense> 1 </sense>
     <location unit="IN">
       <x>   373.00 </x>
       <y>     0.00 </y>
       <z>     0.00 </z>
     </location>
     <orient unit="DEG">
       <pitch>     0.00 </pitch>
        <roll>     0.00 </roll>
         <yaw>     0.00 </yaw>
     </orient>
    </thruster>
  </engine>

  <tank type="FUEL" number="0">
     <location unit="IN">
       <x>   207.84 </x>
       <y>     0.00 </y>
       <z>   -10.82 </z>
     </location>
     <capacity unit="LBS"> 776.56 </capacity>
     <contents unit="LBS"> 388.28 </contents>
  </tank>
  <tank type="FUEL" number="1">
     <location unit="IN">
       <x>   207.84 </x>
       <y>     0.00 </y>
       <z>   -10.82 </z>
     </location>
     <capacity unit="LBS"> 776.56 </capacity>
     <contents unit="LBS"> 388.28 </contents>
  </tank>

 </propulsion>

 <ground_reactions>

  <contact type="BOGEY" name="NOSE">
    <location unit="IN">
      <x>    56.29 </x>
      <y>     0.00 </y>
      <z>   -51.96 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <rolling_friction> 0.02 </rolling_friction>
    <spring_coeff  unit="LBS/FT">     3148.20 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC"> 1574.10 </damping_coeff>
    <max_steer unit="DEG"> 5.00 </max_steer>
    <brake_group> NONE </brake_group>
    <retractable> 1 </retractable>
  </contact>

  <contact type="BOGEY" name="LEFT_MAIN">
    <location unit="IN">
      <x>   216.15 </x>
      <y>   -70.83 </y>
      <z>   -51.96 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <rolling_friction> 0.02 </rolling_friction>
    <spring_coeff  unit="LBS/FT">     10494.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC"> 5247.00 </damping_coeff>
    <max_steer unit="DEG">0</max_steer>
    <brake_group> LEFT </brake_group>
    <retractable> 1 </retractable>
  </contact>

  <contact type="BOGEY" name="RIGHT_MAIN">
    <location unit="IN">
      <x>   216.15 </x>
      <y>    70.83 </y>
      <z>   -51.96 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <rolling_friction> 0.02 </rolling_friction>
    <spring_coeff  unit="LBS/FT">     10494.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC"> 5247.00 </damping_coeff>
    <max_steer unit="DEG">0</max_steer>
    <brake_group> RIGHT </brake_group>
    <retractable> 1 </retractable>
  </contact>

  <contact type="STRUCTURE" name="LEFT_WING">
    <location unit="IN">
     <x>   207.84 </x>
     <y>  -393.50 </y>
     <z>   -10.82 </z>
    </location>
   <static_friction>  1 </static_friction>
   <dynamic_friction> 1 </dynamic_friction>
   <spring_coeff unit="LBS/FT">      10494.00 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 10494.00 </damping_coeff>
  </contact>

  <contact type="STRUCTURE" name="RIGHT_WING">
    <location unit="IN">
     <x>   207.84 </x>
     <y>   393.50 </y>
     <z>   -10.82 </z>
    </location>
   <static_friction>  1 </static_friction>
   <dynamic_friction> 1 </dynamic_friction>
   <spring_coeff unit="LBS/FT">      10494.00 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 10494.00 </damping_coeff>
  </contact>

 </ground_reactions>

 <system file="Armament"/>
 <system file="Particles"/>
 <system file="Conventional Controls.xml"/>
 <system file="Landing Gear.xml"/>

 <flight_control name="FCS: MQ-9 Reaper">

 </flight_control>

 <aerodynamics>

  <axis name="LIFT">

    <function name="aero/force/Lift_alpha">
      <description>Lift due to alpha</description>
      <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/alpha-rad</independentVar>
            <tableData>
              -0.20 -0.7494
               0.00  0.4077
               0.25  1.8824
               0.60  0.9976
            </tableData>
          </table>
      </product>
    </function>

    <function name="aero/force/Lift_pitch_rate">
        <description>Lift due to pitch rate</description>
        <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>velocities/q-aero-rad_sec</property>
          <property>aero/ci2vel</property>
          <value> 6.4704 </value>
        </product>
      </function>

      <function name="aero/force/Lift_alpha_rate">
        <description>Lift due to alpha rate</description>
        <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/alphadot-rad_sec</property>
           <property>aero/ci2vel</property>
           <value> 1.8487 </value>
        </product>
      </function>

    <function name="aero/force/Lift_elevator">
       <description>Lift due to Elevator Deflection</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/elevator-pos-rad</property>
           <value> 0.2732 </value>
       </product>
    </function>

  </axis>

  <axis name="DRAG">

    <function name="aero/force/Drag_basic">
       <description>Drag at zero lift</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/alpha-rad</independentVar>
            <tableData>
             -1.57    1.4089
             -0.25    0.0508
              0.00    0.0219
              0.25    0.0508
              1.57    1.4089
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/force/Drag_induced">
       <description>Induced drag</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/cl-squared</property>
           <value> 0.0240 </value>
         </product>
    </function>

    <function name="aero/force/Drag_mach">
       <description>Drag due to mach</description>
        <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
                0.00    0.0000
                0.70    0.0000
                1.10    0.0230
                1.80    0.0150
            </tableData>
          </table>
        </product>
    </function>

    <function name="aero/force/Drag_beta">
       <description>Drag due to sideslip</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/beta-rad</independentVar>
            <tableData>
              -1.57    1.2300
              -0.26    0.0500
               0.00    0.0000
               0.26    0.0500
               1.57    1.2300
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/force/Drag_elevator">
       <description>Drag due to Elevator Deflection</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <abs><property>fcs/elevator-pos-rad</property></abs>
           <value> 0.0400 </value>
       </product>
    </function>

    <function name="aero/force/Drag_gear">
       <description>Drag due to gear</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>gear/gear-pos-norm</property>
           <value> 0.0300 </value>
         </product>
    </function>

  </axis>

  <axis name="SIDE">

    <function name="aero/force/Side_beta">
       <description>Side force due to beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/beta-rad</property>
           <value> -0.2310 </value>
       </product>
    </function>
    <function name="aero/force/Side_roll_rate">
       <description>Side force due to roll rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/bi2vel</property>
           <property>velocities/p-aero-rad_sec</property>
           <table>
             <independentVar lookup="row">aero/Re</independentVar>
             <tableData>
                 3372885   1.3390
                 3710173   0.1141
                 5059327   0.0507
                 6689612   0.0290
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/force/Side_yaw_rate">
       <description>Side force due to yaw rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <value> 0.1271 </value>
       </product>
    </function>

    <function name="aero/force/Side_rudder">
       <description>Side force due to rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/rudder-pos-rad</property>
           <value> 0.1407 </value>
       </product>
    </function>

  </axis>

  <axis name="PITCH">

    <function name="aero/moment/Pitch_alpha">
       <description>Pitch moment due to alpha</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/alpha-rad</property>
           <value> -2.3270 </value>
       </product>
    </function>

    <function name="aero/moment/Pitch_elevator">
       <description>Pitch moment due to elevator</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>metrics/cbarw-ft</property>
          <property>fcs/elevator-pos-rad</property>
          <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
              0.0    -2.0259
              2.0    -0.5065
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/moment/Pitch_damp">
       <description>Pitch moment due to pitch rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/ci2vel</property>
           <property>velocities/q-aero-rad_sec</property>
           <value> -30.9711 </value>
       </product>
    </function>

    <function name="aero/moment/Pitch_alphadot">
       <description>Pitch moment due to alpha rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/ci2vel</property>
           <property>aero/alphadot-rad_sec</property>
           <value> -8.8489 </value>
       </product>
    </function>

  </axis>

  <axis name="ROLL">

    <function name="aero/moment/Roll_beta">
       <description>Roll moment due to beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/beta-rad</property>
           <table>
             <independentVar lookup="row">aero/alpha-rad</independentVar>
             <independentVar lookup="column">aero/Re</independentVar>
             <tableData>
                          3372885  3710173  5059327  6689612
                 -0.0349  -0.2578  -0.0647  -0.0550  -0.0520
                  0.3491  -0.6826  -0.1159  -0.1086  -0.1100
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Roll_damp">
       <description>Roll moment due to roll rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/p-aero-rad_sec</property>
           <value> -0.7313 </value>
       </product>
    </function>

    <function name="aero/moment/Roll_yaw">
       <description>Roll moment due to yaw rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <table>
             <independentVar lookup="row">aero/alpha-rad</independentVar>
             <independentVar lookup="column">aero/Re</independentVar>
             <tableData>
                          3372885  3710173  5059327  6689612
                 -0.0349   0.1627   0.0587   0.0533   0.0514
                  0.3491   4.8174   0.6140   0.6086   0.6068
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Roll_aileron">
       <description>Roll moment due to aileron</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>metrics/bw-ft</property>
          <property>fcs/left-aileron-pos-rad</property>
           <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
              0.0    0.1700
              2.0    0.0425
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/moment/Roll_rudder">
       <description>Roll moment due to rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/rudder-pos-rad</property>
           <value> 0.0100 </value>
       </product>
    </function>

  </axis>

  <axis name="YAW">

    <!-- Stall initiator -->
    <function name="aero/moment/Yaw_alpha">
       <description>Yaw moment due to alpha</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/alpha-rad</property>
           <table>
             <independentVar lookup="row">aero/beta-rad</independentVar>
             <independentVar lookup="column">aero/Re</independentVar>
             <tableData>
                          3372885  3710173
                 -0.3491  -1.0000   0.0000
                  0.3491   1.0000   0.0000
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Yaw_beta">
       <description>Yaw moment due to beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/beta-rad</property>
           <value> 0.0635 </value>
       </product>
    </function>

    <function name="aero/moment/Yaw_roll_rate">
       <description>Yaw moment due to roll rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/p-rad_sec</property>
           <table>
             <independentVar lookup="row">aero/Re</independentVar>
             <tableData>
                 3372885  -2.3531
                 3710173  -0.2005
                 5059327  -0.0891
                 6689612  -0.0510
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Yaw_damp">
       <description>Yaw moment due to yaw rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <value> -0.0474 </value>
       </product>
    </function>

    <function name="aero/moment/Yaw_rudder">
       <description>Yaw moment due to rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/rudder-pos-rad</property>
           <value> -0.0387 </value>
       </product>
    </function>

    <function name="aero/moment/Yaw_aileron">
       <description>Adverse yaw</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/left-aileron-pos-rad</property>
           <value> -0.0100 </value>
       </product>
    </function>

  </axis>

 </aerodynamics>

 <external_reactions>
 </external_reactions>

</fdm_config>


MQ-9-JSBSim2.xml

Code: Select all
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>

<fdm_config name="MQ-9 Reaper" version="2.0" release="ALPHA"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">

 <fileheader>
  <author> Aeromatic v 3.2.5 </author>
  <filecreationdate> 05 Jul 2016 </filecreationdate>
  <version>$Revision: 1.26 $</version>
  <description> Models a MQ-9 Reaper. </description>
 </fileheader>

<!--
  File:     MQ-9 Reaper.xml
  Inputs:
    name:          MQ-9 Reaper
    type:          light commuter with 1 engines
    stall speed:   80.00kts
    max weight:    10494.00 lb
    length:        36.08 ft
    wing:
     span:         65.58 ft
     area:         257.28 sq-ft
     mean chord:   3.92 ft
     aspect ratio: 12.00:1
     taper ratio:  1.00:1
     incidence:    2.00 degrees
     dihedral:     2.00 degrees
     sweep:        5.00 degrees

    no. engines:   1
    engine type:   Turboprop Engine
    engine layout: aft fuselage

    gear type:     tricycle
    steering type: steering
    retractable?:  yes

  Outputs:
    wing loading:  40.79 lb/sq-ft
    payload:       4039.89 lbs
    CL-alpha:      5.79 per radian
    CL-0:          0.41
    CL-max:        1.88
    CD-0:          0.02
    K:             0.04
    Mcrit:         0.70
-->

 <metrics>
   <wingarea  unit="FT2">   257.28 </wingarea>
   <wingspan  unit="FT" >    65.58 </wingspan>
   <wing_incidence>           2.00 </wing_incidence>
   <chord     unit="FT" >     3.92 </chord>
   <htailarea unit="FT2">    41.17 </htailarea>
   <htailarm  unit="FT" >    18.76 </htailarm>
   <vtailarea  unit="FT2">   25.73 </vtailarea>
   <vtailarm  unit="FT" >    18.04 </vtailarm>
   <location name="AERORP" unit="IN">
     <x>   207.84 </x>
     <y>     0.00 </y>
     <z>     0.00 </z>
   </location>
   <location name="EYEPOINT" unit="IN">
     <x>    56.29 </x>
     <y>   -18.00 </y>
     <z>    45.00 </z>
   </location>
   <location name="VRP" unit="IN">
     <x>     0.0 </x>
     <y>     0.0 </y>
     <z>     0.0 </z>
   </location>
 </metrics>

 <mass_balance>
   <ixx unit="SLUG*FT2">  11931.18 </ixx>
   <iyy unit="SLUG*FT2">   6420.77 </iyy>
   <izz unit="SLUG*FT2">  17344.61 </izz>
   <emptywt unit="LBS" >   4901.00 </emptywt>
   <location name="CG" unit="IN">
     <x>   207.84 </x>
     <y>     0.00 </y>
     <z>   -10.82 </z>
   </location>
   <pointmass name="Payload">
    <description> 4039.89 LBS should bring model up to entered max weight </description>
    <weight unit="LBS"> 2019.94 </weight>
    <location name="POINTMASS" unit="IN">
     <x>   207.84 </x>
     <y>     0.00 </y>
     <z>   -10.82 </z>
   </location>
  </pointmass>
 </mass_balance>

 <propulsion>

   <engine file="TPE331-10">
    <location unit="IN">
      <x>   373.00 </x>
      <y>     0.00 </y>
      <z>     0.00 </z>
    </location>
    <orient unit="DEG">
      <pitch>     0.00 </pitch>
       <roll>     0.00 </roll>
        <yaw>     0.00 </yaw>
    </orient>
    <feed> 0 </feed>

    <thruster file="Propeller">
     <sense> 1 </sense>
     <location unit="IN">
       <x>   373.00 </x>
       <y>     0.00 </y>
       <z>     0.00 </z>
     </location>
     <orient unit="DEG">
       <pitch>     0.00 </pitch>
        <roll>     0.00 </roll>
         <yaw>     0.00 </yaw>
     </orient>
    </thruster>
  </engine>

  <tank type="FUEL" number="0">
     <location unit="IN">
       <x>   207.84 </x>
       <y>     0.00 </y>
       <z>   -10.82 </z>
     </location>
     <capacity unit="LBS"> 776.56 </capacity>
     <contents unit="LBS"> 388.28 </contents>
  </tank>
  <tank type="FUEL" number="1">
     <location unit="IN">
       <x>   207.84 </x>
       <y>     0.00 </y>
       <z>   -10.82 </z>
     </location>
     <capacity unit="LBS"> 776.56 </capacity>
     <contents unit="LBS"> 388.28 </contents>
  </tank>

 </propulsion>

 <ground_reactions>

  <contact type="BOGEY" name="NOSE">
    <location unit="IN">
      <x>    56.29 </x>
      <y>     0.00 </y>
      <z>   -51.96 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <rolling_friction> 0.02 </rolling_friction>
    <spring_coeff  unit="LBS/FT">     3148.20 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC"> 1574.10 </damping_coeff>
    <max_steer unit="DEG"> 5.00 </max_steer>
    <brake_group> NONE </brake_group>
    <retractable> 1 </retractable>
  </contact>

  <contact type="BOGEY" name="LEFT_MAIN">
    <location unit="IN">
      <x>   216.15 </x>
      <y>   -70.83 </y>
      <z>   -51.96 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <rolling_friction> 0.02 </rolling_friction>
    <spring_coeff  unit="LBS/FT">     10494.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC"> 5247.00 </damping_coeff>
    <max_steer unit="DEG">0</max_steer>
    <brake_group> LEFT </brake_group>
    <retractable> 1 </retractable>
  </contact>

  <contact type="BOGEY" name="RIGHT_MAIN">
    <location unit="IN">
      <x>   216.15 </x>
      <y>    70.83 </y>
      <z>   -51.96 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <rolling_friction> 0.02 </rolling_friction>
    <spring_coeff  unit="LBS/FT">     10494.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC"> 5247.00 </damping_coeff>
    <max_steer unit="DEG">0</max_steer>
    <brake_group> RIGHT </brake_group>
    <retractable> 1 </retractable>
  </contact>

  <contact type="STRUCTURE" name="LEFT_WING">
    <location unit="IN">
     <x>   207.84 </x>
     <y>  -393.50 </y>
     <z>   -10.82 </z>
    </location>
   <static_friction>  1 </static_friction>
   <dynamic_friction> 1 </dynamic_friction>
   <spring_coeff unit="LBS/FT">      10494.00 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 10494.00 </damping_coeff>
  </contact>

  <contact type="STRUCTURE" name="RIGHT_WING">
    <location unit="IN">
     <x>   207.84 </x>
     <y>   393.50 </y>
     <z>   -10.82 </z>
    </location>
   <static_friction>  1 </static_friction>
   <dynamic_friction> 1 </dynamic_friction>
   <spring_coeff unit="LBS/FT">      10494.00 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 10494.00 </damping_coeff>
  </contact>

 </ground_reactions>

 <system file="Particles"/>
 <system file="Conventional Controls.xml"/>
 <system file="Landing Gear.xml"/>

 <flight_control name="FCS: MQ-9 Reaper">

 </flight_control>

 <aerodynamics>

  <axis name="LIFT">

    <function name="aero/force/Lift_alpha">
      <description>Lift due to alpha</description>
      <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/alpha-rad</independentVar>
            <tableData>
              -0.20 -0.7494
               0.00  0.4077
               0.25  1.8824
               0.60  0.9976
            </tableData>
          </table>
      </product>
    </function>

    <function name="aero/force/Lift_pitch_rate">
        <description>Lift due to pitch rate</description>
        <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>velocities/q-aero-rad_sec</property>
          <property>aero/ci2vel</property>
          <value> 6.4704 </value>
        </product>
      </function>

      <function name="aero/force/Lift_alpha_rate">
        <description>Lift due to alpha rate</description>
        <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/alphadot-rad_sec</property>
           <property>aero/ci2vel</property>
           <value> 1.8487 </value>
        </product>
      </function>

    <function name="aero/force/Lift_elevator">
       <description>Lift due to Elevator Deflection</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/elevator-pos-rad</property>
           <value> 0.2732 </value>
       </product>
    </function>

  </axis>

  <axis name="DRAG">

    <function name="aero/force/Drag_basic">
       <description>Drag at zero lift</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/alpha-rad</independentVar>
            <tableData>
             -1.57    1.4089
             -0.25    0.0508
              0.00    0.0219
              0.25    0.0508
              1.57    1.4089
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/force/Drag_induced">
       <description>Induced drag</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/cl-squared</property>
           <value> 0.0240 </value>
         </product>
    </function>

    <function name="aero/force/Drag_mach">
       <description>Drag due to mach</description>
        <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
                0.00    0.0000
                0.70    0.0000
                1.10    0.0230
                1.80    0.0150
            </tableData>
          </table>
        </product>
    </function>

    <function name="aero/force/Drag_beta">
       <description>Drag due to sideslip</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/beta-rad</independentVar>
            <tableData>
              -1.57    1.2300
              -0.26    0.0500
               0.00    0.0000
               0.26    0.0500
               1.57    1.2300
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/force/Drag_elevator">
       <description>Drag due to Elevator Deflection</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <abs><property>fcs/elevator-pos-rad</property></abs>
           <value> 0.0400 </value>
       </product>
    </function>

    <function name="aero/force/Drag_gear">
       <description>Drag due to gear</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>gear/gear-pos-norm</property>
           <value> 0.0300 </value>
         </product>
    </function>

  </axis>

  <axis name="SIDE">

    <function name="aero/force/Side_beta">
       <description>Side force due to beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/beta-rad</property>
           <value> -0.2310 </value>
       </product>
    </function>
    <function name="aero/force/Side_roll_rate">
       <description>Side force due to roll rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/bi2vel</property>
           <property>velocities/p-aero-rad_sec</property>
           <table>
             <independentVar lookup="row">aero/Re</independentVar>
             <tableData>
                 3372885   1.3390
                 3710173   0.1141
                 5059327   0.0507
                 6689612   0.0290
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/force/Side_yaw_rate">
       <description>Side force due to yaw rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <value> 0.1271 </value>
       </product>
    </function>

    <function name="aero/force/Side_rudder">
       <description>Side force due to rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/rudder-pos-rad</property>
           <value> 0.1407 </value>
       </product>
    </function>

  </axis>

  <axis name="PITCH">

    <function name="aero/moment/Pitch_alpha">
       <description>Pitch moment due to alpha</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/alpha-rad</property>
           <value> -2.3270 </value>
       </product>
    </function>

    <function name="aero/moment/Pitch_elevator">
       <description>Pitch moment due to elevator</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>metrics/cbarw-ft</property>
          <property>fcs/elevator-pos-rad</property>
          <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
              0.0    -2.0259
              2.0    -0.5065
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/moment/Pitch_damp">
       <description>Pitch moment due to pitch rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/ci2vel</property>
           <property>velocities/q-aero-rad_sec</property>
           <value> -30.9711 </value>
       </product>
    </function>

    <function name="aero/moment/Pitch_alphadot">
       <description>Pitch moment due to alpha rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/ci2vel</property>
           <property>aero/alphadot-rad_sec</property>
           <value> -8.8489 </value>
       </product>
    </function>

  </axis>

  <axis name="ROLL">

    <function name="aero/moment/Roll_beta">
       <description>Roll moment due to beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/beta-rad</property>
           <table>
             <independentVar lookup="row">aero/alpha-rad</independentVar>
             <independentVar lookup="column">aero/Re</independentVar>
             <tableData>
                          3372885  3710173  5059327  6689612
                 -0.0349  -0.2578  -0.0647  -0.0550  -0.0520
                  0.3491  -0.6826  -0.1159  -0.1086  -0.1100
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Roll_damp">
       <description>Roll moment due to roll rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/p-aero-rad_sec</property>
           <value> -0.7313 </value>
       </product>
    </function>

    <function name="aero/moment/Roll_yaw">
       <description>Roll moment due to yaw rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <table>
             <independentVar lookup="row">aero/alpha-rad</independentVar>
             <independentVar lookup="column">aero/Re</independentVar>
             <tableData>
                          3372885  3710173  5059327  6689612
                 -0.0349   0.1627   0.0587   0.0533   0.0514
                  0.3491   4.8174   0.6140   0.6086   0.6068
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Roll_aileron">
       <description>Roll moment due to aileron</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>metrics/bw-ft</property>
          <property>fcs/left-aileron-pos-rad</property>
           <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
              0.0    0.1700
              2.0    0.0425
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/moment/Roll_rudder">
       <description>Roll moment due to rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/rudder-pos-rad</property>
           <value> 0.0100 </value>
       </product>
    </function>

  </axis>

  <axis name="YAW">

    <!-- Stall initiator -->
    <function name="aero/moment/Yaw_alpha">
       <description>Yaw moment due to alpha</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/alpha-rad</property>
           <table>
             <independentVar lookup="row">aero/beta-rad</independentVar>
             <independentVar lookup="column">aero/Re</independentVar>
             <tableData>
                          3372885  3710173
                 -0.3491  -1.0000   0.0000
                  0.3491   1.0000   0.0000
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Yaw_beta">
       <description>Yaw moment due to beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/beta-rad</property>
           <value> 0.0635 </value>
       </product>
    </function>

    <function name="aero/moment/Yaw_roll_rate">
       <description>Yaw moment due to roll rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/p-rad_sec</property>
           <table>
             <independentVar lookup="row">aero/Re</independentVar>
             <tableData>
                 3372885  -2.3531
                 3710173  -0.2005
                 5059327  -0.0891
                 6689612  -0.0510
             </tableData>
           </table>
       </product>
    </function>

    <function name="aero/moment/Yaw_damp">
       <description>Yaw moment due to yaw rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <value> -0.0474 </value>
       </product>
    </function>

    <function name="aero/moment/Yaw_rudder">
       <description>Yaw moment due to rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/rudder-pos-rad</property>
           <value> -0.0387 </value>
       </product>
    </function>

    <function name="aero/moment/Yaw_aileron">
       <description>Adverse yaw</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/left-aileron-pos-rad</property>
           <value> -0.0100 </value>
       </product>
    </function>

  </axis>

 </aerodynamics>

 <external_reactions>
 </external_reactions>

</fdm_config>
Retired
User avatar
pjedvaj
 
Posts: 682
Joined: Thu Mar 18, 2010 9:32 pm

Re: Announcing New UAV MQ-9 Predator B

Postby J Maverick 16 » Wed Jul 06, 2016 2:19 pm

Starting the MQ-9 with the new FDM and FG crashes by giving this error:

Code: Select all
FGPropertyManager::GetNode() No node found for /ai/submodels/contrails
 Could not open system file: Conventional Controls.xml in path /Applications/FlightGear.app/Contents/Resources/../Resources/data/Aircraft/Generic/JSBSim/Systems/ or /Applications/FlightGear.app/Contents/Resources/../Resources/data/Aircraft/MQ-9/Systems/
No filename given.
Error loading file

Aircraft system element has problems in file /Applications/FlightGear.app/Contents/Resources/../Resources/data/Aircraft/MQ-9/MQ-9-JSBSim.xml
Unknown exception in the main loop. Aborting...
Possible cause: No such file or directory


Regards, Maverick
Breakin' the sound barrier every day!

Scenery designer, basic livery maker, aircraft developer (KC-137R, F-16, A330, C-32J, MH-60)
Flying with Thrustmaster FCS Flight Pack + MFD Cougar
Aviation media on IG at: @j_maverick16.aviation
User avatar
J Maverick 16
 
Posts: 910
Joined: Sat Feb 01, 2014 7:26 pm
Location: Northern Italy
Callsign: J-Mav16
Version: 2020.3.19
OS: macOS

Re: Announcing New UAV MQ-9 Predator B

Postby wlbragg » Wed Jul 06, 2016 5:42 pm

I'm getting a bit confused. I worked on adding the new FDM first to the bombable version then the regular version, I had the same issues with both. A minor issue I haven't sorted out was the prop animation, old version uses engines/engine[0]/n2 and the new FDM only provides engines/engine[0]/n1. After making the change to the prop spin and blur animations it still didn't work and I ended up with a PropBlur object not found. I still need to track that down.

The other issue I am not entirely sure how to debug is 100% n1 prop thrust is barely moving the UAV. I really don't know where to look for that issue as it appears to be in the FDM itself?

Erik, if you get a chance, maybe you could double check this?

My confusion is why the two versions, bombable vs not bombable? Why not make it all inclusive and give a choice to arm or not?

And @ pjedvaj, your comments about adding the two bombable systems two the new FDM don't really apply if I am adding the new FDM to the current bombable version, right?

One other issue is I can't import the ac file into Blender. Is there a .blend available or a pointer to the correct ac import script?
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7587
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Announcing New UAV MQ-9 Predator B

Postby falafel » Wed Jul 06, 2016 8:16 pm

I just updated the github repo with the latest graphics by pjedvaj.
falafel
 
Posts: 73
Joined: Mon Nov 09, 2009 11:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Announcing New UAV MQ-9 Predator B

Postby erik » Wed Jul 06, 2016 9:53 pm

I'll see if I have some time this weekend.

Erik
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2244
Joined: Thu Nov 01, 2007 2:41 pm

Re: Announcing New UAV MQ-9 Predator B

Postby falafel » Thu Jul 07, 2016 1:17 pm

Bounty:
Bring the Predator from Alpha to Beta:
$50 - Enhance the FDM. (Avionics)
$0 - Add The HUD as in the pic in the beginning of this topic with calculation for TGT LAT, LON, distance. (- $50 as I already did big part of it)
$50 - Add Ground control view with instruments.

Conditions:
It has to be good quality work, so we can move forward to bring this UAV to production level and be a flagship model in FlightGear.
Last edited by falafel on Fri Jul 08, 2016 4:15 pm, edited 2 times in total.
falafel
 
Posts: 73
Joined: Mon Nov 09, 2009 11:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Announcing New UAV MQ-9 Predator B

Postby wlbragg » Thu Jul 07, 2016 6:03 pm

FYI: Blender Import/Export script version 2.10 successfully imports the .ac
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7587
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Announcing New UAV MQ-9 Predator B

Postby wlbragg » Thu Jul 07, 2016 7:07 pm

@Erik,

Clues:

engines/engine/n1 at init starts a windup to 60 and from 60+ moves slowly by the .1000's.

engines/engine/n1 does not appear to go below 60 once it is set past 60.

engines/engine/n1 winds up from 99.9 to 100 extremely slowly.

The windup range of n1 from 60 to 100 is incredibly slow time wise.

n1 at 100 percent is minimal thrust.

So I think there may be something not quite right there.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7587
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Announcing New UAV MQ-9 Predator B

Postby falafel » Thu Jul 07, 2016 9:25 pm

I started working on the HUD, I will upload the hud as a new branch to my git repo.
Image
falafel
 
Posts: 73
Joined: Mon Nov 09, 2009 11:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Announcing New UAV MQ-9 Predator B

Postby J Maverick 16 » Thu Jul 07, 2016 9:28 pm

Nice!
Can't wait to fly it.
Regards, Maverick
Breakin' the sound barrier every day!

Scenery designer, basic livery maker, aircraft developer (KC-137R, F-16, A330, C-32J, MH-60)
Flying with Thrustmaster FCS Flight Pack + MFD Cougar
Aviation media on IG at: @j_maverick16.aviation
User avatar
J Maverick 16
 
Posts: 910
Joined: Sat Feb 01, 2014 7:26 pm
Location: Northern Italy
Callsign: J-Mav16
Version: 2020.3.19
OS: macOS

Re: Announcing New UAV MQ-9 Predator B

Postby pjedvaj » Fri Jul 08, 2016 6:58 am

I guess you need to use direct instead of propeller in FDM to get it running.
Retired
User avatar
pjedvaj
 
Posts: 682
Joined: Thu Mar 18, 2010 9:32 pm

Re: Announcing New UAV MQ-9 Predator B

Postby erik » Fri Jul 08, 2016 9:28 am

I've put an updated version here:
http://adalin.com/ehtw.info/MQ-9.zip

* adjusted propeller diameter and number of blades
* used more Turboprop parameters

It accelerates quickly towards 200kts now.

Note that there is a bug in the HUD, it displays velocity a factor 10 or more too low.

Erik
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2244
Joined: Thu Nov 01, 2007 2:41 pm

Re: Announcing New UAV MQ-9 Predator B

Postby falafel » Fri Jul 08, 2016 10:42 am

Hi Erik,
Merging your code:
Am I doing the right thing? I removed the FDM files from the original source: MQ-9-JSBSim-set.xml and MQ-9-JSBSim-set.xml. I copied over the files in your zip into my original aircraft.
renamed your xml to the names of the files I deleted.
I am able now to takeoff and it seems that the FDM is working , but I do not get the sounds when starting the engine and neither I see the props moving.
falafel
 
Posts: 73
Joined: Mon Nov 09, 2009 11:42 am
Callsign: falafel
Version: 2
OS: Linux

Re: Announcing New UAV MQ-9 Predator B

Postby erik » Fri Jul 08, 2016 11:22 am

You shouldn't be deleting the *-set files but that's probably a typo.

For it to work properly you will need to integrate the changes. By just copying the files you may loose additional code which AeromatiC++ does not generate automatically.

Erik
Current: Parachutist, Paraglider, Pterosaur, Pilatus PC-9M and variants, ERCO Ercoupe, Fokker Dr.1, Fokker 50, Fokker 100
Less active: Cessna T-37, T-38, Santa Claus. Previous: General Dynamics F-16. Worked on: Wright Flyer
erik
 
Posts: 2244
Joined: Thu Nov 01, 2007 2:41 pm

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 18 guests