However all I have been able to achieve so far is the turn starts over the waypoint, and then the aircraft flies directly to the next waypoint, making no attempt to get back to the leg track.
A picture is always better. I want either of the Fly-by, Track to fix, or Fly-over, Track to Fix shown in http://fgfs.goneabitbursar.com/screenshots/FlyByType-LegType.svg, but can only achieve Fly-over, Direct to Fix.
I include an example route
- Code: Select all
<?xml version="1.0"?>
<PropertyList>
<version type="int">2</version>
<route>
<wp>
<type type="string">navaid</type>
<alt-restrict type="string">at</alt-restrict>
<altitude-ft type="double">30</altitude-ft>
<ident type="string">EGNO</ident>
<lon type="double">-2.900178</lon>
<lat type="double">53.741567</lat>
</wp>
<wp n="1">
<type type="string">basic</type>
<alt-restrict type="string">at</alt-restrict>
<altitude-ft type="double">96</altitude-ft>
<ident type="string">Preston</ident>
<lon type="double">-2.714973</lon>
<lat type="double">53.763039</lat>
</wp>
<wp n="2">
<type type="string">basic</type>
<alt-restrict type="string">at</alt-restrict>
<altitude-ft type="double">682</altitude-ft>
<ident type="string">HebdenBridge</ident>
<lon type="double">-2.012719</lon>
<lat type="double">53.742409</lat>
</wp>
<wp n="3">
<type type="string">basic</type>
<alt-restrict type="string">at</alt-restrict>
<altitude-ft type="double">308</altitude-ft>
<ident type="string">Huddersfield Mkt</ident>
<lon type="double">-1.782228</lon>
<lat type="double">53.646672</lat>
</wp>
<wp n="4">
<type type="string">basic</type>
<alt-restrict type="string">at</alt-restrict>
<altitude-ft type="double">772</altitude-ft>
<ident type="string">DerwentDam</ident>
<lon type="double">-1.741897</lon>
<lat type="double">53.404875</lat>
</wp>
<wp n="5">
<type type="string">basic</type>
<alt-restrict type="string">at</alt-restrict>
<altitude-ft type="double">1303</altitude-ft>
<ident type="string">HucklowAirfield</ident>
<lon type="double">-1.730856</lon>
<lat type="double">53.304587</lat>
</wp>
<wp n="6">
<type type="string">navaid</type>
<alt-restrict type="string">at</alt-restrict>
<altitude-ft type="double">30</altitude-ft>
<ident type="string">EGNO</ident>
<lon type="double">-2.900178</lon>
<lat type="double">53.741567</lat>
</wp>
</route>
</PropertyList>
and my gps/route manager configuration, which is in my aircraft.set file.
- Code: Select all
<gps n="0">
<serviceable type="bool">true</serviceable>
<!-- <cdi-deflection>0</cdi-deflection>
<indicated-track-true-deg>0</indicated-track-true-deg>
<indicated-ground-speed-kt>0</indicated-ground-speed-kt>
<raim>0</raim>
<wp>
<leg-true-course-deg>0</leg-true-course-deg>
<leg-mag-course-deg>0</leg-mag-course-deg>
<leg-distance-nm>0</leg-distance-nm>
<wp n="1">
<course-error-nm>0</course-error-nm>
<distance-nm>0</distance-nm>
<bearing-true-deg type="double">0</bearing-true-deg>
</wp>
</wp> -->
<config>
<turn-anticipation type="bool">true</turn-anticipation>
<drive-autopilot type="bool">true</drive-autopilot>
<follow-leg-track-to-fix type="bool">true</follow-leg-track-to-fix>
</config>
</gps>
This is as basic as it can get, but before I start coding my real route manager code I need to find out how I can control it.
Alan