James Turner
a6458c2ed6
Autoconf changes for more flexible versioning.
2010-11-13 10:40:29 -08:00
ThorstenB
e5348b67a5
New property identifying missing MP planes
...
Provide "model-installed" property at MP planes for pilot list.
Avoid direct directory access in Nasal (aircraft installed check).
2010-11-13 16:29:34 +01:00
Christian Schmitt
0a5e86f4e6
remove old .cvsignore files
2010-11-11 01:16:29 +01:00
Torsten Dreyer
0917a5e062
Bugfix: no automatic runway selection with --parkpos=
2010-11-10 23:28:07 +01:00
Torsten Dreyer
9242f3a083
Make startup.nas obsolete
...
This is an ugly hack for automatic runway selection on startup based on
metar data. It's main intention is to make startup.nas obsolete and
to guarantee the same runway selection logic as used for AI traffic.
Calling presets-commit from startup.nas during the initialization
sequence caused occasional trouble and sometimes, the AI traffic
operated on the opposite runway.
2010-11-10 22:19:25 +01:00
Vivian Meazza
66f1ac9222
Merge branch 'next' of D:\Git_New\flightgear into next
2010-11-08 22:06:04 +00:00
ThorstenB
85185b56c5
Fixed hot-spot display for 3d modes
...
Also set left/right culling masks (standard mask no effect when 3d rendering is enabled).
2010-11-08 00:24:41 +01:00
Vivian Meazza
438e365aad
Merge branch 'next' of D:\Git_New\flightgear into next
2010-11-06 10:21:15 +00:00
Erik Hofman
9ad18de448
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2010-11-06 10:05:46 +01:00
James Turner
0cb0c59bc9
FGIO uses new SGSubsystem shutdown() logic
2010-11-06 07:22:37 +00:00
Vivian Meazza
8150bca689
Merge branch 'next' of D:\Git_New\flightgear into next
2010-11-04 20:09:52 +00:00
James Turner
c053de6b4c
If preset-commit occurs during init, skip most re-init logic.
2010-11-02 23:19:09 +00:00
Vivian Meazza
cbb502957c
Merge branch 'next' of D:\Git_New\flightgear into next
2010-11-02 22:59:34 +00:00
James Turner
eeaf4b13e6
Unify reset/reposition code-paths, and ensure initial state is preserved by a reset.
2010-11-02 22:45:43 +00:00
James Turner
0d6de72b57
Add headerpax-max-install-names, for Mac deployment.
2010-11-02 14:24:09 +00:00
Torsten Dreyer
c56aaa8771
add <initialize-to> to components
...
The tag <initialize-to> can be used to control the value
of the output when the component is first enabled. This
controls initialization of the output property and the current
value for internal computation
Valid values are
<initialize-to>input</initialize-to>
set the output-property to the input value
<initialize-to>output</initialize-to>
set the output-property to the output value
<initialize-to>none</initialize-to>
ignore input and output value
2010-11-02 11:07:33 +01:00
Vivian Meazza
830c2ae7db
Merge branch 'next' of D:\Git_New\flightgear into next
2010-11-01 18:23:23 +00:00
Erik Hofman
ff985e43df
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2010-11-01 15:04:59 +01:00
James Turner
545969054c
Use new Simgear platform defines in Input code.
2010-10-31 12:23:16 +00:00
Csaba Halasz
27782d7c8b
Added null pointer check to AI subsystem tear down in FGGlobals destructor to avoid crash when using --help option
2010-10-31 00:36:54 +02:00
Vivian Meazza
8ec60b663d
Merge branch 'next' of D:\Git_New\flightgear into next
2010-10-29 20:59:01 +01:00
ThorstenB
7dd2cf19e8
Fixed some compiler warnings.
...
Please the compiler (gods).
2010-10-29 21:14:09 +02:00
James Turner
f02267e3e3
Remove a stray include that got missed.
2010-10-29 14:11:54 +01:00
Vivian Meazza
9ac9940e38
Merge branch 'next' of D:\Git_New\flightgear into next
2010-10-29 10:14:12 +01:00
James Turner
d1a4590721
Goodbye old HUD - and the archeology it depended upon in cockpit.cxx
2010-10-29 08:47:58 +01:00
Erik Hofman
e7ed88af92
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2010-10-29 09:10:59 +02:00
Erik Hofman
61788d6558
temporary fix for a crash of the c172 (and possibly other aircraft)
2010-10-29 09:10:07 +02:00
Frederic Bouvier
6081f24b00
Don't blindly delete the global property tree on reinit
2010-10-29 09:00:31 +02:00
Vivian Meazza
02fb83c774
Merge branch 'next' of D:\Git_New\flightgear into next
2010-10-28 17:35:03 +01:00
Vivian Meazza
0840b188d2
Re-interpret gyro wander under g-forces
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-28 17:32:22 +01:00
Vivian Meazza
b88d0988cd
More rationalization of methods, and other clean-ups
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-28 17:29:41 +01:00
James Turner
0147f78d20
Remove persistent references to AI mananger and its objects from the submodel-manager.
2010-10-28 15:10:37 +01:00
James Turner
e9f4106bc1
Remove confusing default (missing) path from 2D panel code.
2010-10-28 13:54:45 +01:00
James Turner
0320010d95
Make use of view[0] in HUD-runway lazy.
2010-10-28 13:54:01 +01:00
James Turner
c96206aafd
Tweak shutdown code, chasing intermittent segfaults on shutdown.
2010-10-26 23:42:34 +01:00
Torsten Dreyer
ae5c29e685
Merge branch 'next' of gitorious.org:fg/flightgear into next
2010-10-26 21:20:54 +02:00
Torsten Dreyer
4371a18771
resurrection of /sim/rendering/draw-otw
2010-10-26 21:20:01 +02:00
Erik Hofman
68f5429048
Sync with JSBSim cvs + Anders' patch to get it working with FlightGear.
2010-10-26 09:48:56 +02:00
Torsten Dreyer
657cd883d7
Compile again, replace clib strXXX with std::string
2010-10-25 14:48:56 +02:00
James Turner
e5abcb1d4e
Merge commit 'refs/merge-requests/9' of git://gitorious.org/fg/flightgear into integration/merge9
...
Conflicts:
src/GUI/new_gui.cxx
2010-10-25 09:12:21 +01:00
ThorstenB
d61e992d76
Fix occasional start-up crash when reading GUI XMLs.
...
_dialog_props holds SGSharedPtrs (pointers managed by reference counters).
Explicitly casting the object to an unmanaged SGPropertyNode* and deleting it
may cause heap corruption, since the following assignment "_dialog_props[..] = ..."
also tries to delete the (already deleted) object.
2010-10-24 21:36:15 +02:00
Anders Gidenstam
d7440d8fc5
src/Network/jpg-httpd.cxx: Include C++ C headers instead of plain C headers.
2010-10-24 15:22:06 +02:00
James Turner
987c1bdfda
Automake build fixes for PLIB net/ul removal.
2010-10-24 11:04:14 +01:00
James Turner
db4b84bc5c
Convert nasal directory() helper to use simgear::Dir
2010-10-24 07:10:51 +01:00
James Turner
7ccba95b9c
Remove direct uses of PLIB ulXXX functions
2010-10-24 07:10:51 +01:00
James Turner
0e53e2cbb1
PLIB net removed from FlightGear
2010-10-24 07:10:51 +01:00
James Turner
984900d84d
Make v2 HUD a top-level subsystem, so it can be reinit()ed correctly.
2010-10-24 07:10:02 +01:00
James Turner
957a59e57a
Investigating an intermittent shutdown crash; fix deletion of AIManager.
2010-10-23 19:09:08 +01:00
James Turner
3464eef711
Make the v2 HUD support reinit(), so HUDs can be reloaded at runtime.
2010-10-22 19:11:24 +01:00
James Turner
d573cb43a0
Move three more subsystems into the init + update scheme - fixes some crashes found by papillion.
2010-10-22 16:44:37 +01:00
James Turner
f5c2c630eb
Remove references to old (unused) airways code
2010-10-20 17:54:16 +01:00
James Turner
fe16732783
Fix Win32 compilation - avoid SID name clash with windows.h
2010-10-20 13:13:05 +01:00
James Turner
308fd1b112
Automake build fixes for airways commit.
2010-10-20 11:48:06 +01:00
James Turner
dd2eec7bd8
Airways/procedures code - add new data structures to store waypoints and
...
procedures, and routing algorithms, and modify the GPS, route manager and
WaypointList to use the new objects.
2010-10-20 09:02:02 +01:00
James Turner
0d7769ae72
Search aircraft dirs when loading AI models. Thanks to Thorsten Brehm for the catch.
2010-10-20 00:07:54 +01:00
James Turner
94a3471956
Merge commit 'refs/merge-requests/7' of git://gitorious.org/fg/flightgear into topics/merge7
2010-10-19 09:05:51 +01:00
James Turner
6251814604
Use a property listener on the root, to observe property creation, and thus lazily update the MP property map. Fixes bug 164, and probably many latent MP missing-property issues.
2010-10-18 00:58:35 +01:00
Torsten Dreyer
9f9e86a61e
remove leftover debugging stuff
2010-10-12 15:26:00 +02:00
Torsten Dreyer
06fb956f2c
Fix timing issue on startup for auto runway selection
...
The automatic runway selection code in startup.nas depends
on a valid metar before /sim/signals/nasal-dir-initialized
is fired. If the METAR arrives after that signal, no automatic
runway selection is performed. This patch waits for a METAR
on the first update() loop of the subsystem.
2010-10-11 21:21:53 +02:00
Torsten Dreyer
b9f2f432b3
Merge commit 'refs/merge-requests/8' of git://gitorious.org/fg/flightgear into merge-predictor-fix
2010-10-09 16:06:18 +02:00
Tim Moore
f901dac2ac
replace GLU functions with OSG functionality
2010-10-08 23:48:01 +02:00
Thorsten Brehm
a4f1139fcd
Fixed autopilot/Predictor.
...
Signature of Predictor::configure must match AnalogComponent::configure,
otherwise the inherited method isn't overridden.
=> predictor couldn't be configured.
=> speed predictor rules in "generic-autopilot-helper.xml" weren't working.
2010-10-08 21:41:09 +02:00
James Turner
9b2cea33e8
Remove uneccessary explicit update of FGLight
2010-10-05 23:17:32 +01:00
James Turner
0c342308eb
Make MultiPlayer a well-behaved subsystem.
2010-10-05 23:17:32 +01:00
James Turner
d39841d2df
Make FGAircraftModel behave like a standarrd subsystem.
2010-10-05 23:17:32 +01:00
Thorsten Brehm
a1137ed940
Another GPWS fix: terrain clearance filter must be reset on reset/reposition.
...
Queue of recent altitude samples must be cleared on reset/reposition to avoid nuisance alerts...
2010-10-05 22:34:23 +02:00
Thorsten Brehm
9be636555c
Fixed navradio when shutting down/restarting nav receiver.
...
"nav-loc" and "has_gs" properties were not updated when nav receiver was rebooted.
Shutting down the nav receiver clears all nav outputs (including "nav-loc" and "has_gs").
=> When nav receiver is powered again, all outputs must be updated.
=> "nav-loc" and "has_gs" are only updated when active nav station changes.
=> old nav station must be cleared on shutdown to enforce update on nav reboot...
2010-10-05 22:34:08 +02:00
Torsten Dreyer
9ffaf11aa5
Autopilot: fix initialization of digital filters
2010-10-05 14:29:36 +02:00
Tim Moore
dba471519f
Thorsten Brem's patches for bug 122
...
Fixes teleporting problems and disappearing tiles.
2010-10-03 08:35:12 +02:00
James Turner
3b410152f0
Merge commit 'refs/merge-requests/6' of git://gitorious.org/fg/flightgear into torsten/mkviii
2010-10-02 19:16:48 +01:00
Thorsten Brehm
e7b58d48e3
Fix wxradar to use path resolution
...
make it work with the new "multiple aircraft dir" feature
2010-10-02 00:40:24 +02:00
James Turner
0beab94cb5
Make the tile-manager a well-behaved SGSubsystem
2010-10-01 19:09:19 +01:00
James Turner
6963a6c2e4
Kill off the general.hxx header
2010-10-01 09:35:37 +01:00
James Turner
1afd4e602e
Get rid of FGGeneral; expose equivlanet values via properties.
2010-10-01 09:33:31 +01:00
James Turner
af4e47179e
Kill off fgRequestRedraw
2010-09-30 23:13:11 +01:00
James Turner
84b45683fc
Refactor exit code, so the osgViewer gets 'done'.
2010-09-30 23:13:11 +01:00
James Turner
582c1e8df8
Tidy new_gui header
2010-09-30 23:10:00 +01:00
James Turner
f969504e6b
Tidy fg_commands header.
2010-09-30 23:10:00 +01:00
Csaba Halasz
29afc299fd
Merge commit 'refs/merge-requests/5' of git://gitorious.org/fg/flightgear into next
2010-09-30 23:54:35 +02:00
Thorsten Brehm
c7423cbcea
- Fixed mk-viii sound sample loader: missing "/".
...
- Fixed triggering of debug assertion "altitude_callout_voice != NULL" when
altitude callouts were delayed by higher priority warnings.
- Fixed performance bug: MK_VIII::IOHandler::TerrainClearanceFilter::update
sucked CPU time (top #12 in profiler), due to complex "moving average"
calculation on a queue of hundreds/thousands of altitude samples.
Also, pausing the sim caused this queue to grow excessively (by one sample
per update loop) => resuming the sim after pausing it for a long time
resulted in the TerrainClearanceFilter sucking even more CPU time...
=> Number of altitude samples is now limited to 5 samples/sim-time-second
(still more than enough to calculate a stable average).
2010-09-30 23:18:13 +02:00
Csaba Halasz
5a2d948c6f
Add missing initializer in AIBallistic.cxx
2010-09-30 13:07:42 +02:00
Vivian Meazza
abd1d983c6
Rationalize methods.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-30 01:08:50 +02:00
Vivian Meazza
2b95158704
Add coefficients configurable at runtime, and bugfix.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-30 01:06:19 +02:00
Vivian Meazza
a5eba61c2a
Remove unneeded variable.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-30 01:05:59 +02:00
Csaba Halasz
5000d212ec
Merged commit from Vivian Meazza: Rationalize methods (ea85e50c2093942164bbc02f371a0c05b259f9f4)
2010-09-30 01:05:04 +02:00
Csaba Halasz
141186a358
Merge branch 'next' into vivian
...
Conflicts:
src/AIModel/AIBallistic.cxx
src/AIModel/AIBase.cxx
2010-09-30 00:45:13 +02:00
Vivian Meazza
10866851de
Add join manoeuvre/command to AIWingman. Rationalize more methods. Fix some more bugs
2010-09-30 00:34:15 +02:00
Thorsten Brehm
c71fcbf10d
Simplified pointer-aliasing patch.
...
Removed introduction of a new union and reused existing one.
2010-09-28 08:50:54 +02:00
Thorsten Brehm
5a7f838ff2
Fixed all type-casts violating the strict-aliasing rule.
...
=> Removes compiler warnings and optimization problems.
2010-09-27 23:48:20 +02:00
Torsten Dreyer
5ed04a6227
Ignore outdated METAR for realwx
2010-09-27 18:59:26 +02:00
Durk Talsma
df00df3feb
- Fix compiler warnings.
2010-09-27 17:48:38 +02:00
James Turner
d5e0bc3b89
Thorsten Brehm:
...
* Fixed segfault when GPWS finds a matching airport but no suitable runway.
* Fixed several sim deadlocks when GPWS alerts trigger at "strange"
heights (e.g. initial alert height is -5ft or 1e-29...).
* Avoid repitition of GPWS alerts below 30ft, i.e. avoid excessive
repitition when plane becomes airborne at bumpy landings.
2010-09-20 09:06:30 +01:00
Erik Hofman
08a42cb164
Sync. with JSBSim CVS
2010-09-19 11:18:13 +02:00
Erik Hofman
4b8fde057b
Sync. with JSBSim CVS
2010-09-19 11:16:29 +02:00
Anders Gidenstam
cf4d0fb0e3
Restored src/AIModel/AIShip.hxx to unix line endings. The last step of
...
rebasing merge-request #6 for inclusion.
2010-09-17 22:03:00 +02:00
Vivian Meazza
474789269b
Bugfix - untie property.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:44:58 +02:00
Vivian Meazza
00f26994b2
Add <name> tag so that AIWingman or other suitable AI Object can be attached.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:44:58 +02:00
Vivian Meazza
1dc3ecf016
Make AI Objects of type Wingman, Escort, and GroundVehicle able to be stationed or formated to any AI Object type which can be named - Carrier, Ship, Tanker, Wingman etc.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:44:58 +02:00
Vivian Meazza
f08012d14f
Remove debugging statement.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:44:58 +02:00
Vivian Meazza
b22960ffff
Associate submodels with parent AI Objects.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:17:56 +02:00
Vivian Meazza
2758f07df0
Use AIBase method setParentNode() vice the local method.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:17:56 +02:00
Vivian Meazza
afbc360eed
Add callsign for consitency.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:06:35 +02:00
Vivian Meazza
c7e864cee9
Move methods "setParentNode()" etc. to make them available to all AI Objects.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:06:35 +02:00
Vivian Meazza
b4fbde72b2
Enable Ballistic objects to be slaved to any AI Object.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-17 21:06:35 +02:00
Torsten Dreyer
a5017f218f
Fix mean nasal bug when calling setprop("foo")
...
Reported on the forum from Thorsten Renk and analyzed by
Hooray, fixes this issue:
var x="/test/X";
var y="/test/Y";
setprop(x,100); # sets x=100
setprop(y); # sets x=0
setprop(x,100);
setprop(200); # sets x=200
by checking for at least 2 parameters for setprop
2010-09-13 22:15:50 +02:00
Torsten Dreyer
31a807563b
Fix static initialization order trouble on OSX
2010-09-13 21:21:10 +02:00
Erik Hofman
f75656ea59
Allow for scenery de-saturation
2010-09-12 11:06:14 +02:00
Torsten Dreyer
f3af5ae5dc
Be a bit more descriptive on "PT_vs_hpt: ran out of layers"
...
Please enter the commit message for your changes. Lines starting
2010-09-11 21:33:17 +02:00
Torsten Dreyer
814daa3365
Environment bugfix: don't write unchanged cloud coverages
...
Only write out changes of the cloud layer to avoid regeneration
of the cloud layers if nothing has changed
2010-09-11 21:23:11 +02:00
Torsten Dreyer
1a3eddbbcd
Keep MSVC happy with the Environment updates
2010-09-11 20:32:37 +02:00
Torsten Dreyer
5c6fe95259
Environment controller overhaul
...
This is the initial commit for a reworked environment controller.
The main intention is to decouple the individual modules like
metar fetch, metar properties, environment interpolation etc.
to make it easier for other weather module developers to modify
environment settings.
As a side effect, the dialogs for weather-scenario, weather-conditions,
clouds and precipitations have been merged into a single dialog
2010-09-11 16:11:35 +02:00
Csaba Halasz
fdbfd6fd0b
Merge commit 'refs/merge-requests/1552' of git@gitorious.org:fg/flightgear into next
...
Conflicts:
src/MultiPlayer/multiplaymgr.cxx
2010-09-09 00:48:17 +02:00
James Turner
7227973e2f
Don't expect an 'Aircraft' sub-directory within each aircraft-dir.
2010-09-08 11:01:26 +01:00
James Turner
e8b0bb872a
Register the aircraft resource provider.
2010-09-06 22:57:48 +01:00
James Turner
18a5a2a144
Fix one more place to use path resolution
...
(and hence work with multiple aircraft dirs)
Thanks to Jentron for the catch.
2010-09-06 16:10:58 +01:00
James Turner
8330449c5f
Pass current-dir into XMLSound
...
(and update to revised SGSoundSample ctor)
2010-09-06 09:28:28 +01:00
James Turner
a7a2cb393a
Use the new Simgear ResourceManager to resolve paths.
2010-09-06 09:13:10 +01:00
James Turner
8a97ed354d
Fix submodel code to work with multiple aircraft dirs.
2010-09-06 09:12:25 +01:00
Torsten Dreyer
1e43675f61
Expose some OSG DisplaySettings to the property tree
2010-09-05 11:56:38 +02:00
Durk Talsma
aba57077fd
Issue a warning when finding duplicate tail numbers. Note that this is far from a fatal error, but does interfere with the startup heuristics data collection mechanism.
2010-09-03 12:32:55 +02:00
Durk Talsma
8112ff5842
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2010-09-03 10:57:27 +02:00
Durk Talsma
558582b58d
* A few new features to allow database management and traffic pattern developement:
...
--prop:/sim/traffic-manager/dumpdata=true: dumps the currently loaded datafile to the console for inspection.
--prop:/sim/traffic-manager/datafile=/path/to/somefile.xml: Skips autoscanning and reads traffic only from the specified xml file.
--prop:/sim/traffic-manager/datafile=/path/to/somefile.conf: Slips autoscanning and reads traffic from a plain text file, as described on the forum/wiki
* Removed the use of pointers for heuristics calculations, as urged by Frederic Bouvier
* Fixed domain error in proportion calculation during loading, resulting in random skipping of aircraft, as reported by Jorg van der Venne.
2010-09-03 10:47:05 +02:00
Anders Gidenstam
a9062080b0
Restored line endings in src/MultiPlayer/multiplaymgr.cxx.
...
Please check that the line endings are not messed up before mergeing.
2010-09-02 20:07:34 +02:00
Anders Gidenstam
95a7e177d7
Restored line endings in src/AIModel/AIMultiplayer.cxx.
...
Please check that the line endings are not messed up before mergeing.
2010-09-02 19:46:44 +02:00
Vivian Meazza
2cdc9f6461
Merge branch 'next' of D:\Git_New\flightgear into next
2010-09-02 09:27:18 +01:00
Vivian Meazza
9018d65c52
Add contrail as a standard property
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-02 09:25:53 +01:00
Vivian Meazza
bc12f0be21
Walk the AImodels property tree only once at init, rather than at update. Should have a beneficial effect on frame rate, but in practice makes no discernible improvement. It is cleaner code though.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-02 09:24:45 +01:00
Csaba Halasz
d8165470c3
Merge commit 'refs/merge-requests/6' of git@gitorious.org:fg/flightgear into next
2010-08-31 22:39:34 +02:00
Durk Talsma
800352e26f
- Whoops, missed committing this tiny but fatal-if-not-included change.
2010-08-31 16:57:07 +02:00
Durk Talsma
eb45d524a8
Provide an initial heuristic for airports for which we haven't collected any usage data yet.
2010-08-31 13:21:30 +02:00
Durk Talsma
f2bca353ad
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2010-08-30 21:15:17 +02:00
Durk Talsma
b090d3dabc
Enable the collection of AI aircraft position statistics. This will allow for a dramatic speedup of the establishment of AI traffic after program initialization.
2010-08-30 21:13:16 +02:00
Vivian Meazza
792cb2701f
Add tanker property to list of standard properties
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-30 17:16:30 +01:00
Vivian Meazza
118036cdda
Make the parameter isTanker controllable
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-30 17:15:34 +01:00
Vivian Meazza
8ca420ec53
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-30 09:49:42 +01:00
Durk Talsma
9197057784
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2010-08-29 19:28:57 +02:00
Durk Talsma
467513cbaf
Major update to the AI code:
...
* New features
- More realistic descent paths
- Separation during descent and approach
- ATC approach controller (still silent)
- inbound traffic flow will start immediately
* Bug fixes
- Properly handle vertical speed when on ground
- Departing aircraft now wait for taxiclerance before moving
- Traffic manager waits for proper weather initialization
- Fixed instabilities in the preferential runway usage code
- Fine tuning of waypoint following code.
2010-08-29 19:25:34 +02:00
Vivian Meazza
9e44be1df7
Merge branch 'next' of D:\Git_New\flightgear into next
...
Conflicts:
src/AIModel/AIBallistic.cxx
2010-08-29 00:08:50 +01:00
Vivian Meazza
dff8099994
Major update of Ballistic objects and submodels. Introduce submodels slaved to AI Objects. Remove deprecated code. Try to increase framerate. Use quaternion calculations for Initial Conditions.
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-29 00:00:09 +01:00
Torsten Dreyer
c41364983e
fix double binding bug in autopilotgroup and naming error
2010-08-26 18:51:46 +02:00
Torsten Dreyer
fed62b13dd
Downgrade two autopilot SG_LOG alerts to warnings
2010-08-25 20:43:43 +02:00
Torsten Dreyer
0d6329e3e7
Don't segfault on missing boundary table
2010-08-24 20:32:41 +02:00
Torsten Dreyer
8a00bce145
property-rules might be read from fg-root
2010-08-23 22:27:39 +02:00
Torsten Dreyer
11016dbe84
Oups - terrainsamplers header was modified, too
2010-08-23 17:52:19 +02:00
Torsten Dreyer
b2f8238696
Some terrainsampler improvements
...
- use max. computation time instead of max computations per frame
- restart computation of an area only after significant movememt
- let the area move with a heading and a speed
2010-08-23 17:47:57 +02:00
Frederic Bouvier
52ac173257
Merge commit 'refs/merge-requests/1551' of git://gitorious.org/fg/flightgear into stuartb/modelcallsign
2010-08-21 14:54:08 +02:00
Frederic Bouvier
f10f126352
Line endings ?
2010-08-21 14:53:03 +02:00
Torsten Dreyer
54e6757211
Autopilot is more than just an autopilot: Introducing: "property rule"
...
The autopilot has grown beyond being just an autopilot. It's
components, filters and controllers could be used to set property
values based on complex rules and driven from other property values.
That's why I chose to give it the name "property-rule".
This patch allows to define an arbitrary number of property rules under
a/sim/property-rule[n]/path
using the same syntax as autopilot configurations.
2010-08-18 18:50:07 +02:00
James Turner
ae50c054a9
Fix crashes (activating the route-manager) with a default GPS.
2010-08-16 17:10:12 +01:00
James Turner
dbd9935c52
Expose aircraft-dirs under /sim (read-only, for security)
2010-08-16 11:00:54 +01:00
Torsten Dreyer
e43456ba43
Merge branch 'next' of gitorious.org:fg/flightgear into next
2010-08-15 20:35:14 +02:00
Torsten Dreyer
60f7d0f16c
Downgrade the ridgelift to a subsystem of environment
2010-08-15 20:33:29 +02:00
James Turner
2e69930c7d
Expose path resolver to Nasal.
2010-08-15 11:02:27 +01:00
James Turner
bca3494462
Support relative paths in 'loadxml' command
...
(relative to FG_ROOT or an aircraft dir)
2010-08-15 11:02:15 +01:00
Torsten Dreyer
10eadf0c6e
First step into implementing the local-weather system
...
This is the first part of the local-weather implementation
of Thorsten Renk, currently written entirly in Nasal. Here
comes the terrain-sampling subsystem as a first step. It is
not (yet) included in the build process which will be
performed when the system has a little matured.
2010-08-14 22:42:31 +02:00
James Turner
8d5021f670
Make ident/name searches on FGPositioned case-insensitive (for the GPS, especially)
2010-08-14 20:24:30 +01:00
James Turner
ae7342ebe7
Fix issue identified by AndersG - don't load 2.5D panels for MP aircraft, only the main aircraft.
2010-08-14 19:50:22 +01:00
James Turner
a363da9274
Really fix bug 146 - angle units confusiuon.
2010-08-14 19:29:02 +01:00
James Turner
6266491aea
Candidate fix for bug 146, view_direction computed incorrectly.
2010-08-14 19:24:48 +01:00
James Turner
dae7e961c9
Merge branch 'topics/bug150' into next
2010-08-14 19:17:23 +01:00
James Turner
57cb0a809b
Fix bug 150 (airports not found in GPS search)
...
Overhaul and simplify the GPS search logic based
on experience and testing with the API. Also fix
search-by-name, which was broken.
2010-08-14 19:16:28 +01:00
Vivian Meazza
ad3fae9039
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-14 13:47:03 +01:00
Vivian Meazza
72c5a314e6
Add aubmodels to AI objects
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-14 13:39:30 +01:00
Erik Hofman
63b3f802ec
sync again
2010-08-14 14:09:58 +02:00
James Turner
71fbacc6dc
Thorsten Brehm: GPWS: Fixed permanent blocking of lower prio warnings
...
Only block callouts which were actually issued to the pilot. When
multiple callouts trigger at the same time, allow lower prio warnings
to be issued once the higher prio ones are resolved.
=> Gear/flap warnings are now working reliably (no longer blocked
permanently when altitude callouts are enabled).
2010-08-14 10:23:13 +01:00
Torsten Dreyer
bc31bdbbbb
use simgear::strutils::rpad() instead of strncpy()
2010-08-12 13:03:26 +02:00
James Turner
025b94f099
Even more std::string fixes.
2010-08-09 09:40:20 +01:00
James Turner
f467ba3609
One more std::string fixup.
2010-08-09 09:16:28 +01:00
James Turner
19360a8425
Fix 'using std::' abuses
2010-08-09 08:36:20 +01:00
James Turner
239fea1b54
Even more imlicit includes becoming explicit.
2010-08-07 14:07:17 +01:00
James Turner
cc7a9d4727
Make even more implict includes explicit.
2010-08-07 13:00:33 +01:00
Torsten Dreyer
bb2d1f55e9
Interpret environment variables and hostname on Windows
...
- Point the homedir variable to %APPDATA%/flightgear.org. This
enables .fgfsrc in this path for windows users.
- Evaluate the returncode of gethostname() to not strdup() bogus
characters on failure. Also mainly on windows.
2010-08-06 09:06:32 +02:00
Torsten Dreyer
1aa484aee5
Fix segfault on invalid command line arguments
...
If FlightGear terminated before the FDM was instantiated it crashed.
2010-08-06 08:44:34 +02:00
Erik Hofman
1d91468ddc
Fix a startup offset problem
2010-08-04 10:22:26 +02:00
James Turner
7f36caede6
Create TimeManager subsystem, and collect the time related code out of main.cxx and fg_init.cxx into it.
...
Remove the unfortunately named 'tmp.[cxx|hxx]', pushing the remaining code in FGLight.
(second try, with init bug fixed)
2010-08-04 09:16:37 +01:00
Anders Gidenstam
756e719b20
src/Model/panelnode.cxx: Do not leave dangling pointers behind.
2010-08-03 20:58:48 +02:00
Erik Hofman
0d0751e37c
Sync. with JSBSim CVS.
2010-08-03 09:51:13 +02:00
Frederic Bouvier
61a81e855d
Merge commit 'refs/merge-requests/1552' of git://gitorious.org/fg/flightgear into vivian/contrails
2010-08-03 08:27:57 +02:00
David Luff
53358a55bf
Remove old AI system
2010-08-03 00:21:56 +01:00
Vivian Meazza
63ec4f3f6c
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-02 09:04:40 +01:00
James Turner
47fd8a8a2a
Revert "Create TimeManager subsystem" - not quite ready for prime-time yet!
...
This reverts commit 50eb95dcad
.
2010-08-02 00:23:36 +01:00
James Turner
c61a14afdd
Once again, I forgot that we bind() subsystems *before* init().
2010-08-01 23:50:52 +01:00
Vivian Meazza
724cdac335
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-01 23:25:55 +01:00
James Turner
50eb95dcad
Create TimeManager subsystem, and collect the time related code out of main.cxx and fg_init.cxx into it.
...
Remove the unfortunately named 'tmp.[cxx|hxx]', pushing the remaining code in FGLight.
2010-08-01 20:33:11 +01:00
James Turner
7aba4333a2
Reset - instruments can be re-inited now (reloads XML files)
2010-08-01 19:04:31 +01:00
James Turner
388a0a5b6a
Make saveInitialProperties smarter, and hence simplify the reset code path.
2010-08-01 19:04:20 +01:00
Frederic Bouvier
b60cf04c1e
Fix MSVC compilation
2010-08-01 18:43:28 +02:00
Frederic Bouvier
461b5fe00b
Compile with MSVC10
2010-08-01 18:07:18 +02:00
Durk Talsma
40480eb2b4
Because the new code is a stub, it really ought to be doing nothing, not even print debug information. :-)
2010-08-01 16:24:11 +02:00
Durk Talsma
7c73c7d3e5
Added some stubs in the flightgear main code to eventually add a full, FGSubsystems based ATIS system that will serve as a replacement for the ATCDCL code.
2010-08-01 16:16:33 +02:00
Durk Talsma
92a69d6d0a
Silence a debug message that was accidentally left open.
2010-08-01 16:13:52 +02:00
Vivian Meazza
d317428257
More tidying
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-01 14:50:03 +01:00
Vivian Meazza
740195dc63
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-01 14:48:18 +01:00
Vivian Meazza
6a7ec168e5
Tidy up for commit
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-01 10:47:40 +01:00
James Turner
5c507beba2
Fix up Win32 GUI code after simgear/screen cleanup; deprecated dialog code going away.
2010-07-31 16:56:07 +01:00
James Turner
d9236f33b2
Remove use of simgear/screen/extensions.h.
2010-07-31 15:15:40 +01:00
Durk Talsma
314f3c5718
Properly compile kln89 code without reliance on ATCDCL.
2010-07-31 13:35:22 +02:00
Frederic Bouvier
ab09078767
Disable ATCDCL and fix replacement layer
2010-07-31 09:25:17 +02:00
James Turner
cba5066a6b
Thorsten: EGPWS fixes!
...
* Fix issue #139 , uninitialized variable causing sim deadlock in MK_VIII::Mode5Handler::get_soft_bias
* Fix more uninitialized variables sometimes causing warnings not to work.
* Fix some warnings only working on a single approach (missing reset).
* EGPWS self-test can now be triggered more than once (missing reset).
* Implement configuration options for attitude and altitude input selection.
2010-07-30 09:20:36 +01:00
James Turner
4c7fb6c91b
Removes some references (in comments / disabled code) to Point3D
2010-07-30 09:07:24 +01:00
James Turner
8e5f3ac8a3
Set the key SGModelLib callback to make aircraft-dir OSG loading work.
2010-07-29 01:07:32 +01:00
Vivian Meazza
a61f34667f
Merge branch 'work4' into next
...
Conflicts:
src/Environment/environment_mgr.cxx
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-07-28 22:39:07 +01:00
Vivian Meazza
da8251d1a4
Experimental bugfix for particle wind
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-07-28 22:22:04 +01:00
Vivian Meazza
adf17287ab
Add "expiry" parameter and other changes to implement persistent contrails using Ballistic objects
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-07-28 22:20:50 +01:00
James Turner
ab495d1370
Add --fg-aircraft option, and aircraft dir path list. Partial support in places that load files, for respecting the setting.
...
Add helper to look for an aircraft branch path in multiple candidate locations.
Update the main subsystems to use the helper, and hence load from any aircraft dir.
2010-07-28 22:03:10 +01:00
James Turner
d1852430bf
Make various implicit includes (via PLIB) explicit.
2010-07-28 10:25:42 +01:00
Durk Talsma
2f4b6d2168
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2010-07-27 20:21:31 +02:00
Torsten Dreyer
ff408dc540
(Re)allow duplicate names for A/P stages
...
Don't ignore autpilot stages with duplicate names but rename
the dups to a unique name by adding '_' plus a sequence number.
2010-07-24 17:17:33 +02:00
Durk Talsma
a49d553ea8
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2010-07-24 09:21:06 +02:00
Durk Talsma
7313b8f1df
- Trying to improve waypoint following.
2010-07-24 09:19:37 +02:00
Cutis L. Olson
aa16a1e12a
Call the new particle wind setting function with wind direction and speed.
...
The particle wind setting method then takes care of whatever logic and
transformations are requred to convert to the proper OSG coordinate system.
2010-07-23 12:37:17 -05:00
James Turner
9604908a8d
Remove all (2) uses of simgear/math/vector.h from FlightGear.
2010-07-23 13:26:07 +01:00
James Turner
900fce6374
Fix issues exposed by PLIB-free SimGear.
2010-07-23 09:41:37 +01:00
James Turner
bf52c378a4
Clean up names in --show-aircraft; avoid -set.xml suffixes.
2010-07-22 01:36:32 +01:00
James Turner
8dd39e773e
Thorsten: work around crashes when re-positioning, in the ATC-DCL code.
2010-07-22 00:31:29 +01:00
Torsten Dreyer
da02c09ec0
Bugfix: set temp and dewpoint from the gui
...
This fix (re)enables the setting of temperature and
dewpoint from the weather-conditions dialog and other
sources for various altitude layers. These temperatures
are reduced to the corresponding sea level temperatures
according to ICAO standard atmosphere which is the inverse
function of the calculation of temperature at altitude based
on sea-level-temperature.
Note: this only works for the troposphere.
2010-07-20 22:56:15 +02:00
Durk Talsma
10366f4f1b
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2010-07-18 15:46:38 +02:00
Torsten Dreyer
8a1223ab27
Bugfix: wrong interpolation of winds aloft
...
Fix a bug reported by Jacob Burbach.
Environment interpolation did not work above layer 1
A potential division by zero is also included
2010-07-17 18:49:31 +02:00
James Turner
c95a5db23d
Rewrite --show-aircraft and --aircraft handling to share directory search code.
...
As a bonus, sort the --show-aircraft list case-insensitively.
2010-07-17 14:12:52 +01:00
James Turner
af3f072c21
Convert scenery path setup to use simgear::Dir
2010-07-17 14:12:52 +01:00
James Turner
2c90eb8370
Convert --show-aircraft to use simgear::Dir
2010-07-17 14:12:52 +01:00
Erik Hofman
913726cb0e
adjust gamma based on time of day
2010-07-17 15:02:06 +02:00
Vivian Meazza
6310fdd9c5
Remove range criteria, add sub-submodels to any depth, and add expiry criteria
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-07-16 23:05:05 +01:00
Erik Hofman
d6e6f85452
don't forget to update the Makefile
2010-07-16 12:31:59 +02:00
Erik Hofman
0b86f8f63c
Sync with JSBSim CVS
2010-07-16 11:05:59 +02:00
Erik Hofman
7053b45c8c
Sync with JSBSim CVS
2010-07-16 08:00:21 +02:00
James Turner
93c6d15e19
Merge branch 'topics/bug141' into next
2010-07-13 20:50:17 +01:00
Torsten Dreyer
e0d30cc412
Compute /position/altitude-agl-ft in MagicCarpet FDM
...
Add the same computation of /position/altitude-agl-ft for
the magic carpet fdm as it is used in the ufo fdm. This
property is used in the environment controller to interpolate
between the individual weather-condition layers.
2010-07-13 21:11:49 +02:00
James Turner
c32da90e5c
Ensure sim/signals/fdm-initialized is only fired on a rising edge; add sim/fdm-initialized as the state value.
2010-07-13 13:47:24 +01:00
Durk Talsma
5c5c52cb9c
Merge branch 'next' of git@gitorious.org:fg/flightgear into next
2010-07-09 07:42:44 +02:00
James Turner
c47d4f2f30
Fix bug 141, by ensuring certain subsystems are assigned to the 'post FDM' group (which is new)
2010-07-08 23:24:39 +01:00
Durk Talsma
74549784b4
Whoops, forgot to add this file.
2010-07-04 21:00:36 +02:00
Durk Talsma
b78bf2e9e6
Make sure that takeoff distance calculations are done in the correct frame of reference. Additionally, add some experimental lead-in distance clipping code (although the latter needs more sophistication, because it leads to a considerable increase of spinning around waypoints when on ground.
2010-07-04 20:57:25 +02:00
James Turner
07d055b4de
One more juggle to appease the linker gods.
2010-07-02 10:00:05 +01:00
James Turner
cfe9aaac4c
Juggle fgfs link order to keep GNU ld happy.
2010-07-02 09:06:57 +01:00
James Turner
37054a4960
Include of aircraft.hxx that slipped under the radar, oops.
2010-07-02 01:03:10 +01:00
James Turner
061699daa7
And removal of the actual files.
2010-07-01 23:15:58 +01:00
James Turner
88e65f7662
aircraft.[cxx|hxx] is gone.
2010-07-01 22:56:22 +01:00
James Turner
18d42ec1af
Rename reInit() method to 'resetSimulator', and document that it's hooked up to the 'reset' command.
2010-07-01 22:50:11 +01:00
James Turner
d279c394d7
Clean fg_init.hxx
2010-07-01 22:43:28 +01:00
James Turner
01e0156b5d
Remove current_aircraft global, fgAIRCRAFT struct, and dead code for reading aircraft dirs.
2010-07-01 22:33:51 +01:00
James Turner
3f26d2b14b
Trivial cleanup commit, to test continuous integration server.
2010-07-01 19:51:05 +01:00
James Turner
fec7cb977c
Clarify warnings from fgUntie, and fix one source of such warnings, in FGInterface.
2010-07-01 02:04:16 +01:00
Torsten Dreyer
c3b9676e22
One more try to fix the Windows build
2010-06-29 17:42:04 +02:00
Torsten Dreyer
598d46529f
Fix three bugs in the new autopilot code
...
- Respect the global inverted flag in the get_output() method
- Check the clock state before processing the static R/S inputs
- Emit debug output only on a state change
2010-06-28 18:20:30 +02:00
Torsten Dreyer
bed15f5315
One more fix for a working windows build.
2010-06-28 13:53:17 +02:00
James Turner
14be21ea5c
Add license / copyright info to newly added files.
2010-06-27 20:34:00 +01:00
Torsten Dreyer
f6ea868804
Fix build on Windows
...
Add missing includes.
Thanks to Alan Teeder
2010-06-27 15:02:59 +02:00
Durk Talsma
3c60bf6511
Make sure also not to try running AI_mgr when compiling fgfs with --disable-atcdcl. FlightGear can now actually run without segfaulting when compiled this way.
2010-06-27 10:08:26 +02:00
Torsten Dreyer
4466729987
fix assertion in sunsolver.cxx with --timeofday=xx
2010-06-26 21:58:45 +02:00
Torsten Dreyer
2e6d7e111a
gcc warning fixes
2010-06-26 21:24:46 +02:00
Torsten Dreyer
f7d0a7bd39
config.h-msvc* restoration
...
As sugested by Frederic, remove the .in files and their reference in
configure.ac, and remove the target files from .gitignore
2010-06-26 20:52:29 +02:00
Torsten Dreyer
e1b9d3d759
Don't crash if built with --disable-atcdcl
2010-06-26 20:24:34 +02:00
James Turner
c04d97b259
LFSGlass was accidently ommitted from the cur_fdm_state removal process.
2010-06-26 18:44:58 +01:00
James Turner
180e524a0e
Fix automake build after mainloop changes - especially, JSBSim includes.
2010-06-26 18:37:51 +01:00
James Turner
a0588272dc
Merge branch 'topics/mainloop' into next
2010-06-26 15:30:00 +01:00
James Turner
4a948f5955
Remove uses of the global FDM interface in the cockpit/HUD code.
2010-06-26 14:21:16 +01:00
James Turner
f9ec605ffb
Fix ordering of aircraft-model updates against flight model.
2010-06-26 10:31:22 +01:00
James Turner
4be1661305
Automake updates.
2010-06-26 10:31:22 +01:00
James Turner
85be9be1e0
Initial work on FDM shell, and removal of cur_fdm_state
2010-06-26 10:31:22 +01:00
James Turner
4756cd4882
Wrap SGEphemeris in a subsytem/property interface, and remove from mainloop.
2010-06-26 10:31:21 +01:00
James Turner
3fbf3aa080
Make FGAircraftModel more subsystem-alike, move update to fgMainLoop.
2010-06-26 10:31:21 +01:00
Erik Hofman
de3afcce99
gcc issues 'format not a string literal and no format arguments' when running -Werror, trick gcc into thinking everything is alright.
2010-06-26 09:36:48 +02:00
Torsten Dreyer
610777ac53
Move the flipflop implementations into the correct namespace
2010-06-25 21:17:13 +02:00
Torsten Dreyer
0a50c16052
Some more src docs for the A/P implementation.
2010-06-25 21:09:37 +02:00
Torsten Dreyer
47c956b516
Some code documentation added to the A/P flip flop implementation
2010-06-25 11:06:00 +02:00
Torsten Dreyer
d558b52cb6
New autopilot subsystem implementation.
...
Split the former single-file-implementation in xmlauto.?xx into multiple
files and use some OO techniques. Started with documentation to be used
with doxygen.
2010-06-24 17:09:33 +02:00
Mathias Froehlich
721ae71cd7
Use simgear abstraction instead of directly osg for the AIBase class.
2010-06-16 07:00:18 +02:00
Tim Moore
0f8312150d
Log OpenGL vendor and version string
2010-06-15 23:58:55 +02:00
Mathias Froehlich
f433f4d973
Default the screen and display number to a value >= 0
2010-06-14 22:05:15 +02:00
Tim Moore
b692a165fb
Remove osgGA/MatrixManipulator include
...
From AndersG; the file is gone from recent OSG.
2010-06-06 23:31:47 +02:00
Torsten Dreyer
6993cd0153
Ignore generated files config.h-msvcXX
2010-06-02 11:49:22 +02:00
Torsten Dreyer
c89b18ddbd
Ignore generated files
...
add generated files to gitignore that has also been in cvsignore
remove generated config.h-msvc* from source control
2010-06-02 11:27:16 +02:00
Torsten Dreyer
8c15899837
Merge branch 'next' of gitorious.org:fg/flightgear into next
2010-06-01 22:10:00 +02:00
Torsten Dreyer
253b14a1cb
Code cleanup, inherit JK, D and T from RS and a bugfix for the logic element
...
- reuse code
- undeclared inputs default to false where applicable
- remove unused tInput
- JK, D and T FF now inherit from RS with dominant R input, so they all
have a R and a S input to preset the output
- fix the nonfunctional <inverted> element of the logic element
2010-06-01 22:08:42 +02:00
Tim Moore
473cea7f17
remove references to osgGA::MatrixManipulator
...
This class has been removed in current OSG sources.
2010-05-31 07:06:55 +02:00
Mathias Froehlich
917524160b
Fix some uninitialized value warnings.
2010-05-29 17:25:02 +02:00
Mathias Froehlich
721566a6e7
Fix some more unitialized value warnings.
2010-05-29 17:17:49 +02:00
Mathias Froehlich
1114c49165
Fix an uninitialized value valgrind warning.
2010-05-29 16:32:38 +02:00
Mathias Froehlich
a565e90c4f
Fix an uninitialized value valgrind warning.
2010-05-29 16:31:58 +02:00
Mathias Froehlich
9626805a09
Fix an uninitialized value valgrind warning.
2010-05-29 16:31:05 +02:00
James Turner
be30c2d53b
Merge branch 'topics/removeab' into next
2010-05-29 10:37:20 +01:00
James Turner
ad19acf1c6
Remove C++ autobrake code - this can all be done easier in XML now!
2010-05-29 10:36:23 +01:00
Torsten Dreyer
54c964aed5
Respect different behaviour of RS and SR flip flops
...
No more invalid states here.
According to IEC 61131, RS flip flop have dominant reset and SR have
dominant set. This is now implemented.
2010-05-27 22:22:01 +02:00
James Turner
321bbeb2e8
Allow 'property' as well as 'prop' to be used in XMLauto <enable> blocks.
2010-05-27 15:20:37 +01:00
James Turner
1d0e9d268a
Support <expression> in autopilot inputs, as well as property and value.
2010-05-26 19:30:33 +01:00
Stuart Buchanan
1a29f4499a
Export the AI object callsign on ballistic impact.
2010-05-24 21:16:46 +01:00
Torsten Dreyer
386aefe693
Merge branch 'next' of gitorious.org:fg/flightgear into next
2010-05-24 12:01:30 +02:00
Torsten Dreyer
9e35d18f2e
Add RS, JK, D and T flip flops as components
...
Flip flops are useful items for data latches and can be used to implement
pushbuttons, glideslope locks etc.
Check http://en.wikipedia.org/wiki/Flip-flop_(electronics)
and http://wiki.flightgear.org/index.php/Autopilot_Configuration_Reference
for details
2010-05-24 11:57:55 +02:00
Jeff Taylor
09f3ee6351
Fix fgviewer segfault
...
fgviewer crashes when reading weird channel options (which it doesn't use).
Here is a patch which fixes this by adding a pointer check.
2010-05-23 20:13:09 +02:00
Torsten Dreyer
a060fe3acf
Stuart Buchanan:
...
A small patch to allow the user to ignore specific
MP aircraft on a per-MP instance basis by setting
"controls/invisible". This
property name was chosen for consistency with the existing property
for AIBallistic objects.
2010-05-20 21:25:37 +02:00
James Turner
38687c9e06
Avoid a crash with out-of-sync airport runway usage and runway definitions.
2010-05-19 23:25:39 +01:00
James Turner
4f89bf7c48
Merge commit 'official/next' into next
2010-05-11 21:08:11 +01:00
James Turner
db60ab08fa
Bug 131, crash with invalid ICAO in the ATCDCL code, replaced an assert with a guard.
2010-05-11 21:06:56 +01:00
Durk Talsma
c64f195523
Just a tiny (cosmetic) change to get some hands on experience with git.
2010-05-11 21:15:23 +02:00
James Turner
45fbd8008d
Support ICAO identifiers with more than four characters, in the AirportsList.
2010-05-09 11:11:52 +01:00
James Turner
8ee27f283e
Add .gitignore files for automake/configure artefacts.
2010-05-06 13:18:55 +01:00
Tim Moore
11a371b313
Merge branch 'mathias/math' into next
2010-05-05 17:02:37 +02:00
frohlich
1797f4cb3e
Use methods from SGMath when possible.
...
Modified Files:
src/Airports/apt_loader.cxx src/Navaids/positioned.cxx
src/Navaids/positioned.hxx
2010-05-05 17:02:27 +02:00
Tim Moore
8f056da618
Merge branch 'jmt/gps'
...
Conflicts:
src/Instrumentation/gps.cxx
src/Instrumentation/navradio.cxx
2010-05-05 16:55:25 +02:00
Tim Moore
50415490e6
Merge branch 'ehofman/atc' into next
2010-05-05 12:03:24 +02:00
ehofman
78ab0dbe59
tie ATIS to the listener position and orientation
2010-05-05 12:03:17 +02:00
Tim Moore
664bb77d95
Merge branch 'jmt/gps' into next
2010-05-05 12:02:16 +02:00
jmt
1222e9b094
Fix a crash if startup fails before the navradio is inited.
2010-05-05 12:02:07 +02:00
Tim Moore
e800461f8a
Merge branch 'durk/ai-atc' into next
2010-05-05 12:00:55 +02:00
fredb
1df4cd3f8c
setState doesn't return a value
2010-05-05 12:00:47 +02:00
Tim Moore
362eb3b670
Merge branch 'durk/ai-atc' into next
2010-05-05 11:59:47 +02:00
durk
e004e43553
Expanded ATC communication between AI aircraft and Airport ground control.
2010-05-05 11:59:37 +02:00
Tim Moore
d35b8db13f
Merge branch 'durk/traffic'
2010-04-25 23:07:16 +02:00
Tim Moore
f5c871c8b3
Merge branch 'ehofman/generic'
2010-04-25 23:06:36 +02:00
Tim Moore
6f9987aae7
Merge branch 'vivian/tachy'
2010-04-25 23:05:36 +02:00
Tim Moore
2bd897df8e
Merge branch 'jmt/navradio'
2010-04-25 23:04:51 +02:00
Tim Moore
eca715f687
Merge branch 'jmt/track-bug'
2010-04-25 23:04:24 +02:00
Tim Moore
7563ece882
Merge branch 'vivian/mp'
2010-04-25 23:03:48 +02:00
Tim Moore
c4e6431aa4
Merge branch 'ehofman/particle'
2010-04-25 23:03:35 +02:00
Tim Moore
0d45920098
Merge branch 'jmt/gps' into next
2010-04-25 18:31:19 +02:00
jmt
3419b28919
MapWidget: fix a crash on uninitialized.
2010-04-25 09:00:41 +02:00
Tim Moore
4fae1160d4
Merge branch 'torsten/proplist' into next
2010-04-19 12:22:48 +02:00
Tim Moore
3e4a592282
Move using declaration out of header file
2010-04-19 12:22:30 +02:00
Tim Moore
0f9f092412
Merge branch 'torsten/proplist' into next
2010-04-19 10:20:13 +02:00
torsten
a464d1b2b2
use simgear::PropertyList instead of std::vector<SGPropertyNode_ptr>
2010-04-19 10:20:03 +02:00
Tim Moore
98e6b8212a
Merge branch 'torsten/auto'
2010-04-19 10:19:42 +02:00
Tim Moore
6e11c83c0a
Merge branch 'torsten/local-weather' into next
2010-04-19 10:08:58 +02:00
torsten
d356f73785
Support for the local weather system from Thorsten Renk
2010-04-19 10:08:41 +02:00
Tim Moore
8b57675aef
Merge branch 'torsten/metar'
2010-04-19 10:07:46 +02:00
Tim Moore
0447581255
Merge branch 'jmt/gps' into next
2010-04-19 09:56:39 +02:00
torsten
0750d8a6d4
gps warning fix (xxx will be initialized after yyy)
2010-04-19 09:56:32 +02:00
Tim Moore
323fb790e7
Merge branch 'jmt/gps' into next
2010-04-19 09:52:43 +02:00
jmt
8ffa65a821
Route-file saving.
2010-04-19 09:52:32 +02:00
jmt
3270a610f8
Support loading plain-text routes, and stop aggressively using the cruise altitude when loading waypoints.
2010-04-19 09:52:17 +02:00
Tim Moore
98cbcb5a2e
Merge branch 'ehofman/atc-sound' into next
2010-04-19 09:51:02 +02:00
fredb
09f8ab61cf
Initialise v1 to avoid a segfault on exit
2010-04-19 09:50:49 +02:00
Tim Moore
fcb255d19e
Merge branch 'ehofman/sound-reinit' into next
2010-04-12 10:02:01 +02:00
ehofman
5d0d6998d2
Don't forget to resume the sound system after reinit
2010-04-12 10:01:51 +02:00
ehofman
2b83ed9cbe
allow reinitializing the sound system by setting /sim/sound/working to false at runtime.
2010-04-12 10:01:28 +02:00
Tim Moore
97a2515443
Merge branch 'ehofman/atc-sound' into next
2010-04-12 09:49:43 +02:00
ehofman
e115201066
Delay loading of the voice file since the sound manager might not be initialized (at all).
2010-04-12 09:49:32 +02:00
Tim Moore
fb361f7463
Merge branch 'jmt/runway-fix' into next
2010-04-12 09:28:32 +02:00
jmt
40b2c3b9f7
Candidate fix for bug #118 , crash with custom (scenery) airport data.
2010-04-12 09:28:00 +02:00
Tim Moore
33aead9a21
Merge branch 'jmt/view' into next
2010-04-03 22:34:15 +02:00
jmt
bc7c3ad4c6
bug99 - Fix case where damping is enabled, but factor is 0.
2010-04-03 22:34:07 +02:00
jmt
a33745e888
Bug #99 - change viewer damping calculation, to work correctly regardless of set/recalc/update ordering per frame.
2010-04-03 22:34:00 +02:00
Tim Moore
cf6cdd0b78
Merge branch 'timoore/getpath-rebase'
2010-03-30 11:49:14 +02:00
Tim Moore
ebdeb3eed3
Merge branch 'jmt/gps' into next
...
Conflicts:
src/Instrumentation/navradio.cxx
2010-03-28 15:32:59 +02:00
fredb
1c7278b474
Initialise member variable
2010-03-28 15:26:43 +02:00
jmt
597df694e3
GPS/route-manager - notify listeners when current waypoint is changed.
2010-03-28 15:26:25 +02:00
jmt
e4c4a3a412
MapWidget for the GUI, initial commit.
2010-03-28 15:25:47 +02:00
jmt
ee8437431a
Expose a flag indicating if the GPS is driving the AP (to give clearer user feedback when that is the case)
2010-03-28 15:21:05 +02:00
Tim Moore
1aff92ce49
Merge to get true base of James' recent gps changes
2010-03-28 15:20:09 +02:00
Tim Moore
39def8132a
Merge branch 'jmt/gpswidget'
2010-03-28 15:15:58 +02:00
Tim Moore
2229af9f78
Merge branch 'ehofman/particle' into next
2010-03-28 00:35:35 +01:00
ehofman
e78c56af7d
Allow particles to be frozen on pause.
2010-03-28 00:35:28 +01:00
Tim Moore
70ebde4488
Merge branch 'jmt/gps' into next
...
Conflicts:
src/Instrumentation/gps.cxx
2010-03-28 00:34:51 +01:00
jmt
4e24fbbb91
GPS: enable switching to OBS/DTO mode with no valid scratch - use active waypoint.
2010-03-28 00:33:44 +01:00
jmt
40e383451b
GPS: add NS and EW velocity computation, which some real-world devices display.
2010-03-28 00:33:29 +01:00
jmt
4265b2e241
GPS: make slaved-to-gps read course from the GPS *when active*, via a listener.
2010-03-28 00:33:13 +01:00
jmt
0be2e03d7e
GPS: fix bugs where GPS overwrites NAV1 course, including --nav1 command line
2010-03-28 00:32:34 +01:00
Tim Moore
37d3cf7fbb
Merge branch 'syd/ias-limit' into next
2010-03-27 19:06:53 +01:00
jmt
5695395dd5
Add Mach/TAS computation to the airspeed indicator.
2010-03-27 19:06:42 +01:00
Tim Moore
dba4a69e2c
Merge branch 'torsten/commands' into next
2010-03-27 15:45:44 +01:00
torsten
5df9f6a951
Code cleanup: reuse duplicate code.
2010-03-27 15:45:25 +01:00
Tim Moore
5a16a28893
Merge branch 'torsten/metar' into next
2010-03-27 14:19:15 +01:00
torsten
26a72a9ee2
Bugfix:
...
- METAR changes caused strong aircraft movements if the station temperature or field elevation changed. Temperature and dewpoint are now also slowly interpolated to reach the new value.
- Probably unnoticed bug: calculation of the interpolation speed was wrong.
- some minor code-cleanup
2010-03-27 14:19:05 +01:00
Tim Moore
b587400846
Merge branch 'curt/replay' into next
2010-03-27 13:48:30 +01:00
curt
b9b6a3a54c
Stomp out a long standing bug in the replay system. Originally we didn't
...
collect flight data while the replay was running, but along the way someone
(who shall remain nameless) tweaked a property name and didn't update the
name in the replay system. This led to a problem where the replay system
continued to collect replayed data into the buffer while it replayed it,
leading to an infinite loop. And then due to the tiered recording rate
system, you would never see the highly detailed final minute of your flight.
This is now fixed!
2010-03-27 13:47:52 +01:00
Tim Moore
f71c094da2
Merge branch 'torsten/auto' into next
2010-03-20 18:46:27 +01:00
torsten
c55874d70e
Fix broken anti windup if the proportional gain runs into the nonlinear area and gets clipped.
...
Also fix the wrong debug message.
2010-03-20 18:46:19 +01:00
Tim Moore
7cde2e800b
Merge branch 'syd/ias-limit' into next
2010-03-20 18:45:52 +01:00
jmt
432da86c7b
Read airspeed-indicator overspeed limit values from instrument configuration, as Syd intended.
2010-03-20 18:45:43 +01:00
Tim Moore
ca346ebc9c
Merge branch 'torsten/js64' into next
2010-03-16 15:13:32 +01:00
torsten
32f8d1a110
Compile again for MSVC
2010-03-16 15:13:24 +01:00
Tim Moore
a357aad365
Merge branch 'syd/ias-limit' into next
2010-03-16 15:12:46 +01:00
jmt
b1855b34c6
Syd Adams: only define overspeed-indicator properties when enabled.
2010-03-16 15:12:38 +01:00
jmt
65ad38ccae
Airspeed indicator: add default values for overspeed, and rename the
...
enable property to 'has-overspeed-indicator'.
2010-03-16 15:12:26 +01:00
Tim Moore
3973637606
Merge branch 'torsten/auto' into next
2010-03-11 09:01:42 +01:00
torsten
f4f784a514
Added anti windup for the pi-simple-controller
2010-03-11 09:01:25 +01:00
Tim Moore
c1e1e2f541
Merge branch 'torsten/js64' into next
2010-03-11 09:01:02 +01:00
torsten
91f0059c89
David Fries:
...
64bit fixes
2010-03-11 08:59:52 +01:00
Tim Moore
dd7a5dd32d
Merge branch 'syd/ias-limit' into next
2010-03-11 08:58:45 +01:00
jmt
45a446dfaf
Syd Adams:
...
add ias-limit (brarber-pole) computation to airpseed-indicator
expose selected DME frequency on the DME instrument
2010-03-11 08:58:23 +01:00
Tim Moore
7ee645aa20
Merge branch 'timoore/getpath-rebase' into next
2010-03-09 11:25:18 +01:00
Tim Moore
7ff80d11a0
changes for SGPropertyNode::getPath return type
...
It's now a std::string.
2010-03-09 11:24:45 +01:00
Tim Moore
fa7d9ed549
Merge branch 'jmt/gps'
2010-03-09 11:20:04 +01:00
Tim Moore
2a0fcea8a5
Merge branch 'vivian/tachy' into next
2010-03-09 10:39:30 +01:00
torsten
cb81aa9f65
one more gcc warning fix: xxx will be initialized after yyy
2010-03-09 10:39:02 +01:00
Tim Moore
cfd243bd95
Merge branch 'torsten/auto' into next
2010-03-09 10:38:43 +01:00
torsten
881d49858d
Just a tiny change adds a <reference> input to FGDigitalFilters. This is nice to have to calculate differences of signals using gain-filters.
...
Old calculation was
output = input * gain
and is now
output = (input-reference) * gain
Note: the PI(D) controller use (reference-input) which effectively reverses the sign. Our notation was picked for backwards compatibility to not break the myriads of <filter> elements currently existing.
All the rest is some code cleanup.
2010-03-09 10:38:32 +01:00
Tim Moore
63434ceef8
Merge branch 'timoore/fire-fix' into next
2010-03-05 18:17:39 +01:00
Tim Moore
b88fa3e1bf
add back wildfire multiplayer property
...
This was deleted by accident when I moved property types to their own
namespace.
2010-03-05 18:17:19 +01:00
Tim Moore
37d0cfd6be
Merge branch 'vivian/tachy' into next
2010-02-26 08:47:41 +01:00
V Meazza
f112fc4638
Revised bugfix for tachymetric gunsight
2010-02-26 08:46:15 +01:00
Tim Moore
0b6579d6fb
Merge branch 'jmt/gpswidget' into next
2010-02-25 23:34:04 +01:00
jmt
8e12b0b679
Make automake happier.
2010-02-25 23:33:43 +01:00
Tim Moore
8b03f25e6c
Merge branch 'torsten/auto' into next
2010-02-25 23:21:55 +01:00
torsten
90e313a8dd
New feature: added <logic> "filters"
...
"logic filters" use well known conditions to drive output properties. Example for bax = baz & (foo | bar).
<logic>
<name>my first logic element</name>
<input>
<or>
<property>foo</property>
<property>bar</property>
</or>
<property>baz</property>
</input>
<output>bax</output>
</logic>
2010-02-25 23:21:41 +01:00
Tim Moore
4ae8c90f76
Merge branch 'jmt/font'
2010-02-25 12:06:08 +01:00
Tim Moore
62dfad273c
Merge branch 'jmt/bulk'
2010-02-25 12:05:07 +01:00
Tim Moore
d61d14aa91
Merge branch 'jmt/gui'
2010-02-25 12:04:58 +01:00
Tim Moore
51846e5129
Merge branch 'jmt/gpswidget' into next
2010-02-23 08:53:58 +01:00
jmt
f0e72608a7
waypointList: stop using GNU extension / C99 features.
2010-02-23 08:53:46 +01:00
Tim Moore
da8be3ae7b
Merge branch 'jmt/gpswidget' into next
2010-02-22 09:37:05 +01:00
Tim Moore
247219d1f1
remove trailing slash / empty line from Makefile.am
2010-02-22 09:36:10 +01:00
Tim Moore
de79ec4421
Merge branch 'jmt/gpswidget' into next
2010-02-21 22:26:29 +01:00
jmt
4468d785b5
GPS / route-manager: add new custom widget to display the waypoints list.
...
Supports various new editing features, including dragging to re-order, and
+/- keys to adjust the target altitude for a waypoint. Also displays some
additional information, and will display *even* more once I land airways/
SID/STAR support.
2010-02-21 22:26:14 +01:00
Tim Moore
439700aecd
Merge branch 'durk/traffic' into next
2010-02-21 22:25:56 +01:00
durk
0c522bee02
AI aircraft will need to switch frequencies before being able to request
...
push-back clearance.
2010-02-21 22:25:46 +01:00
Tim Moore
e653ed4598
Merge branch 'jmt/track-bug' into next
2010-02-21 22:24:53 +01:00
jmt
7523f05047
bug #80 , exception flying west from NZAA (Auckland, NZ). The underlying
...
issue is numerical problems in _wgs84_inverse, triggered by the traffic-manager
testing enormous distances geodetically.
Changes
- refactor AISchedule::update, so the aircraft approximate position
calculation is simpler.
- refactor AIAircraft to no longer use exceptions as a return value mechanism
- change AISchedule::update to use cartesian math for in-visible-range check
2010-02-21 22:24:42 +01:00
Tim Moore
ee3acb9e9f
Merge branch 'jmt/bulk' into next
2010-02-17 07:44:36 +01:00
jmt
301f3c5bd6
Quiet: reduce log-level of various things from INFO to DEBUG or BULK, and tune the categories/level of some specific messages.
...
Part of original commit that only applys to master branch.
2010-02-17 07:44:26 +01:00
Tim Moore
351d1ddb5e
Merge branch 'jmt/gui' into next
2010-02-17 07:41:48 +01:00
jmt
4f99561f63
Quiet: reduce log-level of various things from INFO to DEBUG or BULK, and tune the categories/level of some specific messages.
...
Commit split by timoore in order to apply most of it to maint branch.
2010-02-17 07:41:23 +01:00
jmt
26361f2f5a
Bugfix: stop dialogs jumping around when re-layout occurs - make positions persistent.
2010-02-17 07:31:05 +01:00
Tim Moore
4a14f8c107
Merge branch 'jmt/navradio' into next
2010-02-17 07:29:44 +01:00
jmt
3fb898643e
Bugfix: don't crash on localizers with no associated runway (due to inconsistent nav.dat/apt.dat). Reported by Jacob Burbach.
2010-02-17 07:29:30 +01:00
Tim Moore
68cbdcb84e
Merge branch 'vivian/mp' into next
2010-02-14 19:28:33 +01:00
V Meazza
3492c681cb
Change Log Message status from ALERT to DEBUG
...
Signed-off-by: V Meazza <vivian.meazza@lineone.net>
2010-02-14 19:25:12 +01:00
Tim Moore
f9bbf802e9
Merge branch 'jmt/gps' into next
2010-02-14 00:27:41 +01:00
jmt
5ed73d063c
Bugfix: ensure GPS WP1 Mag-bearing is normalised to [0..360]
2010-02-14 00:27:30 +01:00
Tim Moore
bf4b263071
Merge branch 'jmt/font' into next
2010-02-11 00:21:10 +01:00
jmt
73334cf61b
Bugfix #35 / denker #20F:
...
Guard against invalid font names in panel XML files, and make font name
comparisons case-insensitive so that 'helvetica', 'Helvetica' or 'HELVETICA'
work as expected.
2010-02-11 00:20:59 +01:00
Tim Moore
e9d7bf7aa9
Merge branch 'vivian/tachy' into next
2010-02-11 00:13:19 +01:00
Tim Moore
4027a92f88
Only draw tachymetric sight if appropriate inputs exist
...
This avoids triggering asserts for missing inputs.
2010-02-11 00:13:04 +01:00
Tim Moore
658715f90b
Merge branch 'vivian/tachy' into next
2010-02-10 16:30:31 +01:00
Meazza@.(none)
aa8bccf93e
Add Tachymetric Gunsight
...
Signed-off-by: <V Meazza>
2010-02-10 16:19:06 +01:00
Tim Moore
571f7301f2
Merge branch 'zan/stencil2' into next
2010-02-10 15:55:11 +01:00
V Meazza
00a9151b1a
Add Stencil Lighting
...
Signed-off-by: V Meazza <vivina.meazza@lineone.net>
2010-02-10 15:54:48 +01:00
V Meazza
e762551524
MSVC9 fix
...
Signed-off-by: V Meazza <vivina.meazza@lineone.net>
2010-02-10 15:54:48 +01:00
ehofman
d0f6f748ed
Improve handling of type DOUBLE in generic i/o protocol.
2010-02-10 15:02:49 +01:00
ehofman
6072e3d969
reorganize the code a bit to prevent an infinite loop in ascii mode
2010-02-10 15:02:42 +01:00
Tim Moore
fba05c527f
Merge branch 'torsten/track'
2010-02-10 00:45:28 +01:00
Tim Moore
988a6771aa
Merge branch 'durk/atcdcl-cond'
...
Conflicts:
src/ATC/trafficcontrol.cxx
src/Main/Makefile.am
2010-02-10 00:45:06 +01:00
Tim Moore
992b7ca8f4
Merge branch 'jmt/navradio'
2010-02-10 00:41:52 +01:00
Tim Moore
3e0489bd91
Merge branch 'torsten/auto'
2010-02-10 00:41:44 +01:00
Tim Moore
edd83dd7e8
Merge branch 'jmt/units-fix' into maint
2010-02-09 07:28:03 +01:00
durk
eccc7838b1
Revert previous commit.
2010-02-05 11:20:31 +01:00
durk
ce6e1dc07c
Update version number.
2010-02-05 11:20:26 +01:00
Tim Moore
446c2064a5
Merge branch 'fredb/winbuild'
2010-02-05 00:25:52 +01:00
fredb
8f3c855d00
Update version numbers
2010-02-05 00:25:18 +01:00
Tim Moore
2d6bf222ac
Merge branch 'csaba/nan'
2010-01-31 18:01:33 +01:00
durk
e54798a8e2
A couple of last-minute patched / bugfixes to mitigate the probability of collisions between user controlled aircraft and AI traffic.
...
* AI aircraft distance to user proximity detection works again (lat/lon were inverted).
* The parking uses by the user aircraft is marked as such to prevent it being reused by an AI aicraft
* AI aircraft won't receive permission for pushback until the user aircraft is at a fair distance.
2010-01-31 17:52:43 +01:00
Csaba Halasz
1d8be86335
Fix crab angle and ground speed calculation in AILocalTraffic
2010-01-31 15:22:27 +01:00
jmt
49e477f6a7
Bugfix: ensure navradio nav-loc and has-gs properties clear to false when no valid station is tuned / radio is u/s.
2010-01-31 15:11:25 +01:00
Tim Moore
9197647220
Merge branch 'timoore/ptrfix'
2010-01-28 10:38:33 +01:00
Tim Moore
705c1520dd
Merge branch 'fredb/winbuild'
2010-01-28 10:38:28 +01:00
Tim Moore
7b95bb5aa3
Merge branch 'ehofman/mingw'
2010-01-28 10:38:10 +01:00
Tim Moore
2c3a68ce3e
Merge branch 'ehofman/light'
2010-01-28 10:37:58 +01:00
Tim Moore
6044d929d4
eliminate some SGPropertyNode_ptr variables in classes
...
These were temporary variables that were being deleted explicitly, leading to
various corruption.
2010-01-26 17:19:17 +01:00
Tim Moore
5aea857dd6
initialize track variable in constructors
2010-01-26 11:06:37 +01:00
fredb
00e9ad3055
MINGW patch from Benot Laniel
2010-01-25 17:12:04 +01:00
ehofman
38cd172e82
slightly tweak the ambient color a bit.
2010-01-25 15:22:00 +01:00
fredb
c8ea82ed9d
Update version number
2010-01-25 15:08:10 +01:00
fredb
d367d40f9d
Update FlightGear version
2010-01-25 15:07:52 +01:00
torsten
ac90d8ff8a
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.
2010-01-25 15:06:53 +01:00
Tim Moore
29260852af
Merge branch 'durk/version'
2010-01-25 14:21:53 +01:00
durk
a023700ebe
Update base package version check.
2010-01-21 06:30:35 +01:00
fredb
bf534e1ff9
Update MSVC 9 projects
2010-01-21 06:26:48 +01:00
durk
546d3e265d
And this time, fix it more properly. :-)
2010-01-21 06:25:31 +01:00
durk
16dd34839f
Replacement code for ATCDCL functions are in ATC/atcutils.[ch]xx. Thanks to Alex Buzin for reporting.
2010-01-21 06:25:19 +01:00
Tim Moore
13ec36af42
Merge branch 'jmt/gps'
2010-01-17 10:52:48 +01:00
torsten
33ee43dec0
eliminate gcc warning, unused member depth.
2010-01-17 00:12:23 +01:00
ehofman
8da2f1a31b
Use SGPropertyNode_ptr wherever possible
2010-01-17 00:03:06 +01:00
Tim Moore
c1bb4aec97
Merge branch 'vivian/trainz'
2010-01-17 00:02:51 +01:00
jmt
10d4799058
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
2010-01-16 16:00:15 +01:00
jmt
21f1fcd17a
GPS:
...
- relaxed overflight sequencing threshold
- default to linear CDI deviation in the configuration
2010-01-16 16:00:15 +01:00
jmt
2239eb2660
GPS: guard against empty command strings in the route-manager.
2010-01-16 16:00:15 +01:00
Tim Moore
cf9a520a9f
Merge branch 'curt/navradio'
...
Conflicts:
src/Instrumentation/navradio.cxx
2010-01-13 07:37:44 +01:00
Tim Moore
ffb6b95782
Merge branches 'torsten/warn-atc' and 'tortsen/warn-morse'
2010-01-13 07:33:05 +01:00
Tim Moore
98d8a98ef2
Merge branch 'ehofman/sound'
2010-01-13 07:30:52 +01:00
Tim Moore
a89a28c4e6
Merge branch 'ehofman/version'
2010-01-12 09:16:02 +01:00
Tim Moore
3836abcf4b
Merge branches 'jmt/spatial', 'jmt/ref_ptr', 'jmt/navradio' and 'jmt/gps'
2010-01-12 00:09:19 +01:00
Tim Moore
6b90dc2621
Merge branch 'csaba/tower'
2010-01-12 00:07:28 +01:00
Tim Moore
b61f8fba33
Merge branch 'jmt/navaid'
2010-01-11 23:55:17 +01:00
Tim Moore
0d9f2e3c95
Merge branch 'topic/pu-crash'
2010-01-11 07:46:27 +01:00
Tim Moore
ff96add35f
Merge branch 'timoore/props'
2010-01-11 07:46:13 +01:00
ehofman
8e4d979aca
Don't initialize the soundmanager wehn defining --disable-sound. Sound can still be enabled at runtime by setting /sim/sound/working to 'true'
2010-01-10 23:33:57 +01:00
durk
d8ae90801a
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.
2010-01-05 22:21:49 +01:00
torsten
168af9dc1e
- added a differential filter
...
- use /orientation/track-deg instead of computing our own track
- some cosmetic changes
2010-01-05 22:20:42 +01:00
torsten
78d8e7edfd
now that there is a true track property, the magnetic track is nice to have, too.
2010-01-05 22:19:58 +01:00
torsten
f14fc6b98f
wrong logic never found the 'end'
2010-01-03 22:43:40 +01:00
torsten
1290c25a38
eliminate gcc warnings
2010-01-03 22:40:04 +01:00
torsten
c0b64dccdb
purge gcc warning
...
xxx will be initialized after yyy
2010-01-03 22:39:44 +01:00
torsten
690395354f
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.
2010-01-03 22:26:16 +01:00
torsten
149c6acc85
purge gcc warnings:
...
- xxx will be initialized after yyy
- age_factor may be used uninitialized
2010-01-03 10:35:33 +01:00
durk
8114d1d899
Conditional compilation of ATCDCL module. Use --disable-atcdcl to try building flightgear without ATCDCL code.
2009-12-30 17:44:06 +01:00
Tim Moore
1e6ed8db68
Move getLoggingClasses() result buffer to file level.
...
Getting it out of the function fixes some corruption problems at program exit.
2009-12-30 17:34:58 +01:00
torsten
95e2d62d94
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.
2009-12-30 10:34:11 +01:00
ehofman
0238a09c4d
skip voice delimiter (messages).
2009-12-30 10:29:41 +01:00
ehofman
2a53154e0f
Stuart Buchanan: Properly catch an exception.
2009-12-30 10:29:05 +01:00
jmt
38e76a175e
Navradio: constructor cleanup, tie/untie helper, and a new 'operable' property to make it clear when the radio is functioning.
2009-12-27 10:03:08 +01:00
jmt
5cad5aa7da
Autopilot: clean up the helpers code (which drives the various /internal/) properties. Fixes various heading modes to work in all aircraft.
2009-12-27 09:34:39 +01:00
ehofman
90e44c6696
Display the (default) OpenAL renderer as well as the OpenAL vendor when requesting the list of sound devices.
2009-12-27 09:33:14 +01:00
jmt
7a007d9638
OSG ref_ptr fix: use .get() explicitly.
2009-12-27 09:32:18 +01:00
jmt
8cfdfb21a5
GPS / route-manager: only drive autopilot true-heading in LEG mode, for compatibility with the old behaviour.
2009-12-23 09:40:58 +01:00
Csaba Halasz
8d7f61b568
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.
2009-12-22 08:07:44 +01:00
jmt
053d405a5c
GPS: make 'loadRouteWaypoint' robust about bad scratch/index values.
2009-12-22 07:44:24 +01:00
jmt
52905875f9
Fix airportinfo() ILS frequency listing to use underscores.
2009-12-22 07:44:12 +01:00
jmt
d3d17d9ec0
Fix GPS SGPropertyNode tie() handling, as suggested by John Denker.
2009-12-22 07:42:14 +01:00
jmt
45d0e14cad
JSD: Make false courses work for more than one instance of navradio.
2009-12-22 07:41:30 +01:00
Csaba Halasz
8d4a838cd5
Initialize eta and dist_out members in TowerPlaneRec
2009-12-22 07:19:45 +01:00
Csaba Halasz
2683a9bd2d
Fix NaN due to possibly uninitialized _lastViewport in FGPanelNode
2009-12-22 07:18:58 +01:00
Csaba Halasz
54691c0086
Detect zero length fuselage in YASim/Airplane.cpp. Also, initialized _failureMsg member in the constructor and added another check for failure.
2009-12-22 07:17:27 +01:00
Csaba Halasz
41752bab57
Fix NaNs in TACAN::update
2009-12-22 07:16:44 +01:00
Csaba Halasz
de7a6b5e01
Fix NaN in FGAILocalTraffic::FlyTrafficPattern
2009-12-22 07:16:04 +01:00
Tim Moore
d2c7179cd0
Merge branches 'jmt/aircraft-name' and 'jmt/runway'
2009-12-22 00:16:38 +01:00
Tim Moore
bb419b588c
Merge branch 'durk/traffic'
2009-12-22 00:15:13 +01:00
Tim Moore
50c1fe2d3e
Merge branch 'ehofman/jsbsim'
2009-12-22 00:14:09 +01:00
Tim Moore
15b6c431c0
Merge branch 'timoore/merge-effects'
2009-12-20 12:05:07 +01:00
Tim Moore
b5c46a8d59
Merge branch 'ehofman/sound'
2009-12-20 11:11:16 +01:00
Tim Moore
6acd657a05
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.
2009-12-20 10:34:07 +01:00
Tim Moore
9a94b26609
Changes for animated effects
2009-12-20 10:34:07 +01:00
Tim Moore
3abe700dc8
Move the property expression code back to simgear.
2009-12-20 10:34:07 +01:00
Tim Moore
c4e62cc69f
Don't allocate string temporaries for comparisons.
2009-12-20 10:34:07 +01:00
jmt
88dc75695b
Probably best if the string and its length agree. :)
2009-12-20 08:44:50 +01:00
jmt
3180d5f4f2
Add runway ILS frequency to Nasal airportinfo() query, as discussed on the list.
2009-12-20 08:44:47 +01:00
jmt
718d99f420
Fix for Martin: tolerate runway-associated navaids with a bogus ICAO/runway ident.
2009-12-20 08:39:33 +01:00
torsten
50adab32c1
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"/>
2009-12-20 08:37:00 +01:00
James Turner
0637cba24a
Fix findNearest termination - ensure we expand all octree nodes that might contain closer results than the current list.
2009-12-19 23:13:17 +01:00
James Turner
34bbc6d974
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
2009-12-19 23:13:17 +01:00
torsten
506f6894e4
- 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.
2009-12-18 07:11:10 +01:00
curt
ea281051d8
Compute glide slope target rate of climb in fpm as well as fps.
2009-12-18 07:10:13 +01:00
ehofman
b0e87c8d6e
A better way to stringize the predefined SimGear version number
2009-12-14 22:49:47 +01:00
ehofman
ba77293c10
John Denker: Fancier --version information.
2009-12-14 22:49:42 +01:00
ehofman
61ffbf4615
activate atc settings in the sound mixer dialog
2009-12-12 00:12:19 +01:00
jmt
35cb89626e
As discussed on the mailing list, make the 'nearest' GPS command use scratch lat/lon as the search origin if they are valid.
2009-12-12 00:11:41 +01:00
jmt
c453d1a0cc
Fix reset crash, thanks to Joe: make findNextWithPartial, and the route-manager, robust about people setting NULL / empty airport idents.
2009-12-12 00:11:34 +01:00
Tim Moore
582a95f0cb
small cleanup to vivian's patch
2009-12-09 09:23:20 +01:00
Tim Moore
3922c12163
Vivian Meazza: AI escorts
2009-12-09 09:04:23 +01:00
ehofman
641f000860
Activate external-view checkbox for avionics
2009-12-09 08:16:48 +01:00
ehofman
168dc6ff92
if volume is too low, skip the function entirely
2009-12-09 08:16:39 +01:00
jmt
106aa02b76
Case-insensitive aircraft names, for the startup arg, so 'C172', 'F16', etc work.
2009-12-07 07:00:01 +01:00
Tim Moore
6324d5a03d
Change int to unsigned in sound device traversal
2009-12-07 06:59:04 +01:00
jmt
e9a9ad6478
Fix displaced threshold handling when using in-scenery definitions of runways.
2009-12-07 00:13:57 +01:00
durk
bfd3efde5c
Allow flights that arrive at their departure airport.
2009-12-07 00:12:28 +01:00
ehofman
c7ef67df80
add avionics enable/disable and volume control to the sound fx class.
2009-12-03 06:43:40 +01:00
Tim Moore
124713b136
set DYNAMIC variance on gui and hud/2dpanel drawables
2009-12-02 07:28:36 +01:00
ehofman
e657a53b32
Turned out a tied proeprty can't be used as a user archive, use a different one
2009-12-01 19:12:56 +01:00
ehofman
86cd525200
update to allow selection of a new sound device
2009-11-30 22:45:33 +01:00
ehofman
fde1a925fe
Change of thoughts since it makes life easier:
...
/sim/sound/working enable/disable the use of OpenAL
/sin/sound/enabled master mute/unmute
2009-11-30 22:45:23 +01:00
ehofman
a3b66adf51
add a new command line option: --show-sound-devices
2009-11-30 22:44:57 +01:00
Tim Moore
78ebe9424b
Add HAVE_CULLSETTINGS_CLEAR_MASK to configure.ac and check it in camera code
...
This works around a behavior / interface change in OSG post 2.9.6.
2009-11-30 09:29:07 +01:00
Csaba Halasz
4fc7105675
Update camera inheritance masks because of OSG changeset 10838
2009-11-30 07:00:43 +01:00
ehofman
3a4892cede
New Property layout:
...
/sim/sound/enabled enable/disable the use of OpenAL
/sin/sound/pause master mute, effects all SampleGroups
/sim/sound/volume master volume
/sim/sound/effects/enabled enable/disable (mute) sound fx
/sim/sound/effects/volume effects volume
/sim/sound/chatter/enabled enable/disable (mute) atc chatter
/sim/sound/chatter/volume chatter (sample queue) volume
2009-11-29 15:57:37 +01:00
ehofman
3abb7afa45
List all available playback devices under '/sim/sound/devcies'
2009-11-29 15:57:17 +01:00
ehofman
ef4814599d
* Fix --disable-sound
...
* Add a new command line option: --sound-device=""
This makes OpenAL use the sepcified audio device instead of the default
output device. (Look for playback devices when calling openal-info of alcinfo)
2009-11-29 15:57:02 +01:00
torsten
179a799333
- fix the <condition> element which was no longer working due to an invalid property root
...
- allow multiple <autopilot> elements within an aircraft. All autopilot live in an individual FGXMLAutopilot subsystem which run within a subsystem group now.
2009-11-29 15:56:13 +01:00
ehofman
1e744a2582
Csaba Halasz: Pass file name to xml parser for error reporting from JSBSim.
2009-11-29 15:54:22 +01:00
ehofman
7af1f496e8
PreLoad and PostLoad also from a separate file.
2009-11-29 15:53:57 +01:00
ehofman
30e535bc7b
Sync. withn JSBSim CVS
2009-11-29 15:53:31 +01:00
Tim Moore
6fcd9f967b
Merge branch 'luff/kln89'
2009-11-27 06:41:43 +01:00
Tim Moore
e503591af4
Merge branch 'jmt/gps'
...
Conflicts:
src/Instrumentation/gps.cxx
2009-11-27 06:40:47 +01:00
Tim Moore
8933486a56
Merge branch 'jmt/dialog'
2009-11-26 23:32:38 +01:00
Tim Moore
b39599f578
Merge branch 'ehofman/sky'
2009-11-26 23:32:20 +01:00
Tim Moore
ad9366ed99
Merge branch 'ehofman/jsbsim'
2009-11-26 23:31:59 +01:00
Tim Moore
8e820977be
Merge branches 'csaba/commlist' and 'csaba/recip'
2009-11-26 23:31:45 +01:00
ehofman
3d19352f13
proper listener velocity calculation, this has no effect yet but is required when other models start emitting sounds.
2009-11-24 14:22:54 +01:00
ehofman
934ce52a23
Tie samplegroup 'avionics' to the listener, just in case no other device is created that does it.
2009-11-19 23:09:49 +01:00
ehofman
97db69cf8f
restore listener position with offset
2009-11-19 21:03:05 +01:00
jmt
33058511de
Dave Perry:
...
Allows using a nasal filter to smoothly park the gs needle when out
of range or frequency changes to a station w/o gs.
2009-11-15 01:31:42 +01:00
jmt
7bb785c72c
Fix altitude units error loading plans, spotted by Csaba Halasz (Jester).
2009-11-15 01:29:08 +01:00
ehofman
0578b06a0c
temporarily remove listener (viewer) and source offsets. they mess things up
2009-11-12 23:01:41 +01:00
ehofman
96b7939947
put the debugging quat strings as doubles under /sim/current-view/debug instead.
2009-11-11 17:49:42 +01:00
ehofman
769bac95e3
put the debugging quat strings as doubles under /sim/current-view/debug instead.
2009-11-11 17:49:42 +01:00
ehofman
742aec2f32
Pass the north-east-down velocty directly to the sample_group and do the calculations there.
2009-11-10 16:29:51 +01:00
ehofman
2bc7dc685b
allow sound effects in the configuration file to be added to the 'avionics' sample group by setting '<type>avionics</type>'.
2009-11-10 06:55:46 +01:00
ehofman
af6da1d3c1
sun postition fixes
...
Was: allow sound effects in the configuration file to be added to the 'avionics' sample group by setting '<type>avionics</type>'.
but this change obviously snuck in with that.
2009-11-10 06:54:57 +01:00
Tim Moore
8117134879
don't define constant objects in header files
2009-11-09 10:24:46 +01:00
ehofman
e750dc368d
John Denker:
...
Together with previous patch, make view reference frame, view offset,
and current view visible in property tree.
Also some comments about the concepts behind these variables.
2009-11-09 10:07:42 +01:00
Csaba Halasz
d8fb306c7e
Fix label printing in ATCDialog
2009-11-08 01:18:09 +01:00
Csaba Halasz
f0d72b6b50
Do not pollute comm list by inserting not found elements in FGCommList::FindByPos
2009-11-08 01:17:55 +01:00
Csaba Halasz
ce7c98f210
Use wider search in FGCommList::FindByPos
2009-11-08 01:17:44 +01:00
jmt
f11572cd64
Case insensitivity for findNextByPartialId.
2009-11-07 09:00:51 +01:00
jmt
6a4e458af9
In the route-manager, track the departure and destination airport objects
...
* Expose the airport names as properties
* Use tied properties to simplify the code
2009-11-07 09:00:36 +01:00
jmt
9cdcd76c6b
Make Nasal airportinfo() tolerant of invalid airport idents.
2009-11-07 08:57:57 +01:00
daveluff
e1af876a65
Enable correct DTO waypoint selection
2009-11-07 08:56:55 +01:00
daveluff
eb382545c5
Allow all approaches to be selected at airports with more than 3 approaches
2009-11-07 08:56:36 +01:00
ehofman
06187368d2
first stab at reorganizing fgUpdateSunPos() to make it use quats
2009-11-07 08:54:23 +01:00
ehofman
fe834dedfb
Save a costly SGVec3d::fromGeod() calculation
2009-11-07 08:54:03 +01:00
Csaba Halasz
b8f5013751
Added some null pointer checks in FGAILocalTraffic to handle airports without tower
2009-11-07 07:54:18 +01:00
Csaba Halasz
52c1061e24
Re-apply the reciprocal patch from cvs rev 1.3 and correct an order of magnitude regression in HeadingIndicatorFG
2009-11-07 07:53:49 +01:00
torsten
58f303e464
Ron Jensen:
...
This little patch makes the KT-70 read 888-8888 when in self-test mode.
This is the correct behavior, the current behavior, where it reads the
flight level and squawk code in self-test is incorrect.
2009-11-06 23:46:02 +01:00
Tim Moore
ef152ee411
Merge branches 'durk/scenery' and 'ehofman/fog'
2009-11-06 23:39:17 +01:00
Tim Moore
53660d3699
Merge branch 'topic/moon'
2009-11-06 23:38:42 +01:00
Tim Moore
71d042b371
Merge branch 'timoore/atmos'
2009-11-06 23:38:37 +01:00
ehofman
2d2710d5da
pass the geodetic position and view orientation quat to the sky repositioning function
2009-11-05 16:28:11 +01:00
ehofman
ab149d0036
John Denker:
...
Add a view debugging functions and represent the viewer quats in the property tree for debugging.
Do a nontrivial calculation, demonstrating how to find the 12:00 orientation given the view and the view offset. it, and observe that the 12:00 direction does not change when you change the view offset, which is a nontrivial result.
Erik: This already proved to be useful since I now obserbed that the sky and fog coloring code depends on view offset rather that the view orientations. This is why those effects are out of line in some views.
2009-11-05 16:27:58 +01:00
daveluff
24b57ada09
Allow the DIR page to be exited properly using the inner knob
2009-11-04 23:15:48 +01:00
daveluff
00d9abef42
Make the comments about switching to the DIR page more useful
2009-11-04 23:15:41 +01:00
ehofman
c8430ce104
I really have no idea why but the velocity should be 100 times larger than feet-per-second suggests to work properly. oh and change sign
2009-11-04 23:14:54 +01:00
ehofman
342744fddb
Use the proper absolute position for the listener
2009-11-04 23:14:33 +01:00
jmt
71c03b1ce4
Dynamic combo-boxes; read values from the property tree.
2009-11-04 23:13:42 +01:00
jmt
ecfe4eb21b
Check one potential source of the prime-meridian crash.
2009-11-04 23:12:59 +01:00
ehofman
b1eebb21a6
rocket engine and piston engine fixes
2009-11-02 23:30:56 +01:00
ehofman
3b5792e7cc
minor upodate by John
2009-11-02 23:30:34 +01:00
ehofman
0be434936e
John Denker: Simplify redundant code and superfluous variable
2009-11-02 23:30:29 +01:00
ehofman
6e5673de21
Position and orientation fixes for the sound code, thanks to Tim Moore
2009-11-02 23:30:02 +01:00
ehofman
7efed53475
proper sound orientation(?) and comment out velocity since it messes with OpenAL in such a way that volume doesn't work properly anymore
2009-11-01 22:05:56 +01:00
Tim Moore
d096455b7f
Add support for high speed trains. Change update rate to main frame rate, and move framerate-heavy functions to a 20Hz update cycle. Jitter is much reduced, at a small cost to framerate
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
Conflicts:
src/AIModel/AIGroundVehicle.cxx
2009-11-01 00:15:14 +01:00
Tim Moore
28d221cd7c
Revert lighting "cleanup" for now.
...
The osgViewer headlight appears to be critical for enabling lighting.
2009-10-31 23:00:11 +01:00
ehofman
d2799cd832
another attempt at getting something useful without any result.
2009-10-31 22:57:27 +01:00
Tim Moore
e0a779adb1
fix moon lighting at night
...
This hasn't worked since the OSG port was initially checked in. A real
phase-of-the-moon bug!
2009-10-30 23:12:14 +01:00
ehofman
9535c4e339
Commit the current state of affairs to see if it fixes the position code for others
2009-10-29 23:09:21 +01:00
ehofman
c56c520ab5
initlialize _playing for FGATC. Proper listerner orientation based on view offset. proper velocity orientation
2009-10-28 23:23:53 +01:00
ehofman
a70431c5a4
sync. w. JSBSim CVS
2009-10-28 23:23:29 +01:00
jmt
6593d6c065
Bugfix - don't exclude seaports or heliports when looking up by ICAO.
2009-10-28 23:22:32 +01:00
jmt
53b16caec0
Check for an empty search query in GPS searches, and fix test code.
2009-10-27 22:22:03 +01:00
daveluff
f696c541be
Remove the unecessary distinction between waypoints of the core approach and waypoints of the missed approach procedure
2009-10-27 22:21:52 +01:00
Tim Moore
7024454088
Remove system typedefs for MSC in net_fdm.hxx
...
They are defined by stdint.hxx now.
2009-10-26 23:46:17 +01:00
Tim Moore
ec8b5df2cf
stdint.h or equivalent is needed for net_fdm.hxx
2009-10-26 22:41:36 +01:00
jmt
8ace3a12ba
Better idents for waypoints defined by lon/lat.
2009-10-26 22:12:20 +01:00
ehofman
290bef5749
MSVC fix
2009-10-26 22:12:10 +01:00
ehofman
1d097cc575
mingw fix
2009-10-26 22:11:58 +01:00
ehofman
82364aa4da
Sync. w. JSBSim cvs
2009-10-26 18:56:23 +01:00
ehofman
ad020f5fb5
Csaba Halasz: C++-ify ATCVoice WriteMessage
2009-10-26 18:55:40 +01:00
ehofman
11d15b4513
fix a pointer reference.
2009-10-26 18:55:31 +01:00
ehofman
61d8aa5bde
Adjust fog color.
2009-10-26 18:54:40 +01:00
Tim Moore
3a890859d3
more include SGMath.hxx to keep MSVC happy
2009-10-26 18:40:12 +01:00
durk
b4eb30a6c5
Revoke url change detection code.
2009-10-26 07:45:04 +01:00
Tim Moore
d6c3304f87
Generate sea level pressure from metar
...
This needs to account for the current temperature.
2009-10-26 07:30:37 +01:00
daveluff
0112b24540
Expand SIAP idents as found in FAA ARINC dataset to the full approach name as shown on the approach chart and possibly the GPS
2009-10-24 23:48:54 +02:00
Tim Moore
fc71333bdd
Fix typo
2009-10-24 23:14:48 +02:00
Tim Moore
c563cd034a
delete char array with delete[]
2009-10-24 22:50:43 +02:00
durk
904a99714e
Two patches:
...
1) Fix for the "use custom scenery airport data" property.
2) Make it a little harder for stupid people to make money behind our backs.
2009-10-24 19:53:03 +02:00
ehofman
430fbe99fa
Use shared pointers for any reference to SGSoundSample
2009-10-24 19:52:09 +02:00
ehofman
f9445874a0
Don't make the SoundManager a memebr of the subsystem manager; It needs to be initialized very early and destroyed as late as possible. That doesn't work as a subsystem meber onless some sort of priority scheme gets implemented. Get rid of auto_ptr which doesn work for the samples either.
2009-10-24 19:51:39 +02:00
ehofman
7283e506b2
Sync. with JSBSim CVS
2009-10-24 19:50:27 +02:00
jmt
57d8dca176
Fix for an uninitialised value, reported by Dave Luff.
2009-10-22 23:21:34 +02:00
jmt
9495c2efdf
Route tweaks, especially in-flight activation and deactivation
...
* Don't require a valid departure and destination airport
* Handle in-air route activation cleanly
* Handle end-of-route situation cleanly
2009-10-22 23:21:25 +02:00
ehofman
9c8d6ee663
Add a proper typecast
2009-10-22 23:14:13 +02:00
ehofman
42b990ca1b
line up aircraft orientation and velocity vector
2009-10-22 23:14:13 +02:00
jmt
08039f1fa5
Tweak permitted indices for GPS route insert commands.
2009-10-21 16:28:14 +02:00
jmt
2a86384da7
GPS commands to edit the route manager route.
2009-10-21 16:28:01 +02:00
ehofman
6e2974ea57
Assorted small soundsystem related fixes.
2009-10-21 16:27:45 +02:00
ehofman
e2678830ba
Use auto_ptr when calling SGSoundSample
2009-10-20 00:00:08 +02:00
ehofman
7d6631d9a6
remove a debugging left-over
2009-10-20 00:00:08 +02:00
ehofman
b25940e1ea
Fix a number of small bugs; eg test if SoundMgr::load fails and return false in that case.
2009-10-20 00:00:08 +02:00
ehofman
afb0ada81f
Make sure the unbind method is called for all registered subsystems proir to deleting the subsystem manager.
2009-10-20 00:00:08 +02:00
ehofman
836aabae69
Removed code from ConsumeFuel() which failed due to rounding error.
2009-10-19 23:58:14 +02:00
jmt
069b26bbb8
Make panel-IO quieter.
2009-10-19 23:56:51 +02:00
jmt
71a9e3d419
HUD tweak - don't show cross-track error if it's (effectively) zero.
2009-10-19 23:56:51 +02:00
jmt
332e7fc59b
GPS data validity clean-up; it was a mess, now it's more robust. Thanks to Dave Luff for reporting.
2009-10-19 23:56:51 +02:00
jmt
87141b47a7
Fix route-manager / GPS sequencing interaction; tied properties need help to fire listeners.
2009-10-19 23:56:51 +02:00
jmt
1a05ed6b3d
Fix a copy-and-paste bug with destination runways. Caught by Scott Hamilton.
2009-10-19 23:56:51 +02:00
ehofman
73d4b78396
explicitly activate the sound manager
2009-10-18 18:19:52 +02:00
daveluff
a2401ea94b
Add a hardwired instrument approach for testing. This will be removed and read from file shortly
2009-10-18 17:56:17 +02:00
Tim Moore
2c6cfca38b
Fixes for changes in simgear/math/sg_types.hxx
2009-10-18 12:16:54 +02:00
frohlich
78aa4be170
Fix 64 bit linux builds.
...
Modified Files:
src/ATCDCL/ATCVoice.hxx
2009-10-17 23:58:41 +02:00
daveluff
882f5b4deb
My non-precision approach model had been one or more IAFs and then a common core approach from the IF. In fact, there can be one or more initial approach routes from the IAFs to the IF, then the core approach. Replace the IAFs with initial approach routes. NOTE it is assumed in the code that there is a unique IAF per initial approach route.
2009-10-17 23:54:26 +02:00
daveluff
a01bee3817
Change one of the default flight plans to something more convenient for development. These will eventually all be removed from the code and read from preferences anyway.
2009-10-17 23:54:14 +02:00
daveluff
8de8a734a2
Fix a crash where there is only 1 IAF in an approach
2009-10-17 23:54:05 +02:00
ehofman
1b08051597
SoundManager fixes
2009-10-17 14:02:46 +02:00
ehofman
6fec83155e
James Turner: Add autobrake functionality
2009-10-17 14:02:27 +02:00
jmt
afb1e7ffe9
Further GPS and route manager behavioural fixes
...
* When the nav-radio is slaved, calculated radial/target-hdg-deg
(needed by some autopilot logic)
* Handle editing (including deletion) of route waypoints correctly,
including deleting the active waypoint
* Add a signal to the route manager when the last wpt is reached, and
use it in the GPS to revert to OBS mode.
* Change the altitude handling to use the specified cruise altitude
* Fix a bug where autopilot/locks/altitude was treated as a boolean
2009-10-16 11:24:36 +02:00
ehofman
a9b3fc7a56
move some of the sound postion and orientation calculations over to the sample class which also makes the main code nice and clean
2009-10-16 11:24:10 +02:00
ehofman
b937b5bbea
Changed starting fuel flow. Fixed aborted start behavior.
2009-10-16 11:23:07 +02:00
ehofman
b7079aef7a
This is the looping fix.
2009-10-16 11:22:57 +02:00
ehofman
5e22f4b563
fixed egngine feed bug
2009-10-16 11:22:47 +02:00
jmt
a865555fed
Route-manager: remove any interaction with the autopilot, or internal sequencing; assume the GPS always handles this (it should, now). Also fix waypoint altitude handling, which was broken. If not altitude is supplied for a waypoint, default to the requested cruise altitude.
2009-10-14 11:44:27 +02:00
v meazza
d974954b5a
Fix bug in collision calculations
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
2009-10-14 10:40:47 +02:00
v meazza
e91b5a8804
remove debug message
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
2009-10-14 10:40:47 +02:00
jmt
879531ce63
Make the GPS drive the autopilot directly (if configured), also update external course (OBS) source, and init at the current airport.
2009-10-14 00:42:37 +02:00
jmt
5aa51e5780
Ensure we always create a GPS instrument.
2009-10-14 00:42:37 +02:00
jmt
093e267091
Make the HUD show GPS state, instead of RM state.
2009-10-14 00:42:36 +02:00
jmt
d4cc5f9c44
Change default airport search to exclude seaports and heliports, for the moment.
2009-10-14 00:42:36 +02:00
ehofman
0f0f25512d
sync. with JSBSim CVS again
2009-10-14 00:40:44 +02:00
ehofman
a3af4ed1d8
make it compile again
2009-10-12 12:53:22 +02:00
Tim Moore
3c5679fa40
Merge branches 'jmt/dialog' and 'durk/scenery'
2009-10-12 11:06:12 +02:00
Tim Moore
21122fa03e
Merge branches 'jmt/brakes' and 'jmt/dump'
2009-10-12 11:05:36 +02:00
Tim Moore
919d1625df
Merge branch 'stuart/clouds'
2009-10-12 11:04:58 +02:00
Tim Moore
02c75ba583
Merge branch 'torsten/axes'
2009-10-12 11:04:47 +02:00
Tim Moore
40639d38a8
Merge branches 'jmt/xmlauto', 'luff/kln89' and 'curt/radial'
2009-10-12 11:03:35 +02:00
Tim Moore
c779c2ac21
Merge branch 'jmt/positioned'
2009-10-12 11:02:00 +02:00
Tim Moore
7d5c510215
Merge branch 'vivian/trainz'
2009-10-12 10:59:18 +02:00
ehofman
b582c118bd
Correct (and verrified) position, orientation and velocity vector. Todo: proper sound orientation (the all face forward using the airplane orientation now) and disabling doppler effect when tied to the listener
2009-10-12 07:58:11 +02:00
jmt
110dd605a0
Fix unrealistic-but-convenient direct-drive from the route-manager to the autopilot code. A new boolean config prop, 'drive-autopilot' exists, to disable this behaviour.
2009-10-12 07:56:15 +02:00
jmt
bde366e0e3
Make GPS slaved mode on the navradio slightly more robust. Not done yet.
2009-10-12 07:55:51 +02:00
jmt
3637482916
Fix various route-manager issues - HUD display of waypoints, some potential divide-by-zeroes when paused or stationary, and Win32 compilation.
2009-10-12 07:54:09 +02:00
ehofman
33e816abb9
Split up FGFX into a dedicated effects class (FGFX) and a sample queue class. Register the sample queue cass as 'queue' at the SoundManager and tie it to the listener position.
2009-10-08 10:38:10 +02:00
ehofman
c56113d0dd
add the option to tie a SampleGroup to the listener position and orientation
2009-10-08 10:38:05 +02:00
jmt
bc7ac3493e
Refactor airway code to use SGGeod in external APIs. First of various changes to make airways more useful in GPS/FMS modules.
2009-10-08 10:37:21 +02:00
jmt
cb6647ff13
Fix an issue which VC90 warns about - using 'this' in initialiser lists.
2009-10-07 08:26:23 +02:00
jmt
4b5518808b
Use boost string algorithms to avoid dependence on C-library extensions missing in MSVC. Also they're just nicer.
2009-10-07 08:26:10 +02:00
jmt
72d9c254f4
Numerical robustness for the GPS code, when dt or last_speed_kts is zero.
2009-10-07 08:26:00 +02:00
jmt
23ce537168
Update for screen-dumps in PNG format instead of PPM.
2009-10-07 08:24:59 +02:00
ehofman
5107a9d07f
(try to) properly align model and viewer
2009-10-07 08:23:41 +02:00
Tim Moore
696007e503
include header for auto_ptr
2009-10-06 11:20:19 +02:00
jmt
d784810430
Land the GPS/route-manager re-write. Many things are better, many other things will be better, some things are no doubt broken. Please be patient and report problems on the mailing list.
2009-10-06 10:44:01 +02:00
ehofman
b64259b295
allow disabling sound completely (note: openal gets initialized but shuts down a bit later leaving the soundmanager to handle only very specific commands). At this time by specifying '--prop:/sim/sound/enabled=false', not sure why '--disable-sound' doesn't work properly
2009-10-06 10:23:15 +02:00
ehofman
446b200edc
Add the Sound Manager before any other subsystem that uses it. This makes sure the SoundMgr is available at construction time which makes the code much cleaner. Call the update_last() after any other class
2009-10-06 10:23:03 +02:00
ehofman
86f462933d
Initial commit of the new sound system, expect more updates to follow
2009-10-06 10:22:09 +02:00
Tim Moore
5f134cdec8
Merge branch 'topic/atis' into merge/master-atis
2009-10-06 10:21:19 +02:00
jmt
2d5924939e
Extend FGPositioned API to support queries by name as well as ident.
2009-10-06 07:29:03 +02:00
jmt
5c2dbb4239
Extender iterative search APIs with a 'has-next' return arg, to enable better iteration UI.
2009-10-06 07:28:38 +02:00
durk
b40321380d
New feature: Allow the loading of shared models that are not located inside
...
the base package, but are maintained in the SVN repository of the custom
scenery project.
2009-10-06 07:27:39 +02:00
jmt
90106c59ce
Dialog support for conditional enable and visible flags, and re-running layout when conditions change. Used by the GPS code, but potentially in many other places I expect.
2009-10-04 02:06:48 +02:00
jmt
26cd4f92c5
Fix another crash in the autobrake code, with 'aircraft' (eg, ATC) with no weight-on-wheels flag. Thanks to Jacob Burbach for the report.
2009-10-04 02:05:51 +02:00
durk
47a7952f89
Stuart Buchanan:
...
Improvements to the cloudsystem:
- A new xml format
- Texture indexing based on the position of the sprite in the cloud
mass, allowing more control over the texture set.
- Improved fog and shading
- Better sprite distribution
- A more natural distribution of clouds, so no more obvious grids.
2009-10-04 02:05:08 +02:00
jmt
c08cc9693e
Bugfix use of type checks in FGPositioned::findAllWithIdentSortedByRange
2009-10-04 02:04:18 +02:00
torsten
26859ad4b9
Non platform specific:
...
- normalize axes events
- handle relative and absolute axes separately in own classes
- ignore tolerance for relative axes, they can fire the same event multiple times which must not be ignored.
2009-10-04 02:02:47 +02:00
Tim Moore
4023bdaf26
Merge branch 'jmt/navradio'
...
The previous merge claimed to have merged this branch; it didn't because
I had reset the branch to someplace weird.
2009-10-01 23:50:21 +02:00
Tim Moore
8b10bb12f5
Merge branches 'jmt/navradio', 'jmt/cleanup' and 'torsten/gps-fix'
2009-10-01 15:17:24 +02:00
curt
28b847da09
Smooth out the time-to-intercept radial computation so it's a bit more useful.
2009-10-01 00:16:30 +02:00
Tim Moore
9ebd19babf
Use boost::to_lower_copy instead of function from simgear
...
The simgear function is about to get removed.
2009-10-01 00:15:37 +02:00
jmt
4ec0d64c50
Allow airports system to function without an environment manager - useful in some tests I'm writing.
2009-09-30 08:14:39 +02:00
jmt
e1555ba9a5
Positioned support for adding user waypoints.
2009-09-30 08:13:09 +02:00
Tim Moore
d59088dc1a
Try to improve frame rate and reduce jitter
...
Signed-off-by: v meazza <vivian.meazza@lineone.net>
Conflicts:
src/AIModel/AIGroundVehicle.cxx
2009-09-30 08:08:09 +02:00
jmt
5755b7ae0e
Further extensions to FGPositioned to support ongoing GPS work.
2009-09-29 00:01:56 +02:00
jmt
04b30f322d
Extend FGPositioned to allow mapping from a string to a type.
2009-09-29 00:01:47 +02:00
daveluff
57d5e18074
Remove the GPSPage base class, that only KLN89Page was derived from.
2009-09-28 23:56:23 +02:00
jmt
739196c912
Refactor the XMLAuto parsing code to no longer warn about every node handled by the base class (FGXMLAutoComponent). As a side effect, issue better warnings when an unrecognised node is encountered.
2009-09-23 23:11:07 +02:00
Tim Moore
13ff5da4be
Merge branch 'jmt/reciprocal'
2009-09-23 07:44:02 +02:00
torsten
eb8dd47971
Alex Buzin: Fix wrong calculation of temperature and dewpoint
2009-09-22 22:51:46 +02:00
jmt
4ccef76fc4
Auto-brake enhancements: support for JSBSim aircraft, Airbus-style combined MAX/RTO modes, correct disengage behaviour and more disengage conditions.
2009-09-22 22:51:29 +02:00
torsten
27d68533d7
Catch a possible NAN at insanely low but greater than zero speeds
2009-09-22 22:48:14 +02:00
jmt
289023da1d
Don't crash with UFO FDM, etc, or other FDMs that don't define global props needed - just go into passive mode.
2009-09-21 22:51:40 +02:00
jmt
263ff7d93d
Don't look for /velocities/groundspeed-kts during initialisation.
2009-09-21 22:51:40 +02:00
jmt
4d67c69462
A generic, configurable autobrake system. Not fully features yet, but works quite nicely in the 777, including RTO modes and auto-disengage on pilot input.
2009-09-21 22:51:40 +02:00
torsten
3714a0ef51
Fix the temperature computation.
2009-09-20 22:51:36 +02:00
torsten
694cae5e91
Ron Jensen:
...
While troubleshooting the new environment I discovered the metar station
elevation (station_elevation_ft) is never being set because there is a
local variable that overrides it.
2009-09-20 22:51:36 +02:00
Tim Moore
6db8687a75
Merge branch 'tat/configure'
2009-09-20 22:44:58 +02:00
jmt
b49ad1aaed
Remove plib/fnt.h from panel header.
2009-09-20 16:46:32 +02:00
jmt
9d97531b82
Replace one SGD_ constant with a local one, in LaRCsim.
2009-09-20 16:46:32 +02:00
jmt
59895306a5
Remove <plib/sg> includes.
2009-09-20 16:46:32 +02:00
jmt
956ecf1cf2
Remove use of plig/sg from render-area-2d.
2009-09-20 00:20:17 +02:00
jmt
0dbf2de0b6
Remove audio update from main.cxx, back to FGFX (but keep the timing-dependent piece done artificially late)
2009-09-20 00:20:17 +02:00
jmt
0c8c8380b1
Break viewmgr.hxx dependency on on viewer.hxx.
2009-09-20 00:20:17 +02:00
Tim Moore
f4a8570cdd
use boost::tie instead of make_ref
2009-09-19 23:55:09 +02:00
Csaba Halasz
a71a5cdf45
fix ATIS on 64bit machines
2009-09-19 23:50:41 +02:00
v meazza
179186e414
MSVC fixes for atis merge.
...
Avoid dynamic arrays such as char msg[len]; they are a gcc-ism.
2009-09-19 23:50:31 +02:00
jmt
3c84e07a25
FGFX clean-ups, conversion of one more sgVec user.
2009-09-19 12:10:17 +02:00
Tim Moore
08c0556dc7
Merge branch 'vivian/train' into next
2009-09-18 22:04:52 +02:00
Tim Moore
a9c47780a8
Merge branch 'jmt/cleanup' into next
2009-09-18 21:56:38 +02:00
Tim Moore
7a14ec7e32
Merge branch 'jd/atis' into next
2009-09-18 21:52:30 +02:00
jmt
05626756e7
Put back an unfortunate include, until ViewMgr can be fixed to not inline FGViewer destructor calls.
2009-09-18 20:25:54 +02:00
jmt
3c62011f03
Drat, this is really needed. Yuck, yuck, yuck.
2009-09-18 20:25:54 +02:00
jmt
8b649b06c4
Header clean-ups in viewer/view-mgr.
2009-09-18 20:25:54 +02:00
jmt
14a09673b9
ATIS overhaul by John Denker, adapted to trunk by me.
...
8:: AWOS is available at AWOS locations. (Previously only ATIS was
implemented.)
9:: ATIS phraseology now more nearly conforms to international
standard METAR pattern, and therefore to usual FAA practice.(*)
Items marked with a (*) are fully implemented in the /text/ of the
ATIS message, but the voiced version of the message is degraded by
limitations of the FGFS built-in text-to-speech system.
10:: ATIS now reports sky condition.(*)
11:: ATIS now reports multiple layers of clouds, not just the lowest
layer.(*)
12:: ATIS now takes field elevation into account when calculating
sky condition and ceiling.
13:: ATIS now reports dewpoint.(*)
14:: ATIS now can handle negative quantities (temperature and dewpoint).(*)
15:: ATIS can now report report fractional-mile visibility.(*)
16:: ATIS now uses magnetic (not true) wind directions, as it should.
17:: ATIS generates correct runway number and suffix (nine right,
one one left).
18:: ATIS can be received on nav frequencies, not just comm.
19:: Nothing bad happens if the same ATIS is tuned up on more than
one receiver.
20:: ATIS can be updated at times other than at the top of the hour.
21:: ATIS listens for an "attention" signal, and responds to changes
in the weather by issuing a new ATIS message (somewhat like a
"special observation").
22:: ATIS volume now responds to radio volume setting.
23:: Area-related services (i.e. approach radar) are handled
more-nearly consistently with radio-frequency related services.
24:: ATIS sequence-letter generation has been fixed.
25:: ATIS messages are now in the property tree, so they can be read
e.g. via the http interface.
2009-09-18 20:18:54 +02:00
vmeazza
5c7d8c7b68
Add support for tunnel, y-offset and limit update rate
...
Signed-off-by: vmeazza <vivian.meazza@lineone.net>
2009-09-18 20:03:38 +02:00
Tim Moore
2936c45923
Merge branch 'master' into next
2009-09-18 10:39:48 +02:00
torsten
949981a6d7
only complain about binary record length mismatch if mode is binary.
2009-09-18 10:38:34 +02:00
Tim Moore
0044bd4436
Merge branch 'jmt/navradio' into next
2009-09-17 22:55:43 +02:00
jmt
a683b5e0ed
NavRadio: By way of an experiment, make false courses/lobes disable-able via a property.
2009-09-17 22:55:18 +02:00
Tim Moore
e888e209e3
Merge branch 'tat/configure' into next
2009-09-17 22:54:58 +02:00
torsten
16eefc84d1
Tatsuhiro Nishioka:
...
Patches for configure.ac and Makefile.am files in FG/SG so Mac developers can build these in a unix way.
These also enables Mac developers to choose either PLIB framework or PLIB static libs.
2009-09-17 22:54:42 +02:00
Tim Moore
37ffe7be35
Merge branch 'jmt/navradio' into next
2009-09-17 22:53:30 +02:00
jmt
5947f3fcd5
NavRadio DME in-range flag, and audio code improvements. By John Denker, adapted to current trunk by me.
2009-09-17 22:53:15 +02:00
Tim Moore
19d2d70da6
Merge branch 'jmt/reciprocal' into next
2009-09-17 22:52:17 +02:00
jmt
29f84492a2
Different approach to handling the paired-ILS-on-opposite-runways situation. This uses additional information we now store (in FGRunway) to be more explicit about the behaviour (i.e only look at paired navids), and crucially, does not misbehave near either threshold. Instead it always switches about the runway midpoint (so back-course/missed-approaches are broken as before), leading to stable behaviour when touching down.
...
I am pretty confident this is (was, from FS2004) also the 'solution' taken by MSFS.
2009-09-17 22:51:44 +02:00
jmt
44bc440d32
Associate non-ILS localisers with their runway.
2009-09-17 22:51:44 +02:00
jmt
d4d1d827d0
Make FGRunway track reciprocal runways.
2009-09-17 22:51:44 +02:00
Tim Moore
2ef77e4314
Merge branch 'jmt/navradio' into next
2009-09-17 22:49:07 +02:00
jmt
bf830f681d
One more divide by zero fix from Torsten.
2009-09-17 22:48:10 +02:00
jmt
ebf5dcb828
Work around the penaltyForNav broken-ness, by ensuring GS behaves sanely even if non-matches LOC and GS transmitters are selected. Which happens. Yuck.
2009-09-17 22:47:57 +02:00
jmt
c1598361ca
navradio: fix crash spotted by Torsten, when nav range is unspecified.
2009-09-17 22:47:45 +02:00
jmt
a650cf4239
Fix the has-gs flag when switching to a VOR (thanks Torsten), and expose GS validity via a new gs-in-range boolean prop, as suggested by John Denker.
2009-09-17 22:47:32 +02:00
jmt
971e87bb49
Logging: less verbose about navaids we didn't align.
2009-09-17 22:45:30 +02:00
jmt
daadb16370
Logging: less verbose traffic-manager startup.
2009-09-17 22:45:30 +02:00
jmt
fbf7d58c25
Logging: less verbose panel loading.
2009-09-17 22:45:29 +02:00
Tim Moore
d11ad100cc
Merge branch 'topic/atmos-merge' into next
...
John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-12 15:51:11 +02:00
jmt
3c48943e81
Various LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not introducing too many bugs along the way). Includes:
...
- false LOC courses and GS lobes
- LOC sensitivity based on runway dimensions
- GS cutoff based on range
- More accurate GS deviation computation, making final approach more stable
2009-09-12 15:47:52 +02:00
curt
606f9173b2
Avoid strtof() for portability reasons.
2009-09-12 15:47:52 +02:00
curt
bf423ef0ca
Handle "double" type fields correctly for ascii input data. Previously double
...
data was being down-cast to float and the loss of precision impacted data types like lon/lat positions dramatically, preventing smooth replay of data.
2009-09-12 15:47:52 +02:00
frohlich
d09c0ec8b9
Disable collisions with the MP aircraft again.
...
Modified Files:
src/AIModel/AIMultiplayer.cxx
2009-09-12 15:47:52 +02:00
jmt
5f16e4da60
Add clamped degrees deviation for glideslope.
2009-09-12 15:47:52 +02:00
Tim Moore
a6db6d89ff
Merge branch 'jsd/atmos' into topic/atmos-merge
...
Conflicts:
src/Environment/environment.cxx
src/Environment/environment.hxx
John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-10 12:31:04 +02:00
Tim Moore
7b6d15d537
cleanup of atmosphere patch
...
Remove some dead code and space changes. Replace boost::tuple with std::pair,
but do use boost::tie.
2009-09-10 11:42:42 +02:00
John Denker
abc7ae96a5
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of the mesosphere. Correctly exhibits the HALT phenomenon.
2009-09-10 10:59:51 +02:00
jmt
77a8b4db30
Add normalised heading deflection property to navradio.
2009-09-09 23:42:21 +02:00
daveluff
08dfa30d87
Fix MSVC compilation
2009-09-09 08:56:32 +02:00
torsten
a893748d4e
Tatsuhiro Nishioka:
...
Handle number keys on Keypad properly on Mac OS X
2009-09-09 08:56:32 +02:00
ehofman
10611c1522
Dont execute code in case the soundmanager isn't properly initialized
2009-09-09 08:56:32 +02:00
jmt
049e1ae23e
Fix compilation - missing include of globals.hxx
2009-09-09 08:56:32 +02:00
jmt
6fa1b3dfd0
Add normalised glideslope deviation property to nav-radio.
2009-09-09 08:56:32 +02:00
jmt
e2f0d1960e
Further re-factoring of nav-radio code, again no functionality changed should occur. Radio reception / GPS slaving / Glideslope handling and CDI updating are all separate functions now.
2009-09-09 08:56:32 +02:00
ehofman
e8db3a514a
Dont execute code in case the soundmanager isn't properly initialized
2009-09-09 08:56:32 +02:00
jmt
80e67b17c2
Set runway elevation to the airport elevation, and don't reset ILS/LOC elevation when aligning with runways.
2009-09-09 08:56:31 +02:00
frohlich
2f6107982c
Use the new vector conversion functions.
...
Modified Files:
src/FDM/groundcache.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
5c56757303
Move dynamic_casts to EffectGeode into the findMaterial method.
...
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
690231ff64
Fix a problem introduced with the past vector changes.
...
Fix a potential nan problem with the scenery_available method.
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
ehofman
1fa48722b4
One last update; remember whether input or output is requested. This will make sure FlightGear isn't communicating in both directions all the time.
2009-09-09 08:56:31 +02:00
ehofman
aeefd12522
Don't forget to clear the previous configuration
2009-09-09 08:56:31 +02:00
ehofman
ea4a3ee1df
Make FGIO a proper subsystem and add a reinit method for the generic protocol. This should allow for easy runtime reloading of the configuration file.
2009-09-09 08:56:31 +02:00
ehofman
f220feb684
Sync. with JSBSim (CVS) again
2009-09-09 08:56:31 +02:00
frohlich
d9d725f28d
Remove obsolete version test.
...
Modified Files:
src/Main/fg_os_osgviewer.cxx
2009-09-09 08:56:31 +02:00
frohlich
4e7b084568
Simplify, fix some comments.
...
Modified Files:
src/Main/viewer.cxx
2009-09-09 08:56:31 +02:00
frohlich
93d2f8a963
Correct logic to determine if we really have a hit.
...
Modified Files:
src/Scenery/scenery.cxx
2009-09-09 08:56:31 +02:00
frohlich
cb10d714fd
Initialize all members.
...
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx
2009-09-09 08:56:31 +02:00
frohlich
ccb9e64caf
Avoid division by zero.
...
Modified Files:
src/Instrumentation/dme.cxx
2009-09-09 08:56:31 +02:00
torsten
e98d7a1ea4
Tatsuhiro Nishioka:
...
FG crashes at exit at very high likelihood.
The cause of the crash is that some subsystems (input and gui) call get_subsystems() at their destructor.
This is very dangerous since SGSubSystemMgr::get_subsystem() can refer to already deleted subsystems.
2009-09-09 08:56:31 +02:00
frohlich
8676c2bbd8
Replace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.
...
Modified Files:
src/Traffic/Schedule.cxx src/Sound/fg_fx.cxx src/Main/main.cxx
src/Instrumentation/navradio.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx
2009-09-09 08:56:30 +02:00
torsten
a26ca9f3e3
Tatsuhiro Nishioka:
...
Fixed: wrong event name for abs-hat0-y
Modified: let AxisElement to generate normalized input (-1.0 to 1.0).
This can be temporal and can be removed when AxisEvent normalizes its value.
Modified: clean up code
Added: some comments so other Mac developers can see what's going on
2009-09-09 08:56:30 +02:00
jmt
80a6317ab6
Re-structure the nav-radio code, in preparation for cleaner GPS-slave separation. No functionality changes (hopefully).
2009-09-09 08:56:30 +02:00
jmt
5a01c55335
Allow the joystick hat to move the view, even when the sim is paused.
2009-09-09 08:56:30 +02:00
jmt
25c55f67bf
More precise matching of ILS records to navaids.
2009-09-03 00:02:48 +02:00
ehofman
98b5e7e6fe
Bertrand Coconnier:
...
Additionally to the original fix (problem with the Tec2b matrix initialization) I have modified the code for the "STRUCTURE" contacts in order not to generate NaNs when the z direction of the body frame is normal to the ground normal. Now there should no longer be any NaN generated by the landing gear code.
2009-09-03 00:02:48 +02:00
jmt
294a7b675a
Add support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.
2009-09-03 00:02:48 +02:00
durk
ce084ab1c5
Two minor (codewise) fixes to ensure everything works as advertised:
...
- Make sure to initialize the groundnetwork after succesful loading.
- Ensure that the AI groundnetwork code proximity detection code used the
correct values for bearing. (Note that detecting the proximity of the
user aircraft appears still to be broken. I'll look into that later).
2009-09-03 00:02:48 +02:00
durk
1ae2b59333
Added two missing files from JSBSim.org that were missing in the last sync.
2009-09-03 00:02:48 +02:00
ehofman
48cad71a70
Sync with JSBSim CVS again
2009-09-03 00:02:48 +02:00
curt
f07a83c73a
Allow setting of NED velocities.
2009-09-03 00:02:48 +02:00
jmt
2dee4ef14f
Update FGRunway to process information from threshold.xml files.
2009-09-03 00:02:47 +02:00
jmt
7ff374ef8b
Trigger lazy loading of Airport data from the scenery on access.
2009-09-03 00:02:47 +02:00
torsten
b1e2b7ee20
missing declaration of SGPropertyNode
2009-09-03 00:02:47 +02:00
jmt
cc0c19f62e
XMLLoader re-factoring.
2009-09-03 00:02:47 +02:00
jmt
1c015387ba
Initial framing for reading in-scenery airport data.
2009-09-03 00:02:47 +02:00
torsten
a1a610f7d5
- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
...
- added support for per-device <nasal> <open> and <close>
2009-09-03 00:02:47 +02:00
Tim Moore
be4b46b894
change back unsigned byte count to signed (multiplaymgr)
...
Also, small fixes to generic protocol from AndersG
2009-08-27 00:12:44 +02:00
Tim Moore
acbcf94bde
AIGroundVehicle from Vivian Meazza
2009-08-25 12:52:50 +02:00
Tim Moore
5b29cd4cc0
fix warnings in Multiplayer, Scripting, and Time
2009-08-24 18:07:19 +02:00
Tim Moore
62620177aa
Fix transmission of float and double values in generic protocol
...
gcc -Wall -Werror turned up some problems with the type-punning of pointers
used to write the message buffer; it turns out that truncated ints were being
written to the message buffer when values needed to be swapped to network byte
order.
2009-08-24 18:06:06 +02:00
Tim Moore
0a64405cad
fix warnings in Main
2009-08-24 18:03:49 +02:00
Tim Moore
67c7d8642a
fix warnings in Instrumentation
...
Mostly signed comparisons and order of initializers in constructors
2009-08-24 18:02:15 +02:00
Tim Moore
8238bcddbd
fix warnings in GUI code
2009-08-24 18:00:10 +02:00
Tim Moore
185ede0159
Fix order of initializers in constructor
2009-08-24 17:58:27 +02:00
Tim Moore
5a1e0d92f4
fix gcc warnings
...
Mostly comment out unused variables.
2009-08-24 17:57:32 +02:00
Tim Moore
1e049f24b0
fixes to remove warnings
...
Comment out unused variables; fix a real bug in uiuc_gear().
2009-08-24 17:56:39 +02:00
Tim Moore
bfe942268e
Initialize some variables
2009-08-24 17:54:48 +02:00
Tim Moore
c6d4f3b0ff
Fix to LaRCsim interpolation code
...
Is this code still used? I don't know, but -Wall -Werror turned up a problem.
2009-08-24 17:53:57 +02:00
Tim Moore
d838ef5f40
compilation fixes for gcc -Wall -Werror
...
Most are cosmetic, but the changes in the FGATCInstruction constructor
fix unitialized members.
2009-08-24 17:13:31 +02:00
torsten
b3ceb9a2fd
warning fixes
2009-08-23 21:43:10 +02:00
torsten
8d98e4cd49
warning fixes
2009-08-23 21:43:10 +02:00
torsten
1b08957f2a
Olaf Flebbe: the plib/ul.h is needed for the TGT_PLATFORM Macro to make the tags <windows> or
...
<mac> work in the joystick xml files.
2009-08-23 21:43:10 +02:00
ehofman
9a01f8bf73
temporary fix for a division by zero problem for some aircraft
2009-08-23 21:43:10 +02:00
torsten
b772e5872a
add option <grab/> to the device configuration. If this is set to 'true', the events from this devices are exclusively handled by our handler and are not distributed to other driver(s).
2009-08-23 21:43:10 +02:00
torsten
cd89ce7d0a
warning fixes
2009-08-23 21:43:10 +02:00
torsten
6ba395969c
warning fixes
2009-08-23 21:43:09 +02:00
torsten
2ea02594c0
even more warning fixes
2009-08-23 21:43:09 +02:00
torsten
e294ab7b39
warning fixes
2009-08-23 21:43:09 +02:00
torsten
e0b2d43fb4
the warning extinguisher hits again...
2009-08-23 21:43:09 +02:00
torsten
c672f2aba5
warning fixes
2009-08-23 21:43:09 +02:00
torsten
4d977e9411
warning fixes
2009-08-23 21:43:09 +02:00
torsten
5e9864994c
fix warnings (order of initialization)
2009-08-23 21:43:09 +02:00
fredb
f2b9b9f441
Compile under MSVC9 again
2009-08-23 21:43:09 +02:00
ehofman
5ee9cd1fcc
Add Bertrand Coconnier's latest landing gear code
2009-08-23 21:43:09 +02:00
torsten
5a04b82dfc
Tom P: magnetic-variation isn't boolean.
2009-08-23 21:43:09 +02:00
fredb
4c29f8711b
Compile under MSVC9 again
2009-08-23 21:43:08 +02:00
ehofman
83675c7216
Changed my mind, the 'scene specular' color is actually the diffuse color and the sun specular color is the scene specular color
2009-08-23 21:43:08 +02:00
ehofman
37e1581964
forgot a few untie's and fix a small bug
2009-08-23 21:43:08 +02:00
ehofman
cf25f69d36
Update to the latest version of JSBSim
2009-08-23 21:43:08 +02:00
ehofman
25a99a2417
Expose the color of the sun (which is not the scene specular color anymore)
2009-08-23 21:43:08 +02:00
curt
0590333e53
Fix a bug that is screwing me!
2009-08-23 21:43:08 +02:00
fredb
efbe6984c2
Win32 fix and suppress one warning
2009-08-23 21:43:08 +02:00
timoore
8bac481865
fgviewer: support random objects, vegetation, and static models
2009-08-23 21:43:08 +02:00
torsten
8cf74b8f2d
Add a debug property to make devices print out incoming events on the console.
2009-08-12 23:45:55 +02:00
torsten
3231561e5a
fixed typo. Thanks m.
2009-08-12 23:45:54 +02:00
torsten
d7eab6061c
be compatible with older kernels
2009-08-12 23:45:54 +02:00
torsten
da9a4c3216
missing dbus include path
2009-08-12 23:45:54 +02:00
torsten
5c57153e62
Advanced input subsystem - Step3: Adding support for the Linux event devices
2009-08-12 23:45:54 +02:00
timoore
3bce312213
Get fgviewer working as a part of fgfs
...
Move fgviewer code into fgfs binary. Its osgViewer-style main function is
called from bootstrap.cxx if the --fgviewer argument is passed to fgfs.
Use fgfs initialization functions in fgviewer codepath. Read
command-line arguments and autosave.xml.
2009-08-12 23:45:54 +02:00
frohlich
bb2e5fb2c9
Use the 'all but self' capability of the scenery elevaton code instead of
...
playing with node masks.
Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBallistic.cxx
src/AIModel/AIBase.cxx src/AIModel/AIBase.hxx
src/AIModel/AIShip.cxx src/AIModel/AIShip.hxx
src/AIModel/AIThermal.cxx src/ATCDCL/AILocalTraffic.cxx
2009-08-10 23:31:21 +02:00