Howto:Implement pushback: Difference between revisions

Jump to navigation Jump to search
m
Robot: Cosmetic changes
m (Bot: Automated text replacement (-aircrafts +aircraft))
m (Robot: Cosmetic changes)
Line 1: Line 1:
[[Image:747-400_pushback_eham.jpg|thumb|270px|A KLM [[Boeing 747-400]] ready for pushback at [[EHAM]]. This is the Goldhofert truck.]]
[[File:747-400_pushback_eham.jpg|thumb|270px|A KLM [[Boeing 747-400]] ready for pushback at [[EHAM]]. This is the Goldhofert truck.]]
[[Image:F-16 pushback.jpg|thumb|270px|A [[F-16]] being towed at [[KLSV]]. This is the military truck.]]
[[File:F-16 pushback.jpg|thumb|270px|A [[F-16]] being towed at [[KLSV]]. This is the military truck.]]
[[Image:YASim-pushback.jpeg|thumb|270px|A BA [[Boeing 777-200]] being pushbacked at [[EHAM]]. 777-200 is YASim]]
[[File:YASim-pushback.jpeg|thumb|270px|A BA [[Boeing 777-200]] being pushbacked at [[EHAM]]. 777-200 is YASim]]
[[Image:YASim-pushback2.jpeg|thumb|270px|A LH [[Boeing 727-230]] being pushbacked at [[EHAM]], here using the military truck]]
[[File:YASim-pushback2.jpeg|thumb|270px|A LH [[Boeing 727-230]] being pushbacked at [[EHAM]], here using the military truck]]
Currently, [[pushback]] can be used on [[JSBSim]] planes and[[YASim]] aswell, but the method differs a bit depending of type of fdm.
Currently, [[pushback]] can be used on [[JSBSim]] planes and[[YASim]] aswell, but the method differs a bit depending of type of fdm.


Line 11: Line 11:




=== Systems/pushback.xml===
=== Systems/pushback.xml ===
Create the following directory, if not present <tt>[[$FG_ROOT]]/Aircraft/.../Systems</tt> and create a file named pushback.xml with the following content:
Create the following directory, if not present <tt>[[$FG ROOT]]/Aircraft/.../Systems</tt> and create a file named pushback.xml with the following content:


  <?xml version='1.0' encoding='UTF-8' ?>
  <?xml version='1.0' encoding='UTF-8' ?>
Line 55: Line 55:
This is the "cruise control" for the pushback truck. You define the cruise speed at the dialog and the controller varies the external force in a way that the actual speed matches your given value. The working horses here are the summer, which compares actual and reference speed, and the PID controller which calculates the resulting force. A basic description is: "the more actual and reference speed differ, the more force is applied (kp) plus the more time passes until the reference speed is reached, the more force is applied (ki)". The switches check, if the pushback truck is actually linked to the aircraft.
This is the "cruise control" for the pushback truck. You define the cruise speed at the dialog and the controller varies the external force in a way that the actual speed matches your given value. The working horses here are the summer, which compares actual and reference speed, and the PID controller which calculates the resulting force. A basic description is: "the more actual and reference speed differ, the more force is applied (kp) plus the more time passes until the reference speed is reached, the more force is applied (ki)". The switches check, if the pushback truck is actually linked to the aircraft.


=== .xml (FDM)===
=== .xml (FDM) ===
After the </propulsion> tag we add a reference to the pushback system:
After the </propulsion> tag we add a reference to the pushback system:


Line 79: Line 79:
  </external_reactions>
  </external_reactions>


=== -set.xml===
=== -set.xml ===
Between the <model> tags in the -set.xml file add the definitions for the speed-hold controller:
Between the <model> tags in the -set.xml file add the definitions for the speed-hold controller:
  <model>
  <model>
Line 111: Line 111:
  </menubar>
  </menubar>


=== Models/ .xml===
=== Models/ .xml ===
In your planes model file, we add a reference to one of the generic pushback models, or a custom made truck, shipped with your plane. Edit the offsets to fit your plane; the z offset should be at ground level, while the x offset is at the nosewheel(center).
In your planes model file, we add a reference to one of the generic pushback models, or a custom made truck, shipped with your plane. Edit the offsets to fit your plane; the z offset should be at ground level, while the x offset is at the nosewheel(center).


Line 134: Line 134:
For YASim we have to fake the external forces with the thruster. A thruster in YASim is a very simple "thrust only" engine object which not consume any fuel etc.
For YASim we have to fake the external forces with the thruster. A thruster in YASim is a very simple "thrust only" engine object which not consume any fuel etc.


=== .xml (FDM)===
=== .xml (FDM) ===
So we add this following lines to our yasim.xml:
So we add this following lines to our yasim.xml:
   <thruster x="19.246"  y="0.00" z="-2.7" vx="1" vy="0" vz="0" thrust="20000">
   <thruster x="19.246"  y="0.00" z="-2.7" vx="1" vy="0" vz="0" thrust="20000">
Line 161: Line 161:
  </menubar>
  </menubar>


=== Models/ .xml===
=== Models/ .xml ===
And like in JSBSim, in your planes model file, we add a reference to one of the generic pushback models, or a custom made truck, shipped with your plane. Edit the offsets to fit your plane; the z offset should be at ground level, while the x offset is at the nosewheel(center).
And like in JSBSim, in your planes model file, we add a reference to one of the generic pushback models, or a custom made truck, shipped with your plane. Edit the offsets to fit your plane; the z offset should be at ground level, while the x offset is at the nosewheel(center).


Line 177: Line 177:


Done! Now you have Pushback on your favourite YASim-Model!
Done! Now you have Pushback on your favourite YASim-Model!


[[Category:Aircraft enhancement|Implement pushback]]
[[Category:Aircraft enhancement|Implement pushback]]
[[Category:Howto|Implement pushback]]
[[Category:Howto|Implement pushback]]

Navigation menu