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