torsten [Fri, 22 Jan 2010 17:00:32 +0000 (17:00 +0000)]
bugfix
Patrice Poly:
After investigation, it appears that the probes are reversed due to a
little mistake when someone changed how the probe calculations are made.
probe 0 is under the plane. probe 4 should be downwind, probes 1,2 and 3 should be upwind.
durk [Sun, 17 Jan 2010 19:41:47 +0000 (19:41 +0000)]
John Denker:
Subject: [PATCH] Make terrasync more usable, more like a proper daemon.
-- writes pid to file
-- normally does not exit until signalled
-- uses blocking and non-blocking I/O as appropriate.
jmt [Sun, 10 Jan 2010 23:35:53 +0000 (23:35 +0000)]
GPS: improve reliability (at the expense of some in-development features) for pending release.
- default to an invalid altitude in routes, instead of cruise altitude (temporarily)
- only set an altitude on the autopilot, if valid
- only add departure airport/runway to the route, if not airborne
durk [Tue, 5 Jan 2010 20:04:54 +0000 (20:04 +0000)]
Some additional changes to ensure that FlightGear at least compiles after configuring with --disable-atcdcl. Some substitution code is added in ATC/atcutils.cxx and ATC/atcutils.hxx. Note that the new code doesn't run properly yet. Instead, it is just meant to identify which parts need replacement. Getting that to work will be the next step.
ehofman [Tue, 5 Jan 2010 11:24:15 +0000 (11:24 +0000)]
Tatsuhiro Nishioka:
These patches fixes minor bug in addition to providing --with-openal-framework and --with-cocoa-framework.
Now you can use your own version of OpenAL.framework for selecting various audio output device.
Plus, you can build FG/SG on Snow Leopard with cocoa configuration.
torsten [Sat, 2 Jan 2010 18:29:01 +0000 (18:29 +0000)]
provide a property /orientation/track
The track is computed between two subsequent settings of the geodetic position and represents the true track.
Also the _set_Latitude() and _set_Longitude() methods were removed. Use _set_Geodetic_Position(lat,lon) instead.
torsten [Tue, 29 Dec 2009 15:34:02 +0000 (15:34 +0000)]
bugfix: don't call the update_helper() for every instance of FGXMLAutopilot. Compute the helper properties only once per FGXMLAutopilotGroup's update() method. Only one AutopilotGroup shall be instantiated, but many Autopilots may exist.
Note that Python's XML parser is picky about accents. Choose encoding
ISO-8859-1 for latin1 accents or UTF-8 for UTF-8 accents. (Don't use latin1
comments in UTF-8 encoding!) Use xmllint to check for the validity of your
XML files (or let ./scripts/tools/fg-check do that for you):
$ xmllint a26-yasim.xml
a26-yasim.xml:113: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE8 0x73 0x20 0x6C
moment d'apr?s la doc : ________________________ = __________ =
^
Csaba Halasz [Sun, 20 Dec 2009 15:17:14 +0000 (16:17 +0100)]
Use the _controlled member instead of the tower pointer itself to check for valid tower in AILocalTraffic as tower doesn't always reflect current state.
Tim Moore [Thu, 12 Nov 2009 09:58:42 +0000 (10:58 +0100)]
Attach an empty shader program to the scene graph root
This establishes a default state of using the OpenGL fixed function pipeline.
Otherwise a shader program from a state set can leak into state sets that don't
use shaders at all.
torsten [Fri, 18 Dec 2009 11:43:14 +0000 (11:43 +0000)]
Ingore unhandled top level elements instead of not loading the autopilot. This (re-)enables usage of <params> at top level and <property alias="../params/foo"/>
James Turner [Thu, 17 Dec 2009 12:36:51 +0000 (12:36 +0000)]
Rewrite the spatial index to use a sparse octree on the cartesian coordinates of items.
* Fixes errors selecting 'nearest' items, including duplicates
* Stable behaviour around the poles and dateline
* Decently efficient, even for 'everything within 500nm' queries
torsten [Tue, 15 Dec 2009 21:27:46 +0000 (21:27 +0000)]
- introduce some typedefs for SGSharedPtr<>
- add a <period> element to input and output of each filter to support periodical values like headings. See README.digitalfilters for details.