No description
1142bde5e9
I was playing with the target tracking and decided to fix an old bug that causes it to behave wrong at higher altitudes. Background: the script continuously updates values in the autopilot to follow specified target aircraft (AI/MP). It is controlled directly through the property tree under /autopilot/target-tracking. Issue: the script reads out true airspeed, but autopilot expects indicated airspeed. This is why at higher altitudes, the tracking always overshoots. I fixed this by introducing an estimate on indicated airspeed of the target, using the ratio between local aircraft true and indicated airspeed. I also fixed an issue where it ignored minimum speed setting and polished initialization by using props.globals.initNode() instead of dedicated presence check for every property (and also ensured the nodes have correct types, no more bool stored as double). And the last thing I changed was to increase the default tracking distance to a more sane value, with the original value of 0.05nm the tracking was unstable in heading with most aircraft and started oscillating. With the changes I applied, the distance is now holding precisely at any altitude and with any winds. |
||
---|---|---|
AI | ||
Aircraft | ||
Aircraft-uiuc | ||
Airports | ||
Astro | ||
ATC | ||
Docs | ||
Effects | ||
Environment | ||
Fonts | ||
gui | ||
HLA | ||
Huds | ||
Input | ||
Lighting | ||
Materials | ||
Models | ||
MP | ||
Nasal | ||
Navaids | ||
Phi | ||
Protocol | ||
Scenery | ||
Shaders | ||
Sounds | ||
Textures | ||
Timezone | ||
Translations | ||
.gitignore | ||
AtlasPalette | ||
AUTHORS | ||
ChangeLog | ||
COPYING | ||
httpd-settings.xml | ||
joysticks.xml | ||
keyboard.xml | ||
mice.xml | ||
NEWS | ||
options.xml | ||
preferences.xml | ||
README | ||
README-textures-ng | ||
runfgfs.bat | ||
Thanks | ||
version |
Welcome to the FlightGear Flight Simulator project. =================================================== The primary web page for this project is: http://www.flightgear.org For basic installation instructions see the "INSTALL" file. Before you can run FlightGear you will also need to download and install the "base" package which is a collection of textures, sounds, sample scenery, and other data files needed by the sim. For additional install help for specific platforms please browse the "docs-mini/" subdirectory. More complete documentation is available from our web page as a separate distribution. Please take a look at the "Thanks" file for a list of people who have contributed to this project. If you have contributed something but don't find your name in this file. Please send a polite reminder to http://www.flightgear.org/~curt For a summary of changes/additions by version see the "NEWS" file. This project is GPL'd. For complete details on our licensing please see the "COPYING" file. For information on available mailing lists, mailing list archives, and other available source code and documentation, please visit our web site. FlightGear is a product of the collaboration of large international group of volunteers. FlightGear is a work in progress. FlightGear comes with no warranty. We hope you enjoy FlightGear and/or find it of some value!