Board index FlightGear Support Hardware

Is the TCA Airbus edition Compatible with Flightgear ?

Joysticks, pedals, monitors.

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Mon Feb 08, 2021 5:26 pm

ok thank you
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Tue Feb 09, 2021 2:07 pm

what's the value for reverse thrust ?

thx in advance
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Johan G » Tue Feb 09, 2021 3:08 pm

Was not aware that full thrust reverse was behind the idle on an airbus.
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: 6634
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: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Tue Feb 09, 2021 3:57 pm

i asked cuz i tried and it didn't work i am dumb but not that stupid

and also Lego said that idle is less than 0.01 so that includes negative numbers if i know my maths

thx anyways
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby legoboyvdlp » Tue Feb 09, 2021 5:48 pm

Hi I'm afraid I can't answer that, as the reverser doesn't use that throttle-scale, I have asked octal450 to comment here.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Tue Feb 09, 2021 5:51 pm

ok thx
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby jetsurfer » Tue Feb 09, 2021 6:15 pm

What about the Engine Mode Selector and the Master Switches?
jetsurfer
 
Posts: 28
Joined: Thu Jan 28, 2021 1:39 pm

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Tue Feb 09, 2021 9:52 pm

i found the code do you want it ?
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby jetsurfer » Wed Feb 10, 2021 1:16 am

Yes please! 8)
jetsurfer
 
Posts: 28
Joined: Thu Jan 28, 2021 1:39 pm

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Wed Feb 10, 2021 8:21 am

ok so go to C:\Users\"name"\AppData\Roaming\flightgear.org\Input\Joysticks

you will normally see a file named TCA Q-Eng 1&2

open it with ur favorite xml. editor

paste this after the axis part
Code (): Select all
<button n="2">
<desc type="string">Custom</desc>
<repeatable type="string">false</repeatable>
<binding>
<command type="string">property-toggle</command>
<property type="string">/controls/engines/engine[0]/cutoff-switch</property>
<value type="string">0</value>
<offset type="double">1</offset>
</binding>
<mod-up>
<binding>
<command type="string">property-toggle</command>
<property type="string">/controls/engines/engine[0]/cutoff-switch</property>
<value type="string">1</value>
<offset type="double">1</offset>
</binding>
</mod-up>
</button>
<button n="3">
<desc type="string">Custom</desc>
<repeatable type="string">false</repeatable>
<binding>
<command type="string">property-toggle</command>
<property type="string">/controls/engines/engine[1]/cutoff-switch</property>
<value type="string">0</value>
<offset type="double">1</offset>
</binding>
<mod-up>
<binding>
<command type="string">property-toggle</command>
<property type="string">/controls/engines/engine[1]/cutoff-switch</property>
<value type="string">1</value>
<offset type="double">1</offset>
</binding>
</mod-up>
</button>
<button n="6">
<desc type="string">Custom</desc>
<repeatable type="string">false</repeatable>
<binding>
<command type="string">property-assign</command>
<property type="string">/controls/engines/engine-start-switch</property>
<value type="string">0</value>
<offset type="double">1</offset>
</binding>
<mod-up>
<binding>
<command type="string">property-assign</command>
<property type="string">/controls/engines/engine-start-switch</property>
<value type="string">1</value>
<offset type="double">1</offset>
</binding>
</mod-up>
</button>
<button n="7">
<desc type="string">Custom</desc>
<repeatable type="string">false</repeatable>
<binding>
<command type="string">property-assign</command>
<property type="string">/controls/engines/engine-start-switch</property>
<value type="string">2</value>
<offset type="double">1</offset>
</binding>
<mod-up>
<binding>
<command type="string">property-assign</command>
<property type="string">/controls/engines/engine-start-switch</property>
<value type="string">1</value>
<offset type="double">1</offset>
</binding>
</mod-up>
</button>


save and you're done
i hope it will work for u :)
i also made the throttle 80% correct (detents still working on the reverse thrust)
thx legoboyvdlp for the help
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby jetsurfer » Wed Feb 10, 2021 10:43 pm

Cool! I'll give it a try! Thank you so much!
jetsurfer
 
Posts: 28
Joined: Thu Jan 28, 2021 1:39 pm

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Thu Feb 11, 2021 8:12 am

no problem

tell me if it worked
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Thu Feb 11, 2021 6:16 pm

ok i coded the reverse thrust for every engine by modifying the engine-common.nas file

now left reverse thrust irl toggle left reverse thrust in the sim
same thing for the right one
pro hacker
thx for the help
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby jetsurfer » Thu Feb 11, 2021 11:40 pm

Any idea for the autopilot and auto thrust disconnect buttons?
jetsurfer
 
Posts: 28
Joined: Thu Jan 28, 2021 1:39 pm

Re: Is the TCA Airbus edition Compatible with Flightgear ?

Postby Mohamed » Fri Feb 12, 2021 8:11 am

i also coded it
autopilot: when it's pressed for 1st time autopilot disconnect, 2nd time it stops the alarm like real airbus (add this in the TA320.xml file)
Code: Select all
        <button n="3">
  <desc type="string">Custom</desc>
            <binding>
               <condition>
                  <and>
                     <not><property>/FMGC/keyboard-left</property></not>
                     <not><property>/FMGC/keyboard-right</property></not>
                     <not>
                        <equals>
                           <property>sim/current-view/name</property>
                           <value>Walk View</value>
                        </equals>
                     </not>
                     <not>
                        <equals>
                           <property>sim/current-view/name</property>
                           <value>Walker Orbit View</value>
                        </equals>
                     </not>
                  </and>
               </condition>
               <command>nasal</command>
               <script>
                  fcu.FCUController.APDisc();
               </script>
            </binding>
                     <binding>
            <condition>
               <greater-than-equals>
                  <property>systems/electrical/bus/dc-ess</property>
                  <value>25</value>
               </greater-than-equals>
               <and>
               <equals>
               <property>it-autoflight/output/ap1</property>
               <value>0</value>
            </equals>
                           <equals>
               <property>it-autoflight/output/ap1</property>
               <value>0</value>
            </equals>
            </and>
            </condition>
            <command>nasal</command>
            <script>
               if (getprop("sim/sound/warnings/cchord")) {
                  setprop("sim/sound/warnings/cchord-inhibit", 1);
               }

               if (getprop("it-autoflight/output/ap-warning") == 1) {
                  setprop("it-autoflight/output/ap-warning", 0);
               }
               if (getprop("it-autoflight/sound/apoffsound") == 1 or getprop("it-autoflight/sound/apoffsound2") == 1) {
                  setprop("it-autoflight/sound/apoffsound", 0);
                  setprop("it-autoflight/sound/apoffsound2", 0);
               }
            </script>
         </binding>
     <repeatable type="double">0</repeatable>
     </button


autothrust: when pressed autothrust disconnect (add this in the TCA Q-Eng 1&2)
Code: Select all
  <button>
    <desc type="string">Custom</desc>
    <binding>
      <command type="string">nasal</command>
      <script type="string">
                  fcu.FCUController.ATDisc();
               </script>
    </binding>
    <repeatable type="double">1</repeatable>
  </button>
  <button n="1">
    <desc type="string">Custom</desc>
    <binding>
      <command type="string">nasal</command>
      <script type="string">
                  fcu.FCUController.ATDisc();
               </script>
    </binding>
    <repeatable type="double">1</repeatable>
  </button>
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests