Howto:Build and run FlightGear on Raspberry Pi 4: Difference between revisions

Jump to navigation Jump to search
Line 116: Line 116:
   </axis>
   </axis>


[[User:Puffergas|Puffergas]] ([[User talk:Puffergas|talk]]) 15:35, 20 February 2020 (EST)
<big>'''Thrustmaster Flight Rudder Pedals'''</big>
 
There could be two adjustments needed for these rudder pedals. The toe brakes are reversed and delete the toe brake center dead band. Use the same method to delete the dead band as in the above throttle quadrant. Do not delete the dead band for the rudder unless that is what you want to do. Below is a calibration data example:
{| class="wikitable"
|-
! Axis !! CenterMin !! CenterMax !! RangeMin !! RangeMax
|-
| 0 || 511 || 511 || 0 || 1022
|-
| 1 || 511 || 511 || 0 || 1022
|-
| 2 || 448 || 574 || 63 || 959
|}
 
Reversing the toe brake direction in FlightGear, using it's joystick dialog box, does't work. The easiest method is to reverse them using jstest-gtk and check the invert box for axes 0 and axes 1.
 
Depending on the version of FlightGear, there could be a bug where one of the toe brakes do not show up in the FlightGear joystick dialog box. If so this is easy to edit in the configuration file. It might also be beneficial to delete controls that are not part of this rudder pedal so not to produce any conflicts. See below:
 
  <name type="string">Thrustmaster T-Rudder</name>
  <axis>
    <desc type="string">Brake Right</desc>
    <binding>
      <command type="string">property-scale</command>
      <property type="string">/controls/gear/brake-right</property>
      <factor type="double">0.5</factor>
      <offset type="double">1</offset>
    </binding>
  </axis>
  <axis n="1">
    <desc type="string">Brake Left</desc>
    <binding>
      <command type="string">property-scale</command>
      <property type="string">/controls/gear/brake-left</property>
      <factor type="double">0.5</factor>
      <offset type="double">1</offset>
    </binding>
  </axis>
  <axis n="2">
    <desc type="string">Rudder</desc>
    <binding>
      <command type="string">property-scale</command>
      <property type="string">/controls/flight/rudder</property>
      <factor type="double">1</factor>
      <offset type="double">0</offset>
    </binding>
  </axis>
 
 
[[User:Puffergas|Puffergas]] ([[User talk:Puffergas|talk]]) 16:26, 20 February 2020 (EST)


==Compiling ==
==Compiling ==
==Performance settings ==
==Performance settings ==
==Interfacing==
==Interfacing==
320

edits

Navigation menu