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 » Mon Nov 09, 2020 12:30 pm

I am back.
Sorry for the lapse. I am now full into FlightSim.
I will be available to help on the development of the MQ9.
Please let me know the current status and if you need anything from me.


J Maverick 16 wrote in Wed May 24, 2017 5:24 pm:
wlbragg wrote in Wed May 24, 2017 3:42 am:I am not sure the best way to distribute these additions as we already have a few repos,
https://github.com/JMaverick16/MQ-9
https://github.com/meirm/MQ-9
and fgaddon. Who is the fgaddon administrator?

Should I make my own clone of meirm and us it to do a PR to meirm, or push changes to fgaddon or is anyone even interested in these additions?
If no one speak up I will probably make my own clone and work out of it for any future changes.

Mine and the origin one (meirm's) are at the same point, since he merged my latest update.
The best idea would be to work on that repo since it's the original so meirm should give you a push access to the repo.
@it0uchpods I've checked FGMEMBERS' and I have to say it's not updated and it's commits ahead are already included in the main repo so no need to care with it ;) .
OR
I give push access to wlbragg to my repo and we keep working on mine which can then be merged in meirm's one.

Personally I prefer the first option which works better for all (me included), especially if I could have push access to it too so we avoid multiple useless forks which just complicates everything.
My point of view ;) .
Cheers, Maverick
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 » Fri Nov 13, 2020 10:54 am

That sounds great! I've did a few changes to it since then, mostly to keep OPRF compatibility with regard to the damage code, plus backported revised GBU-12 3D modifications from the F-16. It will need a lot of work now since we switched to a more complex and realistic communication system based on Emesary which doesn't rely on MPchat messages to deal damage across assets.

One of the ideas that I remember discussing some time ago was including it as an autonomous asset which could be programmed with a route and follow it for recon/lasing and similar. Maybe we can work towards that direction and make it more useable within the OPRF scope of missions.
Lemme know your thoughts!
Regards, Mav
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 » Fri Nov 13, 2020 11:02 am

Yeah, my thought were along that line and also maybe a monitoring station for remote control, route management and monitoring and surveillance. That would be really cool!
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
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 Johan G » Sat Nov 14, 2020 1:50 pm

I dont know why I keep stumbling on interesting things a couple of days before there are of interest.
wlbragg wrote in Fri Nov 13, 2020 11:02 am:[...] also maybe a monitoring station for remote control, route management and monitoring and surveillance.

You might find some interesting ideas in this thesis, where a student in Linköping (the home town of Saab aircraft) is making a simulator for an UAV ground station/remote controller:

Jonatan Rugarn, Rapid Development of Realistic UAV Simulations, Department of Computer and Information Science, Linköping University, February 2009 (PDF, 900 kB)

Page 16-18 in particular might be of interest.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6625
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Announcing New UAV MQ-9 Predator B

Postby Skydive » Fri Feb 19, 2021 11:41 pm

Hi Mav,

I've played around with this UAV a bit.

I've stumbled upon this image http://2.bp.blogspot.com/--auaTG9wXRY/Vklk-o0yp-I/AAAAAAAAAEM/i2160fejHHc/s1600/HUD.JPG

Reworked your HUD trying to somewhat mimic it

I've also added keys to turn laser on and off, as well as toggle IR filters. To make it work one might have to modify

MQ-9-JSBSim-set.xml and MQ-9-JSBSim2-set.xml

1. Hud section (changed order, added white)
Code: Select all
      <hud>
         <path n="1">Aircraft/MQ-9/HUD.xml</path>
         <visibility n="1">true</visibility>
   
         <palette>
            <color n="0">
               <alpha type="float">0.85</alpha>
               <antialiased type="bool">true</antialiased>
               <brightness type="float">0.85</brightness>
               <transparent type="bool">true</transparent>
               <red type="float">0.38</red>
               <green type="float">1.0</green>
               <blue type="float">0.22</blue>
            </color>
            <color n="1">
               <alpha type="float">0.85</alpha>
               <antialiased type="bool">true</antialiased>
               <brightness type="float">0.85</brightness>
               <transparent type="bool">true</transparent>
               <red type="float">1.0</red>
               <green type="float">1.0</green>
               <blue type="float">1.0</blue>
            </color>
            <color n="2">
               <alpha type="float">0.85</alpha>
               <antialiased type="bool">true</antialiased>
               <brightness type="float">0.85</brightness>
               <transparent type="bool">true</transparent>
               <red type="float">1.0</red>
               <green type="float">0.2</green>
               <blue type="float">0.0</blue>
            </color>
         </palette>
   
      </hud>


2. Help section (added keys description)

Code: Select all
<help>
         
         <title>General Atomics MQ-9 Reaper</title>
         
         <key>
            <name>1/2/3/4/5/6</name>
            <desc>Select station</desc>
         </key>
         
         <key>
            <name>d</name>
            <desc>Deselect all stations</desc>
         </key>

         <key>
            <name>Ctrl-O</name>
            <desc>Toggle IR ON/OFF</desc>
         </key>

         <key>
            <name>Ctrl-L</name>
            <desc>Toggle Laser ON/OFF</desc>
         </key>
         
         <key>
            <name>f</name>
            <desc>Release selected station</desc>
         </key>

         <line>MQ-9 > Autostart</line>
         <line>MQ-9 > Select Livery</line>
         <line>Move sensors with RMB in Sensor View</line>
         <line>HUD will follow view</line>
         <line>Parking brake is on</line>
         
</help>


3. Keyboard input section (keys to toggle Laser and Infrared ON/OFF

Code: Select all
<key n="12">
                <name>Ctrl-l</name>
                <desc>LaserArm</desc>
                <binding>
                  <command>property-toggle</command>
                  <property>/controls/armament/laserarm</property>
                </binding>
             </key>

         <key n="15">
                <name>Ctrl-O</name>
                <desc>Toggle IR</desc>
                <binding>
                  <command>property-toggle</command>
                  <property>/sim/rendering/als-filters/use-filtering</property>
                </binding>
            <binding>
                  <command>property-toggle</command>
                  <property>/sim/rendering/als-filters/use-IR-vision</property>
                </binding>
            <binding>
               <command>property-toggle</command>
               <property>/sim/hud/current-color</property>
            </binding>
             </key>


4. Controls to toggle laser on and off

Code: Select all
<controls>
      <armament>
         <masterarm type="bool">false</masterarm>
         <laserarm type="bool">false</laserarm>
      </armament>
      <engines>
         <run1 type="bool">true</run1>
         <start1 type="bool">false</start1>
         <abort1 type="bool">false</abort1>      
      </engines>
 
      <gear>
         <brake-parking type="double">1</brake-parking>
      </gear>
</controls>



Please give it a go and see if you like it

Kind regards,
Skydive
Last edited by Skydive on Sun Feb 21, 2021 11:13 pm, edited 1 time in total.
User avatar
Skydive
 
Posts: 42
Joined: Thu Mar 02, 2017 2:45 am
Location: Ireland
Version: 2020.3.11
OS: Linux (Pop!_OS)

Re: Announcing New UAV MQ-9 Predator B

Postby Skydive » Fri Feb 19, 2021 11:43 pm

Something like that

Image

Complete MQ-9-JSBSim-set.xml as a sample

Code: Select all
<?xml version="1.0"?>

<PropertyList include="Aircraft/Generic/Human/Include/walker-include.xml">

   <sim>
   
      <description>General Atomics MQ-9 Reaper (bombable)</description>
      <aircraft-version>1.2</aircraft-version>
      <author>Petar Jedvaj, J Maverick 16</author>
      <status>Alpha</status>
      <rating>
         <FDM type="int">1</FDM>
         <systems type="int">1</systems>
         <cockpit type="int">1</cockpit>
         <model type="int">2</model>
      </rating>
      <flight-model>jsb</flight-model>
      <aero>MQ-9-JSBSim</aero>
      
      <startup>
         <splash-texture>Aircraft/MQ-9/Splash.png</splash-texture>
      </startup>

      <minimum-fg-version>2018.2</minimum-fg-version>
   
       <model>
         <path>Aircraft/MQ-9/Models/MQ-9.xml</path>
         <livery>
            <file type="string"/>
         </livery>
         <turret n="0">
              <heading>0</heading>
              <pitch>10</pitch>
         </turret>
           <walker>
               <gender>1</gender>
               <altitude-ft>-5.0</altitude-ft>
           </walker>
            <map>
                <default_exit>
                    <x-offset-m type="float">-0.35</x-offset-m>
                    <y-offset-m type="float">-0.84</y-offset-m>
                </default_exit>
            </map>
       </model>
      
      <submodels>
         <serviceable type="bool">1</serviceable>
         <path>Aircraft/MQ-9/Models/Submodels.xml</path>
      </submodels>
      
      <sound>
         <path>Aircraft/MQ-9/Sounds/Sounds.xml</path>
      </sound>
      
      <systems>
         <electrical>
            <path>Aircraft/Generic/generic-electrical.xml</path>
         </electrical>
      </systems>
      
      <mp-systems>
         <radar-enabled type="bool">true</radar-enabled>
         <ecm-rwr-enabled type="bool">true</ecm-rwr-enabled>
         <combat-enabled type="bool">true</combat-enabled>
      </mp-systems>
      
      <instrumentation>
         <radar-altimeter>
            <limit-bug type="double">250</limit-bug>
         </radar-altimeter>
         
         <warnings>
            <master-caution type="bool">0</master-caution>
         </warnings>
      </instrumentation>
      
      <!-- HUD -->
      <hud>
         <path n="1">Aircraft/MQ-9/HUD.xml</path>
         <visibility n="1">true</visibility>
   
         <palette>
            <color n="0">
               <alpha type="float">0.85</alpha>
               <antialiased type="bool">true</antialiased>
               <brightness type="float">0.85</brightness>
               <transparent type="bool">true</transparent>
               <red type="float">0.38</red>
               <green type="float">1.0</green>
               <blue type="float">0.22</blue>
            </color>
            <color n="1">
               <alpha type="float">0.85</alpha>
               <antialiased type="bool">true</antialiased>
               <brightness type="float">0.85</brightness>
               <transparent type="bool">true</transparent>
               <red type="float">1.0</red>
               <green type="float">1.0</green>
               <blue type="float">1.0</blue>
            </color>
            <color n="2">
               <alpha type="float">0.85</alpha>
               <antialiased type="bool">true</antialiased>
               <brightness type="float">0.85</brightness>
               <transparent type="bool">true</transparent>
               <red type="float">1.0</red>
               <green type="float">0.2</green>
               <blue type="float">0.0</blue>
            </color>
         </palette>
   
      </hud>
      
      <!-- View -->
      
      <view n="100">
         <name>Sensor View</name>
         <type>lookfrom</type>
         <internal archive="y">true</internal>
         <config>
            <from-model type="bool">true</from-model>
            <from-model-idx type="int">0</from-model-idx>
            <ground-level-nearplane-m type="double">0.01f</ground-level-nearplane-m>
            <pitch-offset-deg>-5</pitch-offset-deg>
            <x-offset-m archive="y">  0.0000 </x-offset-m>
            <y-offset-m archive="y"> -0.2792 </y-offset-m>
            <z-offset-m archive="y"> -4.3564 </z-offset-m>
            <default-field-of-view-deg> 70 </default-field-of-view-deg>
            <limits>
               <left>
                  <heading-max-deg>-179</heading-max-deg>
                  <x-offset-threshold-deg>0</x-offset-threshold-deg>
                  <x-offset-max-m>0</x-offset-max-m>
               </left>
               <right>
                  <heading-max-deg>179</heading-max-deg>
                  <x-offset-threshold-deg>0</x-offset-threshold-deg>
                  <x-offset-max-m>0</x-offset-max-m>
               </right>
               <enabled>1</enabled>
            </limits>
         </config>
      </view>
      
      <!-- Menu -->

      <menubar>
         <default>
            <menu n="100">
               
               <label>MQ-9</label>
               <enabled type="bool">true</enabled>
               
               <item>
                  <label>Autostart</label>
                  <binding>
                     <command>property-toggle</command>
                     <property>controls/engines/start1</property> 
                  </binding>
                  <binding>
                     <command>property-toggle</command>
                     <property>controls/engines/run1</property> 
                  </binding>
                  <binding>
                     <command>property-toggle</command>
                     <property>controls/engines/abort1</property>
                  </binding>
                  <mod-up>
                     <binding>
                        <command>null</command>
                     </binding>
                  </mod-up>   
               </item>
               

               <item>
                  <label>Select Livery</label>
                  <binding>
                     <command>nasal</command>
                     <script>aircraft.livery.dialog.toggle()</script>
                  </binding>
               </item>
               
            </menu>
         </default>
      </menubar>
      
      <!-- Help -->

      <help>
         
         <title>General Atomics MQ-9 Reaper</title>
         
         <key>
            <name>1/2/3/4/5/6</name>
            <desc>Select station</desc>
         </key>
         
         <key>
            <name>d</name>
            <desc>Deselect all stations</desc>
         </key>

         <key>
            <name>Ctrl-O</name>
            <desc>Toggle IR ON/OFF</desc>
         </key>

         <key>
            <name>Ctrl-L</name>
            <desc>Toggle Laser ON/OFF</desc>
         </key>

         <key>
            <name>Shift-L</name>
            <desc>Toggle All Lights ON/OFF</desc>
         </key>
         
         <key>
            <name>f</name>
            <desc>Release selected station</desc>
         </key>

         <line>MQ-9 > Autostart</line>
         <line>MQ-9 > Select Livery</line>
         <line>Move sensors with RMB in Sensor View</line>
         <line>HUD will follow view</line>
         <line>Parking brake is on</line>
         
      </help>
      
   </sim>

   <!-- MP Damage -->

   <payload>
      <armament>
         <msg type="bool">true</msg>
      </armament>
   </payload>
   
   <!-- Armament -->
   
   <fdm>
      <jsbsim>
         <systems>
            <armament>
               <station1>
                  <selected type="double">0</selected>
               </station1>
               <station2>
                  <selected type="double">0</selected>
               </station2>
               <station3>
                  <selected type="double">0</selected>
               </station3>
               <station4>
                  <selected type="double">0</selected>
               </station4>
               <station5>
                  <selected type="double">0</selected>
               </station5>
               <station6>
                  <selected type="double">0</selected>
               </station6>
            </armament>
         </systems>
      </jsbsim>
   </fdm>

   <!-- Keyboard -->

   <input>
      <keyboard>
         
         <key n="49">
            <name>1</name>
            <desc>Station 1</desc>
            <binding>
                <command>property-toggle</command>
               <property>fdm/jsbsim/systems/armament/station1/selected</property>
               <!-- <value>1</value> -->
            </binding>
         </key>

         <key n="50">
            <name>2</name>
            <desc>Station 2</desc>
            <binding>
               <command>property-toggle</command>
               <property>fdm/jsbsim/systems/armament/station2/selected</property>
               <!-- <value>1</value> -->
            </binding>
         </key>

         <key n="51">
            <name>3</name>
            <desc>Station 3</desc>
            <binding>
               <command>property-toggle</command>
               <property>fdm/jsbsim/systems/armament/station3/selected</property>
               <!-- <value>1</value> -->
            </binding>
         </key>

         <key n="52">
            <name>4</name>
            <desc>Station 4</desc>
            <binding>
               <command>property-toggle</command>
               <property>fdm/jsbsim/systems/armament/station4/selected</property>
               <!-- <value>1</value> -->
            </binding>
         </key>

         <key n="53">
            <name>5</name>
            <desc>Station 5</desc>
            <binding>
               <command>property-toggle</command>
               <property>fdm/jsbsim/systems/armament/station5/selected</property>
               <!-- <value>1</value> -->
            </binding>
         </key>

         <key n="54">
            <name>6</name>
            <desc>Station 6</desc>
            <binding>
               <command>property-toggle</command>
               <property>fdm/jsbsim/systems/armament/station6/selected</property>
               <!-- <value>1</value> -->
            </binding>
         </key>
         
         <key n="100">
            <name>d</name>
            <desc>Deselect all stations</desc>
            <binding>
               <command>property-assign</command>
               <property>fdm/jsbsim/systems/armament/station1/selected</property>
               <value type="int">0</value>
            </binding>
            <binding>
               <command>property-assign</command>
               <property>fdm/jsbsim/systems/armament/station2/selected</property>
               <value type="int">0</value>
            </binding>
            <binding>
               <command>property-assign</command>
               <property>fdm/jsbsim/systems/armament/station3/selected</property>
               <value type="int">0</value>
            </binding>
         </key>
         
         <key n="102">
            <name>f</name>
            <desc>Release selected store</desc>
            <binding>
               <command>property-assign</command>
               <property>fdm/jsbsim/systems/armament/release</property>
               <value>1</value>
            </binding>
            <mod-up>
               <binding>
                  <command>property-assign</command>
                  <property>fdm/jsbsim/systems/armament/release</property>
                  <value>0</value>
               </binding>
            </mod-up>
         </key>

         <!-- <key n="23">
                <name>Ctrl-w</name>
                <desc>MasterArm</desc>
                <binding>
                  <command>property-toggle</command>
               <property>/controls/armament/masterarm</property>
                </binding>
             </key> -->

         <key n="12">
                <name>Ctrl-L</name>
                <desc>LaserArm</desc>
                <binding>
                  <command>property-toggle</command>
                  <property>/controls/armament/laserarm</property>
                </binding>
             </key>

         <key n="15">
                <name>Ctrl-O</name>
                <desc>Toggle IR</desc>
                <binding>
                  <command>property-toggle</command>
                  <property>/sim/rendering/als-filters/use-filtering</property>
                </binding>
            <binding>
                  <command>property-toggle</command>
                  <property>/sim/rendering/als-filters/use-IR-vision</property>
                </binding>
            <binding>
               <command>property-toggle</command>
               <property>/sim/hud/current-color</property>
            </binding>
             </key>

         <key n="76">
                <name>Shift-L</name>
                <desc>LightsToggle</desc>
                <binding>
                 <command>property-toggle</command>
                 <property>/controls/lighting/nav-lights-switch</property>
            </binding>
            <binding>
                 <command>property-toggle</command>
                 <property>/controls/lighting/beacon-switch</property>
            </binding>
            <binding>
                 <command>property-toggle</command>
                 <property>/controls/lighting/strobe-switch</property>
            </binding>
             </key>

      </keyboard>
   </input>
   
   <!-- Engine -->

   <controls>
      <armament>
         <masterarm type="bool">false</masterarm>
         <laserarm type="bool">false</laserarm>
      </armament>
      <engines>
         <run1 type="bool">true</run1>
         <start1 type="bool">false</start1>
         <abort1 type="bool">false</abort1>      
      </engines>
 
      <gear>
         <brake-parking type="double">1</brake-parking>
      </gear>
   </controls>
   
   <!-- Systems -->
   
   <systems>
      <electrical>
         <outputs>
            <comm n="0" type="float">28</comm>
            <comm n="1" type="float">28</comm>
         </outputs>
      </electrical>
   </systems>
   
   <!-- Instrumentation -->
   
   <instrumentation>
      
      <enav>
         <selected type="int">3</selected>
      </enav>
      
      <radar>
         <range type="int" archive="y">20</range>
         <range-factor type="double" archive="n">0.001888</range-factor>
         <minimized type="bool" archive="y">false</minimized>
         <selected type="int">3</selected>
         <enabled type="bool">true</enabled>
         <az-field type="double">120</az-field>
         <range type="double">150</range>
         <range-selected type="double">50</range-selected>
         <radar2-range type="double">150</radar2-range>
         <display-rdr type="bool">true</display-rdr>
         <radar-standby type="int">3</radar-standby>
         <mode>
            <rws type="bool">true</rws>
            <tws-auto type="bool">false</tws-auto>
         </mode>
      </radar>
      
      <radar2>
         <sweep-width-m type="double">0.0844</sweep-width-m>
         <range-width-m type="double">0.0846</range-width-m>
         <radius-ppi-display-m type="double">0.0846</radius-ppi-display-m>
         <hud-eye-dist-m type="double">0.766</hud-eye-dist-m>
         <hud-radius-m type="double">0.071</hud-radius-m>
         <hud-vertical-offset-m type="double">-0.025</hud-vertical-offset-m>
      </radar2>
      
      <rwr>
         <display-lighting-intens type="double">0.4</display-lighting-intens>
         <symbology-lighting-intens type="double">1</symbology-lighting-intens>
      </rwr>
      
   </instrumentation>
   
   <!-- Enviroment -->
   
   <environment>
      <turbulence>
         <use-cloud-turbulence>true</use-cloud-turbulence>
      </turbulence>
   </environment>
   
   <gear>
      <gear n="0">
         <tyre-smoke type="int">0</tyre-smoke>
         <sprayspeed-ms type="double">0</sprayspeed-ms>
         <spray-density type="double">0</spray-density>
         <caster-angle-deg-damped type="double">0</caster-angle-deg-damped>
      </gear>
      <gear n="1">
         <tyre-smoke type="int">0</tyre-smoke>
         <sprayspeed-ms type="double">0</sprayspeed-ms>
         <spray-density type="double">0</spray-density>
      </gear>
      <gear n="2">
         <tyre-smoke type="int">0</tyre-smoke>
         <sprayspeed-ms type="double">0</sprayspeed-ms>
         <spray-density type="double">0</spray-density>
      </gear>
   </gear>
   
   <!-- Nasal -->
      
   <nasal>
      
      <Liveries>
         <file>Aircraft/MQ-9/Nasal/Liveries.nas</file>
      </Liveries>
      
      <Engine>
         <file>Aircraft/MQ-9/Nasal/Engine.nas</file>
         <module>MQ-9</module>
      </Engine>
      
      <Lights>
         <file>Aircraft/MQ-9/Nasal/Lights.nas</file>
      </Lights>
      
      <HUD>
         <file>Aircraft/MQ-9/Nasal/HUD.nas</file>
      </HUD>
      
      <Tyresmoke>
         <file>Aircraft/MQ-9/Nasal/Tyresmoke.nas</file>
      </Tyresmoke>
      
      <Crash>
         <file>Aircraft/MQ-9/Nasal/Crash.nas</file>
      </Crash>
      
      <Tracking>
         <file>Aircraft/MQ-9/Nasal/Tracking.nas</file>
      </Tracking>

      <Turret>
         <file>Aircraft/MQ-9/Nasal/Turret.nas</file>
      </Turret>
      
      <rwr>
         <file>Aircraft/Instruments-3d/rwr/rwr.nas</file>
      </rwr>
      
      <radar2>
         <file>Aircraft/Instruments-3d/radar2/radar2.nas</file>
      </radar2>
      
      <Radar>
         <file>Aircraft/MQ-9/Nasal/Radar.nas</file>
      </Radar>
      
      <ENAV>
         <file>Aircraft/MQ-9/Nasal/ENAV.nas</file>
      </ENAV>
      
      <damage>
         <file>Aircraft/MQ-9/Nasal/damage.nas</file>
      </damage>
      
   </nasal>
 
</PropertyList>

Last edited by Skydive on Sun Feb 21, 2021 10:59 pm, edited 1 time in total.
User avatar
Skydive
 
Posts: 42
Joined: Thu Mar 02, 2017 2:45 am
Location: Ireland
Version: 2020.3.11
OS: Linux (Pop!_OS)

Re: Announcing New UAV MQ-9 Predator B

Postby Skydive » Sat Feb 20, 2021 4:01 pm

There's a mistake in file path in Missile-Submodel.xml

missing "Missile"

must be

Code: Select all
<model>Aircraft/MQ-9/Models/Effects/Missile/Impact.xml</model>
User avatar
Skydive
 
Posts: 42
Joined: Thu Mar 02, 2017 2:45 am
Location: Ireland
Version: 2020.3.11
OS: Linux (Pop!_OS)

Re: Announcing New UAV MQ-9 Predator B

Postby Skydive » Sun Feb 21, 2021 11:13 pm

Complete HUD.xml as a sample

Code: Select all
<?xml version="1.0"?>

<PropertyList>

   <name>HUD</name>

   <enable3d>false</enable3d>
   
<ladder>
  <name>Pitch Ladder</name>
  <type>pitch</type>
  <x>-60</x>
  <y>-90</y>
  <width>120</width>
  <height>180</height>
  <roll-input>
   <property>/orientation/roll-deg</property>
  </roll-input>
  <pitch-input>
   <property>/orientation/pitch-deg</property>
  </pitch-input>

  <compression-factor>11</compression-factor>
  <display-span>20.0</display-span>
  <divisions>5.0</divisions>
  <screen-hole>50</screen-hole>
  <zero-bar-overlength>300</zero-bar-overlength>
  <tick-length>5</tick-length>
  <enable-dive-bar-angle>true</enable-dive-bar-angle>
  <lbl-pos>0</lbl-pos>
  <glide-slope>0.0</glide-slope>
  <enable-dynamic-origin>true</enable-dynamic-origin>
  <enable-zenith>true</enable-zenith>
  <enable-nadir>true</enable-nadir>
  <enable-fuselage-ref-line>false</enable-fuselage-ref-line>
  <enable-target-spot>false</enable-target-spot>
  <enable-target-markers>true</enable-target-markers>
  <enable-velocity-vector>true</enable-velocity-vector>
  <enable-drift-marker>false</enable-drift-marker>
  <enable-alpha-bracket>false</enable-alpha-bracket>
  <enable-energy-marker>false</enable-energy-marker>
  <enable-climb-dive-marker>false</enable-climb-dive-marker>
  <enable-glide-slope-marker>false</enable-glide-slope-marker>
  <enable-energy-worm>false</enable-energy-worm>
  <enable-waypoint-marker>false</enable-waypoint-marker>
 </ladder>

   <tape>
      <name>Pitch CMD Tape</name>
      <condition>
      <or>
        <equals>
          <property>/autopilot/locks/altitude</property>
          <value>pitch-hold</value>
        </equals>
      <equals>
          <property>/autopilot/locks/altitude</property>
          <value>altitude-hold</value>
        </equals>
      <equals>
          <property>/autopilot/locks/altitude</property>
          <value>agl-hold</value>
        </equals>
      </or>
      </condition>
      <x>-260</x>
      <y>-106</y>
      <width>20</width>
      <height>212</height>
      <input>
         <property>/orientation/pitch-deg</property>
         <factor>1.0</factor>
      </input>
        <label-gap-width>0</label-gap-width>
      <major-divisions>5</major-divisions>
      <minor-divisions>1</minor-divisions>
      <display-span>14</display-span>
        <format>%.0f</format>
      <option>left</option>
      <option>vertical</option>
      <tick-bottom>true</tick-bottom>
      <tick-top>true</tick-top>
      <tick-right>false</tick-right>
      <tick-left>false</tick-left>
      <cap-bottom>false</cap-bottom>
      <cap-top>false</cap-top>
      <cap-right>true</cap-right>
      <cap-left>false</cap-left>
      <marker-offset>0</marker-offset>
      <enable-pointer>true</enable-pointer>
      <pointer-type>fixed</pointer-type>
        <tick-type>line</tick-type>
        <tick-length>variable</tick-length>
   </tape>

   <label>
       <name>PITCH CMD</name>
      <condition>
      <or>
        <equals>
          <property>/autopilot/locks/altitude</property>
          <value>pitch-hold</value>
        </equals>
      <equals>
          <property>/autopilot/locks/altitude</property>
          <value>altitude-hold</value>
        </equals>
      <equals>
          <property>/autopilot/locks/altitude</property>
          <value>agl-hold</value>
        </equals>
      </or>
      </condition>
       <x>-250</x>
      <y>122</y>
      <width>0</width>
      <height>0</height>
       <format>PITCH CMD</format>
       <box>false</box>
   </label>

   <label>
        <name>PITCH TGT</name>
         <condition>
              <equals>
                <property>/autopilot/locks/altitude</property>
                <value>pitch-hold</value>
              </equals>
            </condition>
        <width>23</width>
        <height>10</height>
        <x>-288</x>
        <y>-5</y>
        <halign>right</halign>
        <format>%3.2f</format>
        <box>true</box>
        <input>
            <property>/autopilot/settings/target-pitch-deg</property>
        </input>
    </label>

 <tape>
  <name>Gyrocompass</name>
  <input>
   <property>/orientation/heading-deg</property>
   <factor>0.1</factor>
  </input>

  <x>-100</x>
  <y>170</y>
  <width>200</width>
  <height>28</height>

  <display-span>4.0</display-span>
  <modulo>36</modulo>

  <option>top</option>
  <label-gap-width>22</label-gap-width>

  <major-divisions>1</major-divisions>
  <minor-divisions>0.5</minor-divisions>
  <tick-bottom>false</tick-bottom>
  <tick-top>false</tick-top>
  <tick-right>false</tick-right>
  <tick-left>false</tick-left>
  <cap-bottom>false</cap-bottom>
  <cap-top>false</cap-top>
  <cap-right>false</cap-right>
  <cap-left>false</cap-left>
  <marker-offset>0.0</marker-offset>
  <enable-pointer>false</enable-pointer>
  <pointer-type>fixed</pointer-type>
  <tick-type>line</tick-type>
  <tick-length>variable</tick-length>
 </tape>

  <label>
  <name>Heading</name>
  <x>-9</x>
  <y>186</y>
  <width>18</width>
  <height>10</height>
  <halign>center</halign>
  <format>%03.0f</format>
  <box>true</box>
  <option>bottom</option>
  <pointer-width>7</pointer-width>
  <input>
   <property>/orientation/heading-deg</property>
  </input>
 </label>

<tape>
     <name>LTMS tape</name>
     <input>
         <property>/sim/current-view/goal-heading-offset-deg</property>
         <factor>-1.0</factor>
     </input>

     <x>-100</x>
     <y>150</y>
     <width>200</width>
     <height>20</height>

     <display-span>4.0</display-span>
     <modulo>36</modulo>

     <option>bottom</option>
     <option>notext</option>
     <label-gap-width>22</label-gap-width>

     <major-divisions>1</major-divisions>
     <minor-divisions>0.5</minor-divisions>
     <tick-bottom>false</tick-bottom>
     <tick-top>false</tick-top>
     <tick-right>false</tick-right>
     <tick-left>false</tick-left>
     <cap-bottom>false</cap-bottom>
     <cap-top>true</cap-top>
     <cap-right>false</cap-right>
     <cap-left>false</cap-left>
     <marker-offset>0.0</marker-offset>
     <enable-pointer>false</enable-pointer>
     <pointer-type>fixed</pointer-type>
     <tick-type>line</tick-type>
     <tick-length>variable</tick-length>
</tape>

<label>
  <name>LTMS Heading</name>
  <x>-9</x>
  <y>150</y>
  <width>18</width>
  <height>10</height>
  <halign>center</halign>
  <format>%03.0f</format>
  <option>top</option>
  <box>true</box>
  <input>
     <property>/sim/current-view/goal-heading-offset-deg</property>
   <factor>1.0</factor>
  </input>
</label>

<label>
    <name>LTMCTXT</name>
    <x>-100</x>
   <y>150</y>
   <width>20</width>
   <height>10</height>
    <format>LTMC</format>
    <box>false</box>
</label>


<tape>
  <name>Altitude MSL less than 500 ft</name>
  <condition>
   <less-than>
    <property>/position/altitude-agl-ft</property>
    <value>500.0</value>
   </less-than>
  </condition>
  <input>
   <property>/position/altitude-ft</property>
   <min>-0.5</min>
   <factor>0.001</factor>
  </input>
  <x>180</x>
  <y>-100</y>
  <width>35</width>
  <height>202</height>
  <option>right</option>
  <option>vertical</option>
  <label-gap-width>11</label-gap-width>
  <major-divisions>0.1</major-divisions>
  <minor-divisions>0.02</minor-divisions>
  <display-span>0.4</display-span>
  <format>%0.1f</format>

  <tick-bottom>true</tick-bottom>
  <tick-top>true</tick-top>
  <tick-right>false</tick-right>
  <tick-left>false</tick-left>
  <cap-bottom>false</cap-bottom>
  <cap-top>false</cap-top>
  <cap-right>false</cap-right>
  <cap-left>true</cap-left>
  <marker-offset>0.0</marker-offset>
  <enable-pointer>false</enable-pointer>
  <pointer-type>fixed</pointer-type>
  <tick-type>line</tick-type>
  <tick-length>variable</tick-length>

</tape>

<tape>
  <name>Altitude MSL greater-than-or-equal-to 500 ft</name>

  <condition>
    <greater-than-equals>
      <property>/position/altitude-agl-ft</property>
      <value>500.0</value>
    </greater-than-equals>
  </condition>

  <input>
   <property>/position/altitude-ft</property>
   <min>-0.5</min>
   <factor>0.001</factor>
  </input>

  <x>180</x>
  <y>-100</y>
  <width>35</width>
  <height>202</height>

  <option>right</option>
  <option>vertical</option>
  <label-gap-width>11</label-gap-width>

  <major-divisions>0.5</major-divisions>
  <minor-divisions>0.1</minor-divisions>
  <display-span>2.5</display-span>
  <format>%0.1f</format>

  <tick-bottom>true</tick-bottom>
  <tick-top>true</tick-top>
  <tick-right>false</tick-right>
  <tick-left>false</tick-left>
  <cap-bottom>false</cap-bottom>
  <cap-top>false</cap-top>
  <cap-right>false</cap-right>
  <cap-left>true</cap-left>
  <marker-offset>0.0</marker-offset>
  <enable-pointer>false</enable-pointer>
  <pointer-type>fixed</pointer-type>
  <tick-type>line</tick-type>
  <tick-length>variable</tick-length>

</tape>

<label>
  <name>Altitude</name>
  <width>28</width>
  <height>10</height>
  <x>197</x>
  <y>-5</y>
  <halign>left</halign>
  <format>%.0f0</format>
  <box>true</box>
  <option>left</option>
  <pointer-width>10</pointer-width>
  <pointer-length>5</pointer-length>
  <input>
   <property>/position/altitude-ft</property>
   <factor>0.1</factor>
  </input>
</label>

    <label>
       <name>Autopilot Altitude Hold</name>
      <x>197</x>
        <y>8</y>
      <width>60</width>
      <height>10</height>
      <box>false</box>
      <format>%04d</format>
      <halign>left</halign>
      <input>
         <property>/autopilot/settings/target-altitude-ft</property>
      </input>
      <condition>
         <equals>
            <property>/autopilot/locks/altitude</property>
            <value>altitude-hold</value>
         </equals>
      </condition>
   </label>

   <label>
       <name>Autopilot AGL Hold</name>
      <x>197</x>
        <y>8</y>
      <width>60</width>
      <height>10</height>
      <box>false</box>
      <format>%04d</format>
      <halign>left</halign>
      <postfix> R</postfix>
      <input>
         <property>/autopilot/settings/target-agl-ft</property>
      </input>
      <condition>
         <equals>
            <property>/autopilot/locks/altitude</property>
            <value>agl-hold</value>
         </equals>
      </condition>
   </label>

   <label>
      <name>Autopilot Wing Level</name>
      <x>-30</x>
        <y>-176</y>
      <width>60</width>
      <height>10</height>
      <box>true</box>
      <format>ROLL</format>
      <halign>center</halign>
      <condition>
         <equals>
            <property>/autopilot/locks/heading</property>
            <value>wing-leveler</value>
         </equals>
      </condition>
   </label>


 <tape>
  <name>KIAS</name>
  <input>
   <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
   <min>0.0</min>
   <factor>0.1</factor>
  </input>

  <x>-215</x>
  <y>-100</y>
  <width>35</width>
  <height>200</height>

  <option>left</option>
  <option>vertical</option>
  <label-gap-width>11</label-gap-width>

  <major-divisions>5</major-divisions>
  <minor-divisions>1</minor-divisions>
  <display-span>20.0</display-span>
  <tick-bottom>true</tick-bottom>
  <tick-top>true</tick-top>
  <tick-right>false</tick-right>
  <tick-left>false</tick-left>
  <cap-bottom>false</cap-bottom>
  <cap-top>false</cap-top>
  <cap-right>true</cap-right>
  <cap-left>false</cap-left>
  <marker-offset>0.0</marker-offset>
  <enable-pointer>false</enable-pointer>
  <pointer-type>fixed</pointer-type>
  <tick-type>line</tick-type>
  <tick-length>variable</tick-length>
 </tape>

 <label>
  <name>Speed</name>
  <width>23</width>
  <height>10</height>
  <x>-220</x>
  <y>-5</y>
  <halign>right</halign>
  <format>%.0f</format>
  <box>true</box>
  <option>right</option>
  <pointer-width>10</pointer-width>
  <pointer-length>5</pointer-length>
  <input>
   <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
  </input>
 </label>

    <gauge>
      <name>Throttle</name>
      <x>-180</x>
      <y>-100</y>
      <width>8</width>
      <height>100</height>
      <option>vertical</option>
      <option>left</option>
      <option>notext</option>
      <major-divisions>50</major-divisions>
      <minor-divisions>0</minor-divisions>
      <tick-bottom>true</tick-bottom>
      <tick-top>true</tick-top>
      <tick-right>false</tick-right>
      <tick-left>false</tick-left>
      <cap-bottom>false</cap-bottom>
      <cap-top>false</cap-top>
      <cap-right>true</cap-right>
      <cap-left>false</cap-left>
      <marker-offset>0.0</marker-offset>
      <enable-pointer>true</enable-pointer>
      <pointer-type>fixed</pointer-type>
      <input>
         <property>/controls/engines/engine/throttle</property>
         <max>1.0</max>
         <min>0.0</min>
      </input>
   </gauge>

   <gauge>
      <name>Elevator</name>
      <x>172</x>
      <y>-50</y>
      <width>8</width>
      <height>100</height>
      <option>vertical</option>
      <option>right</option>
      <option>notext</option>
      <major-divisions>50</major-divisions>
      <minor-divisions>0</minor-divisions>
      <marker-offset>0.0</marker-offset>
      <tick-bottom>true</tick-bottom>
      <tick-top>true</tick-top>
      <tick-right>false</tick-right>
      <tick-left>false</tick-left>
      <cap-bottom>false</cap-bottom>
      <cap-top>false</cap-top>
      <cap-right>false</cap-right>
      <cap-left>true</cap-left>
      <enable-pointer>true</enable-pointer>
      <pointer-type>fixed</pointer-type>
      <input>
         <property>/controls/flight/elevator</property>
         <max>1.0</max>
         <min>-1.0</min>
      </input>
   </gauge>

   <gauge>
      <name>Rudder</name>
      <x>-50</x>
      <y>-220</y>
      <width>100</width>
      <height>8</height>
      <option>top</option>
      <option>notext</option>
      <major-divisions>50</major-divisions>
      <minor-divisions>0</minor-divisions>
      <tick-bottom>false</tick-bottom>
      <tick-top>false</tick-top>
      <tick-right>false</tick-right>
      <tick-left>false</tick-left>
      <cap-bottom>true</cap-bottom>
      <cap-top>false</cap-top>
      <cap-right>false</cap-right>
      <cap-left>false</cap-left>
      <marker-offset>0.0</marker-offset>
      <enable-pointer>true</enable-pointer>
      <pointer-type>fixed</pointer-type>
      <input>
         <property>/controls/flight/rudder</property>
         <max>1.0</max>
         <min>-1.0</min>
      </input>
   </gauge>

   <gauge>
      <name>Aileron</name>
      <x>-50</x>
      <y>-233</y>
      <width>100</width>
      <height>8</height>
      <option>notext</option>
      <option>bottom</option>
      <major-divisions>50</major-divisions>
      <minor-divisions>0</minor-divisions>
      <tick-bottom>false</tick-bottom>
      <tick-top>true</tick-top>
      <tick-right>true</tick-right>
      <tick-left>true</tick-left>
      <cap-bottom>true</cap-bottom>
      <cap-top>true</cap-top>
      <cap-right>false</cap-right>
      <cap-left>false</cap-left>
      <marker-offset>0.0</marker-offset>
      <enable-pointer>true</enable-pointer>
      <pointer-type>fixed</pointer-type>
      <input>
         <property>/controls/flight/aileron</property>
         <max>1.0</max>
         <min>-1.0</min>
      </input>
   </gauge>


<label>
    <name>KIASTXT</name>
    <x>-207</x>
   <y>102</y>
   <width>20</width>
   <height>10</height>
    <format>KIAS</format>
    <box>false</box>
</label>

  <label>
    <name>Alpha Label</name>
    <x>-207</x>
    <y>122</y>
    <width>2</width>
    <height>2</height>
    <input>
      <property>/orientation/alpha-deg</property>
    </input>
    <format>%2.0f</format>
    <halign>left</halign>
    <box>false</box>
    <option>left</option>
   <prefix>AoA </prefix>
  </label>

<label>
    <name>MSLTXT</name>
      <condition>
          <greater-than-equals>
               <property>/position/altitude-agl-ft</property>
               <value>500.0</value>
          </greater-than-equals>
        </condition>
    <x>188</x>
   <y>102</y>
   <width>20</width>
   <height>10</height>
    <format>ALT MSL</format>
    <box>false</box>
</label>

<label>
    <name>AGLTXT</name>
      <condition>
            <less-than>
             <property>/position/altitude-agl-ft</property>
             <value>500.0</value>
            </less-than>
        </condition>
    <x>188</x>
   <y>102</y>
   <width>20</width>
   <height>10</height>
    <format>ALT AGL</format>
    <box>false</box>
</label>

<label>
    <name>LSRTXT</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
    <x>-10</x>
   <y>122</y>
   <width>20</width>
   <height>10</height>
    <format>Laser ARMED</format>
    <box>false</box>
   <blinking>
      <interval>0.25</interval>
    </blinking>
</label>

<label>
    <name>GEARTXT</name>
     <condition>
             <greater-than>
                <property>gear/gear[1]/position-norm</property>
                <value>0</value>
            </greater-than>
        </condition>
    <x>-297</x>
   <y>-187</y>
   <width>20</width>
   <height>10</height>
    <format>GEAR</format>
    <box>false</box>
       <blinking>
      <interval>0.25</interval>
     <condition>
            <greater-than>
                <property>gear/gear[1]/position-norm</property>
                <value>0</value>
            </greater-than>
            <less-than>
                <property>gear/gear[1]/position-norm</property>
                <value>1</value>
            </less-than>
        </condition>
    </blinking>
</label>

<label>
      <name>FLAPS</name>
      <x>-300</x>
      <y>-197</y>
      <width>32</width>
      <height>10</height>
      <input>
         <property>surface-positions/flap-pos-norm</property>
         <factor>45.0</factor>
      </input>
      <format>%2.0f</format>
      <prefix>FLAPS </prefix>
      <halign>left</halign>
</label>

 <label>
    <name>GEAR1</name>
     <condition>
             <greater-than>
                <property>gear/gear[0]/position-norm</property>
                <value>0</value>
            </greater-than>
        </condition>
    <x>-292</x>
   <y>-159</y>
   <width>10</width>
   <height>10</height>
    <format>1</format>
    <box>true</box>
   <blinking>
      <interval>0.25</interval>
     <condition>
            <greater-than>
                <property>gear/gear[0]/position-norm</property>
                <value>0</value>
            </greater-than>
            <less-than>
                <property>gear/gear[0]/position-norm</property>
                <value>1</value>
            </less-than>
        </condition>
    </blinking>
</label>

 <label>
    <name>GEAR2</name>
    <condition>
             <greater-than>
                <property>gear/gear[1]/position-norm</property>
                <value>0</value>
            </greater-than>
       </condition>
    <x>-304</x>
   <y>-173</y>
   <width>10</width>
   <height>10</height>
    <format>2</format>
    <box>true</box>
   <blinking>
      <interval>0.25</interval>
     <condition>
            <greater-than>
                <property>gear/gear[1]/position-norm</property>
                <value>0</value>
            </greater-than>
            <less-than>
                <property>gear/gear[1]/position-norm</property>
                <value>1</value>
            </less-than>
        </condition>
    </blinking>
</label>

 <label>
    <name>GEAR3</name>
     <condition>
             <greater-than>
                <property>gear/gear[2]/position-norm</property>
                <value>0</value>
            </greater-than>
        </condition>
    <x>-280</x>
   <y>-173</y>
   <width>10</width>
   <height>10</height>
    <format>3</format>
    <box>true</box>
   <blinking>
      <interval>0.25</interval>
     <condition>
            <greater-than>
                <property>gear/gear[2]/position-norm</property>
                <value>0</value>
            </greater-than>
            <less-than>
                <property>gear/gear[2]/position-norm</property>
                <value>1</value>
            </less-than>
        </condition>
    </blinking>
</label>

<!-- Time Local -->
   <label>
      <name>CLOCK</name>
      <x>368</x>
      <y>-228</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/instrumentation/clock/local-short-string</property>
      </input>
      <prefix>Time </prefix>
      <halign>left</halign>
   </label>

   <label>
      <name>TAS</name>
      <x>-215</x>
      <y>-125</y>
      <width>1</width>
      <height>1</height>
      <format>%.0f</format>
      <input>
         <property>/velocities/airspeed-kt</property>
      </input>
      <prefix>TAS </prefix>
      <halign>left</halign>
   </label>

   <label>
      <name>GS</name>
      <x>-210</x>
      <y>-140</y>
      <width>1</width>
      <height>1</height>
      <format>%.0f</format>
      <input>
         <property>/velocities/groundspeed-kt</property>
      </input>
      <prefix>GS </prefix>
      <halign>left</halign>
   </label>

   <label>
      <name>TRANSPONDER</name>
      <x>-215</x>
      <y>-155</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/instrumentation/transponder/id-code</property>
      </input>
      <postfix> Mode 4</postfix>
      <halign>left</halign>
   </label>

   <label>
       <name>VVTXT</name>
      <x>178</x>
      <y>-125</y>
      <width>0</width>
      <height>12</height>
       <format>VV </format>
      <halign>left</halign>
       <box>false</box>

      <blinking>
         <interval>0.25</interval>
         <condition>
               <less-than>
                  <property>autopilot/internal/vert-speed-fpm</property>
                  <value>-1000</value>
               </less-than>
         </condition>
      </blinking>
   </label>

   <label>
      <name>Vertical Velocity</name>
      <x>195</x>
      <y>-125</y>
      <width>28</width>
      <height>12</height>
      <format>%.0f0</format>
      <halign>right</halign>
      <box>true</box>
      <input>
          <property>autopilot/internal/vert-speed-fpm</property>
          <factor>0.1</factor>
       </input>
      <blinking>
         <interval>0.25</interval>
         <condition>
               <less-than>
                  <property>autopilot/internal/vert-speed-fpm</property>
                  <value>-1000</value>
               </less-than>
         </condition>
      </blinking>
   </label>

   <label>
       <name>GTXT</name>
      <x>183</x>
      <y>-140</y>
      <width>0</width>
      <height>12</height>
       <format>G </format>
      <halign>left</halign>
       <box>false</box>

      <blinking>
         <interval>0.25</interval>
         <condition>
            <or>
               <!-- G load > 2.0 -->
               <less-than>
                  <property>/accelerations/pilot/z-accel-fps_sec</property>
                  <value>-64.3481</value>
               </less-than>

               <!-- G load < -1.0 -->
               <greater-than>
                  <property>/accelerations/pilot/z-accel-fps_sec</property>
                  <value>31.17405</value>
               </greater-than>
            </or>
         </condition>
      </blinking>
   </label>

   <label>
      <name>G Load</name>
      <x>195</x>
      <y>-140</y>
      <width>28</width>
      <height>12</height>

      <format>%4.2f</format>
      <halign>right</halign>
      <box>true</box>
      <input>
         <property>/accelerations/pilot/z-accel-fps_sec</property>
         <factor>-0.03108095</factor>
         <damp>1.3</damp>
      </input>
      <blinking>
         <interval>0.25</interval>
         <condition>
            <or>
               <!-- G load > 2.0 -->
               <less-than>
                  <property>/accelerations/pilot/z-accel-fps_sec</property>
                  <value>-64.3481</value>
               </less-than>

               <!-- G load < -1.0 -->
               <greater-than>
                  <property>/accelerations/pilot/z-accel-fps_sec</property>
                  <value>31.17405</value>
               </greater-than>
            </or>
         </condition>
      </blinking>
   </label>

   <label>
      <name>Altimeter</name>
      <x>215</x>
      <y>-155</y>
      <width>1</width>
      <height>1</height>
      <format>%2.2f</format>
      <input>
         <property>/instrumentation/altimeter/setting-inhg</property>
      </input>
      <postfix> inhg</postfix>
      <halign>left</halign>
   </label>

   <!-- Engine -->

<label>
      <name>RPM</name>
      <x>260</x>
      <y>115</y>
      <width>32</width>
      <height>10</height>
      <input>
         <property>engines/engine[0]/n2</property>
      </input>
      <format>%4.0d%%</format>
      <halign>left</halign>
      <box>true</box>
</label>

<label>
    <name>RPMTXT</name>
   <x>262</x>
   <y>104</y>
   <width>20</width>
   <height>10</height>
    <format>RPM</format>
   <halign>left</halign>
    <box>false</box>
</label>

   <label>
      <name>SEGT</name>
      <x>260</x>
      <y>55</y>
      <width>32</width>
      <height>10</height>
      <input>
         <property>/engines/engine[0]/egt-degf</property>
      </input>
      <format>%6.1f</format>
      <halign>left</halign>
      <box>true</box>
   </label>

<label>
    <name>SEGTTXT</name>
   <x>262</x>
   <y>44</y>
   <width>20</width>
   <height>10</height>
    <format>SEGT</format>
   <halign>left</halign>
    <box>false</box>
</label>

<label>
      <name>TRQ</name>
      <x>260</x>
      <y>-5</y>
      <width>32</width>
      <height>10</height>
      <input>
         <property>engines/engine[0]/n2</property>
         <!-- <property>/engines/engine[0]/torque</property> -->
         <!-- <factor>0.01</factor>
         <damp>0.0</damp> -->
      </input>
      <format>%4.0d%%</format>
      <halign>left</halign>
      <box>true</box>
</label>

<label>
    <name>TRQTXT</name>
   <x>262</x>
   <y>-16</y>
   <width>20</width>
   <height>10</height>
    <format>TRQ</format>
   <halign>left</halign>
    <box>false</box>
</label>

<label>
      <name>FUELF</name>
      <x>260</x>
      <y>-65</y>
      <width>32</width>
      <height>10</height>
      <input>
         <property>/engines/engine[0]/fuel-flow_pph</property>
      </input>
      <format>%6.1f</format>
      <halign>left</halign>
      <box>true</box>
</label>

<label>
    <name>FUELFTXT</name>
   <x>259</x>
   <y>-76</y>
   <width>20</width>
   <height>10</height>
    <format>FUEL F</format>
   <halign>left</halign>
    <box>false</box>
</label>

<label>
      <name>OILP</name>
      <x>260</x>
      <y>-125</y>
      <width>32</width>
      <height>10</height>
      <input>
         <property>/engines/engine[0]/oil-pressure-psi</property>
      </input>
      <format>%6.1f</format>
      <halign>left</halign>
      <box>true</box>
</label>

<label>
    <name>OILPTXT</name>
   <x>262</x>
   <y>-136</y>
   <width>20</width>
   <height>10</height>
    <format>OIL P</format>
   <halign>left</halign>
    <box>false</box>
</label>

 <turn-bank-indicator>
  <name>Turn Bank Indicator</name>
  <x>-125</x>
  <y>-190</y>
  <width>250</width>
  <height>250</height>
  <bank-input>
   <property>/orientation/roll-deg</property>
  </bank-input>
  <sideslip-input>
   <property>/orientation/side-slip-deg</property>
  </sideslip-input>
  <bank-scale>true</bank-scale>
  <option>bottom</option>
 </turn-bank-indicator>


<!-- SENSOR TURRET -->
 
   <label>
      <name>TURRETHEADING</name>
      <x>-80</x>
      <y>110</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/current-view/goal-heading-offset-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.2f</format>
      <halign>right</halign>
      <prefix>BRG </prefix>
   </label>
   <label>
      <name>TURRETPITCH</name>
      <x>-80</x>
      <y>100</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/current-view/goal-pitch-offset-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.2f</format>
      <halign>right</halign>
      <prefix>PITCH </prefix>
   </label>
   <label>
      <name>TURRETROLL</name>
      <x>-80</x>
      <y>90</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/current-view/goal-roll-offset-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.2f</format>
      <halign>right</halign>
      <prefix>ROL </prefix>
   </label>
   <label>
      <name>FOV</name>
      <x>-80</x>
      <y>80</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/current-view/field-of-view</property>
            <factor>1.0</factor>
      </input>
      <format>%3.2f</format>
      <halign>right</halign>
      <prefix>FOV </prefix>
   </label>
   <!-- <label>
      <name>ARMMSG</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>-75</x>
      <y>-90</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/current-view/</property>
      </input>
      <halign>right</halign>
      <prefix>ARM </prefix>
      <postfix> LTMC</postfix>
   </label> -->

<label>
    <name>Sensor TV Mode</name>
    <x>-165</x>
   <y>12</y>
   <width>1</width>
   <height>1</height>
    <format>TV</format>
    <box>false</box>
   <condition>
         <equals>
         <property>/sim/hud/current-color</property>
         <value>0</value>
         </equals>
   </condition>
</label>

<label>
    <name>Sensor IR Mode</name>
   <x>-165</x>
   <y>12</y>
   <width>1</width>
   <height>1</height>
    <format>IR</format>
    <box>false</box>
   <condition>
         <equals>
         <property>/sim/hud/current-color</property>
         <value>1</value>
         </equals>
   </condition>
</label>

<!-- Weapon stations -->

<label>
      <name>AGM-114 Selected</name>
      <x>-80</x>
      <y>-90</y>
      <width>1</width>
      <height>1</height>
      <format>AGM-114</format>
      <halign>right</halign>
      <condition>
         <and>
         <or>
         <equals>
              <property>fdm/jsbsim/systems/armament/station1/selected</property>
              <value>1</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station2/selected</property>
              <value>1</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station5/selected</property>
              <value>1</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station6/selected</property>
              <value>1</value>
         </equals>
         </or>
         <or>
         <equals>
              <property>fdm/jsbsim/systems/armament/station1/released</property>
              <value>0</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station2/released</property>
              <value>0</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station5/released</property>
              <value>0</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station6/released</property>
              <value>0</value>
         </equals>
         </or>
         </and>
      </condition>
</label>

<label>
      <name>GBU-12 Selected</name>
      <x>-80</x>
      <y>-100</y>
      <width>1</width>
      <height>1</height>
      <format>GBU-12</format>
      <halign>right</halign>
      <condition>
         <and>
         <or>
         <equals>
              <property>fdm/jsbsim/systems/armament/station3/selected</property>
              <value>1</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station4/selected</property>
              <value>1</value>
         </equals>
         </or>
         <or>
         <equals>
              <property>fdm/jsbsim/systems/armament/station3/released</property>
              <value>0</value>
         </equals>
         <equals>
              <property>fdm/jsbsim/systems/armament/station4/released</property>
              <value>0</value>
         </equals>
         </or>
         </and>
      </condition>
</label>

<label>
      <name>WPN Station 1</name>
      <x>-55</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>1</format>
      <halign>left</halign>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station1/released</property>
              <value>0</value>
            </equals>
      </condition>
</label>

<label>
      <name>Sel WPN Station 1</name>
      <x>-55</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format></format>
      <halign>left</halign>
      <box>true</box>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station1/released</property>
              <value>0</value>
            </equals>
            <equals>
              <property>fdm/jsbsim/systems/armament/station1/selected</property>
              <value>1</value>
         </equals>
      </condition>
      <blinking>
         <interval>0.25</interval>
      </blinking>
</label>

<label>
      <name>WPN Station 2</name>
      <x>-45</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>2</format>
      <halign>left</halign>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station2/released</property>
              <value>0</value>
            </equals>
      </condition>
</label>

<label>
      <name>Sel WPN Station 2</name>
      <x>-45</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>2</format>
      <halign>left</halign>
      <box>true</box>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station2/released</property>
              <value>0</value>
            </equals>
            <equals>
              <property>fdm/jsbsim/systems/armament/station2/selected</property>
              <value>1</value>
            </equals>
      </condition>
      <blinking>
         <interval>0.25</interval>
      </blinking>
</label>

<label>
      <name>WPN Station 3</name>
      <x>-35</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>3</format>
      <halign>left</halign>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station3/released</property>
              <value>0</value>
            </equals>
      </condition>
</label>

<label>
      <name>Sel WPN Station 3</name>
      <x>-35</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>3</format>
      <halign>left</halign>
      <box>true</box>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station3/released</property>
              <value>0</value>
            </equals>
            <equals>
              <property>fdm/jsbsim/systems/armament/station3/selected</property>
              <value>1</value>
            </equals>
      </condition>
      <blinking>
         <interval>0.25</interval>
      </blinking>
</label>

<label>
      <name>WPN Station 4</name>
      <x>25</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>4</format>
      <halign>left</halign>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station4/released</property>
              <value>0</value>
            </equals>
      </condition>
</label>

<label>
      <name>Sel WPN Station 4</name>
      <x>25</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>4</format>
      <halign>left</halign>
      <box>true</box>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station4/released</property>
              <value>0</value>
            </equals>
            <equals>
              <property>fdm/jsbsim/systems/armament/station4/selected</property>
              <value>1</value>
            </equals>
      </condition>
      <blinking>
         <interval>0.25</interval>
      </blinking>
</label>

<label>
      <name>WPN Station 5</name>
      <x>35</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>5</format>
      <halign>left</halign>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station5/released</property>
              <value>0</value>
            </equals>
      </condition>
</label>

<label>
      <name>Sel WPN Station 5</name>
      <x>35</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>5</format>
      <halign>left</halign>
      <box>true</box>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station5/released</property>
              <value>0</value>
            </equals>
            <equals>
              <property>fdm/jsbsim/systems/armament/station5/selected</property>
              <value>1</value>
            </equals>
      </condition>
      <blinking>
         <interval>0.25</interval>
      </blinking>
</label>

<label>
      <name>WPN Station 6</name>
      <x>45</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>6</format>
      <halign>left</halign>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station6/released</property>
              <value>0</value>
            </equals>
      </condition>
</label>

<label>
      <name>Sel WPN Station 6</name>
      <x>45</x>
      <y>-125</y>
      <width>10</width>
      <height>10</height>
      <format>6</format>
      <halign>left</halign>
      <box>true</box>
      <condition>
            <equals>
              <property>fdm/jsbsim/systems/armament/station6/released</property>
              <value>0</value>
            </equals>
            <equals>
              <property>fdm/jsbsim/systems/armament/station6/selected</property>
              <value>1</value>
            </equals>
      </condition>
      <blinking>
         <interval>0.25</interval>
      </blinking>
</label>

<!-- Target Info -->

   <label>
      <name>TGTINFO</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>105</x>
      <y>-40</y>
      <input>
      <property>/sim/</property>
      </input>
      <halign>left</halign>
      <prefix>TGT</prefix>
   </label>

   <label>
      <name>TGTLON</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>85</x>
      <y>-50</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/input/click/longitude-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.4f</format>
      <halign>left</halign>
      <prefix>LON </prefix>
   </label>

   <label>
      <name>TGTLAT</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>85</x>
      <y>-60</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/input/click/latitude-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.4f</format>
      <halign>left</halign>
      <prefix>LAT </prefix>
   </label>

   <label>
      <name>TGTELEV</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>85</x>
      <y>-70</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/sim/input/click/elevation-m</property>
            <factor>1.0</factor>
      </input>
      <format>%3.4f</format>
      <halign>left</halign>
      <prefix>ELEV </prefix>
   </label>

   <label>
      <name>TGTBRG</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>85</x>
      <y>-80</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/tracking/bearing</property>
            <factor>1.0</factor>
      </input>
      <format>BRG   %3.2f</format>
      <halign>left</halign>
   </label>

   <label>
      <name>TGTRNGKM</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>85</x>
      <y>-90</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/tracking/rng-km</property>
            <factor>1.0</factor>
      </input>
      <format>RNG KM    %3.2f</format>
      <halign>left</halign>
   </label>

   <label>
      <name>TGTRNGNM</name>
      <condition>
              <property>controls/armament/laserarm</property>
       </condition>
      <x>85</x>
      <y>-100</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/tracking/rng-nml</property>
            <factor>1.0</factor>
      </input>
      <format>RNG NML   %3.2f</format>
      <halign>left</halign>
   </label>

<!-- Aircraft Info -->

   <label>
      <name>AIRCRAFTINFO</name>
      <x>105</x>
      <y>110</y>
      <input>
      <property>/sim/</property>
      </input>
      <halign>left</halign>
      <prefix>ACFT</prefix>
   </label>

   <label>
      <name>LON</name>
      <x>85</x>
      <y>100</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/position/longitude-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.4f</format>
      <halign>left</halign>
      <prefix>LON </prefix>
   </label>

   <label>
      <name>LAT</name>
      <x>85</x>
      <y>90</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/position/latitude-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.4f</format>
      <halign>left</halign>
      <prefix>LAT </prefix>
   </label>

   <label>
      <name>AGL</name>
      <x>85</x>
      <y>80</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/position/altitude-agl-ft</property>
            <factor>1.0</factor>
      </input>
      <format>%3.4f</format>
      <halign>left</halign>
      <prefix>AGL </prefix>
   </label>

   <label>
      <name>ACFTBRG</name>
      <x>85</x>
      <y>70</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/orientation/heading-deg</property>
            <factor>1.0</factor>
      </input>
      <format>%3.2f</format>
      <halign>left</halign>
      <prefix>BRG </prefix>
   </label>

   <label>
      <name>IAS</name>
      <x>85</x>
      <y>60</y>
      <width>1</width>
      <height>1</height>
      <input>
      <property>/velocities/airspeed-kt</property>
             <factor>1.852</factor>
      </input>
      <format>IAS   %4.0f</format>
      <halign>left</halign>
   </label>

   <label>
      <name>Altitude</name>
      <x>130</x>
      <y>50</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/position/altitude-ft</property>
            <factor>0.3048</factor>
      </input>
      <format>ALT %5.0f</format>
      <halign>right</halign>
   </label>



   <!--
   
    <label>
      <name>Acceleration</name>
      <x>75</x>
      <y>-55</y>
      <width>1</width>
      <height>1</height>
      <input>
         <property>/accelerations/pilot-gdamped</property>
      </input>
      <format>A %2.1f</format>
      <halign>right</halign>
   </label>
    <label>
      <name>TAS</name>
   </label>
   <label>
      <name>GS</name>
   </label>
   <label>
      <name>GEAR</name>
   </label>
-->

<!-- Aiming Cross -->

<label>
    <name>TGTBOX 0</name>
   <x>-12</x>
   <y>-12</y>
   <width>24</width>
   <height>24</height>
    <format>+</format>
   <halign>center</halign>
    <box>true</box>

   <condition>
              <property>controls/armament/laserarm</property>
    </condition>
</label>

<label>
    <name>TGTBOX 1</name>
   <x>-10</x>
   <y>-10</y>
   <width>20</width>
   <height>20</height>
    <format></format>
   <halign>left</halign>
    <box>true</box>
   <option>bottom</option>
   <pointer-width>0</pointer-width>
   <pointer-length>40</pointer-length>

   <condition>
              <property>controls/armament/laserarm</property>
    </condition>
</label>

<label>
    <name>TGTBOX 2</name>
   <x>-10</x>
   <y>-10</y>
   <width>20</width>
   <height>20</height>
    <format></format>
   <halign>left</halign>
    <box>true</box>
   <option>top</option>
   <pointer-width>0</pointer-width>
   <pointer-length>40</pointer-length>

   <condition>
              <property>controls/armament/laserarm</property>
    </condition>
</label>

<label>
    <name>TGTBOX 3</name>
   <x>-10</x>
   <y>-10</y>
   <width>20</width>
   <height>20</height>
    <format></format>
   <halign>left</halign>
    <box>true</box>
   <option>right</option>
   <pointer-width>0</pointer-width>
   <pointer-length>40</pointer-length>

   <condition>
              <property>controls/armament/laserarm</property>
    </condition>
</label>

<label>
    <name>TGTBOX 4</name>
   <x>-10</x>
   <y>-10</y>
   <width>20</width>
   <height>20</height>
    <format></format>
   <halign>left</halign>
    <box>true</box>
   <option>left</option>
   <pointer-width>0</pointer-width>
   <pointer-length>40</pointer-length>

   <condition>
              <property>controls/armament/laserarm</property>
    </condition>
</label>



</PropertyList>

User avatar
Skydive
 
Posts: 42
Joined: Thu Mar 02, 2017 2:45 am
Location: Ireland
Version: 2020.3.11
OS: Linux (Pop!_OS)

Re: Announcing New UAV MQ-9 Predator B

Postby J Maverick 16 » Mon Feb 22, 2021 3:11 pm

Hi SkyDive!
Thanks for your changes. Would you consider making a complete pull request on GitHub containing all these improvements so I can later merge them?
Regards, Mav
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 Skydive » Mon Feb 22, 2021 4:43 pm

J Maverick 16 wrote in Mon Feb 22, 2021 3:11 pm:Hi SkyDive!
Thanks for your changes. Would you consider making a complete pull request on GitHub containing all these improvements so I can later merge them?
Regards, Mav


Hi Mav,

I've created a pull request here https://github.com/JMaverick16/MQ-9/pull/1#issue-577767290

Kind regards,
Skydive
User avatar
Skydive
 
Posts: 42
Joined: Thu Mar 02, 2017 2:45 am
Location: Ireland
Version: 2020.3.11
OS: Linux (Pop!_OS)

Previous

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 10 guests