Howto:Design an autopilot: Difference between revisions

Jump to navigation Jump to search
m
→‎Pre-design: Template:Key press
m (→‎Pre-design: Template:Key press)
m (→‎Pre-design: Template:Key press)
Line 6: Line 6:


== Pre-design ==
== Pre-design ==
Why not make things slightly easier, before we start working on the autopilot? Since we will be updating the autopilot hundreds of times, making tiny adjustments each time, we don't want to reload FlightGear every time. Therefore, we assign an "reload autopilot configuration" action to a key on our keyboard. We've chosen {{key press|Shift}}+{{key press|F5}}, but it could be any key. Add the code to your <tt>[[$FG ROOT]]/keyboard.xml</tt> file.
Why not make things slightly easier, before we start working on the autopilot? Since we will be updating the autopilot hundreds of times, making tiny adjustments each time, we don't want to reload FlightGear every time. Therefore, we assign an "reload autopilot configuration" action to a key on our keyboard. We've chosen {{key press|Shift|F5}}, but it could be any key. Add the code to your <tt>[[$FG ROOT]]/keyboard.xml</tt> file.


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu