Skip to content

Commit

Permalink
T-URBO fixes pushback
Browse files Browse the repository at this point in the history
  • Loading branch information
IAHM-COL committed Jun 9, 2016
1 parent 450c6c1 commit 047aa42
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 42 deletions.
8 changes: 4 additions & 4 deletions 787-8-set.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
<mach-bug-kt-norm type="double">0</mach-bug-kt-norm>
</b787>
<pushback>
<kp type="double">300</kp>
<ki type="double">0</ki>
<kd type="double">0</kd>
<position-norm type="double">0</position-norm>
<kp type="double">460</kp>
<ki type="double">25</ki>
<kd type="double">200</kd>
<position-norm type="double">0</position-norm>
</pushback>

<efb>
Expand Down
3 changes: 1 addition & 2 deletions 787-8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@

</propulsion>

<!-- system file="pushback"/>
<system file="Defines"/ -->
<system file="pushback"/>

<flight_control name="FCS: 787-8">

Expand Down
Empty file modified Models/Instruments/vsd.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 54 additions & 36 deletions Systems/pushback.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,56 @@
<?xml version='1.0' encoding='UTF-8' ?>
<system name="pushback">
<property>/sim/model/pushback/target-speed-fps</property>
<channel name="Pushback">

<switch name="systems/pushback/linked">
<default value="-1"/>
<test value="0">
/sim/model/pushback/position-norm gt 0.95
/gear/gear/wow == 1
gear/unit[0]/wheel-speed-fps lt 50
</test>
</switch>

<summer name="systems/pushback/speed-error">
<input>/sim/model/pushback/target-speed-fps</input>
<input>-gear/unit[0]/wheel-speed-fps</input>
</summer>

<pid name="systems/pushback/force">
<input>systems/pushback/speed-error</input>
<kp>/sim/model/pushback/kp</kp>
<ki>/sim/model/pushback/ki</ki>
<kd>/sim/model/pushback/kd</kd>
<trigger>systems/pushback/linked</trigger>
<output>/sim/model/pushback/force</output>
</pid>

<switch name="systems/pushback/force-output">
<default value="0"/>
<test value="systems/pushback/force">
systems/pushback/linked == 0
</test>
<output>external_reactions/pushback/magnitude</output>
</switch>

</channel>
</system>
<property>/sim/model/pushback/target-speed-fps</property>
<channel name="Pushback">

<switch name="systems/pushback/linked">
<default value="-1"/>
<test value="0">
/sim/model/pushback/position-norm gt 0.95
/gear/gear/wow == 1
gear/unit[0]/wheel-speed-fps lt 50
</test>
</switch>

<summer name="systems/pushback/speed-error">
<input>/sim/model/pushback/target-speed-fps</input>
<input>-gear/unit[0]/wheel-speed-fps</input>
</summer>

<pid name="systems/pushback/force">
<input>systems/pushback/speed-error</input>
<kp>/sim/model/pushback/kp</kp>
<ki>/sim/model/pushback/ki</ki>
<kd>/sim/model/pushback/kd</kd>
<trigger>systems/pushback/linked</trigger>
<output>/sim/model/pushback/force</output>
</pid>

<switch name="systems/pushback/force-output">
<default value="0"/>
<test value="systems/pushback/force">
systems/pushback/linked == 0
</test>
<output>external_reactions/pushback/magnitude</output>
</switch>

<fcs_function name="Pushback Force X">
<function>
<cos>
<toradians><property>fcs/steer-pos-deg[0]</property></toradians>
</cos>
</function>
<output>external_reactions/pushback/x</output>
</fcs_function>

<fcs_function name="Pushback Force Y">
<function>
<sin>
<toradians><property>fcs/steer-pos-deg[0]</property></toradians>
</sin>
</function>
<output>external_reactions/pushback/y</output>
</fcs_function>

</channel>
</system>

1 comment on commit 047aa42

@FGDATA
Copy link
Member

@FGDATA FGDATA commented on 047aa42 Jun 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @FGMEMBERS/fg-aircraftdevelopers
this patch must fix the pushback of this aircraft.

http://www.thejabberwocky.net/viewtopic.php?f=15&t=614

Please test if able.
Thanks
@IAHM-COL

Please sign in to comment.