frohlich
d2466d605f
Set the motion transform id in the collection step.
...
Modified Files:
src/FDM/groundcache.cxx
2009-03-05 10:52:03 +01:00
frohlich
b120d9dfb3
Casaba Halász: Fix some const warnings.
...
Modified Files:
src/FDM/YASim/Rotor.cpp src/FDM/YASim/Rotor.hpp
src/GUI/fonts.cxx
2009-03-05 10:52:03 +01:00
frohlich
8150f47155
Remove the StaticLeaf visitor methods.
...
Modified Files:
src/FDM/groundcache.cxx
2009-03-05 10:52:03 +01:00
frohlich
1708e43a39
Make initial use of the boundingvolumes for the ground cache.
...
Modified Files:
src/AIModel/AICarrier.cxx src/AIModel/AICarrier.hxx
src/FDM/flight.hxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx
2009-03-05 10:52:03 +01:00
frohlich
fc35624a4f
Use that static material function instead of the member one.
...
Modified Files:
src/FDM/groundcache.cxx src/Scenery/scenery.cxx
2009-02-27 23:42:34 +01:00
andy
4a683bed1e
"min throttle" tunable from Maik:
...
Background are problems modeling the rotax 912 engine. The idle speed
of the real engine is about half of the speed I could achieve with the
default minimum manifold pressure. While on ground I can switch off
the engine by pulling the throttle. The audible difference between the
different minimum idle speed (real vs. simulated) is extreme. With the
patch I get quite realistic sound. For the rotax engine I use
min-throttle="0.05" which is half of the former default value.
2009-02-27 23:42:33 +01:00
andy
8b98937e4d
Patch from Maik: as helijah found out, there was a bug within the rotor simulation.
2009-02-27 23:42:33 +01:00
Tim Moore
050221c306
Merge branch 'topic/gcintersect' into next
2009-02-16 00:16:06 +01:00
Tim Moore
c59d30febb
Fix off-by-one problem in new ground intersection code
2009-02-16 00:11:46 +01:00
Tim Moore
8be4e97f54
Merge branch 'topic/gcintersect' into next
2009-02-13 10:18:42 +01:00
Tim Moore
d5a893589c
Use OSG polytope intersector to fill ground cache
...
This gets rid of a lot of messy code. Although the performance is about
the same as the old code, there is the possibility of a big performance
boost if/when the polytope intersector is taught about KD trees.
2009-02-13 09:47:31 +01:00
ehofman
9cd26d8b34
Sync. w. JSBSim CVS
2009-02-06 22:40:10 +01:00
ehofman
3cb45f4989
Sync. with JSBSim CVS
2009-01-28 07:59:55 +01:00
curt
5008e912c7
Make newly created (external) boolean properties default to true if not
...
otherwise specified.
2009-01-21 09:55:33 +01:00
Tim Moore
89010e6b0a
Merge branch 'maint2' into next
2009-01-04 00:25:04 +01:00
fredb
fd043ed56e
Temporary hack to avoid NaN problems when _mp is negative (?). Discovered by Csaba
2009-01-04 00:24:20 +01:00
Tim Moore
43b300fe46
Merge branch 'maint2' into next
2009-01-04 00:01:46 +01:00
fredb
f12b1f00ec
Remove warnings
2009-01-04 00:00:02 +01:00
jmt
0f4f044a94
Kill off many Point3D includes, and a couple of uses in the HUD code.
...
Requires a SimGear update to get some new SGGeodesy helpers.
2008-12-26 12:28:05 +00:00
mfranz
32d3f6308c
Anders GIDENSTAM: "Do not leak uninitialized values to the rest
...
of the computation." (forward port from jsbsim/cvs)
2008-12-07 19:47:48 +00:00
andy
7531cd4db4
Fix apparently ancient typo.
2008-12-05 17:33:57 +00:00
mfranz
0cf9d58b76
Allow negative thrust. This allows a single recoil or vibration
...
thruster to accelerate in both directions. THROTTLE input still
clamps to 0/1 by default. (OK'ed by Andy)
2008-12-04 18:47:49 +00:00
ehofman
b7ebc7d78d
Sync. with JSBSim CVS
2008-11-30 10:44:29 +00:00
curt
51283147db
FGRotor needs to be added to the Makefile.am so it is (a) compiled and
...
(b) included in the result of "make dist".
2008-11-08 01:13:51 +00:00
curt
e8ff28f9f8
Tidy up for a source code "snapshot" release.
2008-10-30 18:35:44 +00:00
ehofman
6214e976a8
Fax an INCLUDES problem
2008-10-26 16:59:58 +00:00
ehofman
8dd517621d
Revert to previous version, Makefile.am shouldn't have been updated
2008-10-23 19:54:47 +00:00
ehofman
6d95ade940
Sync.with JSBSim CVS
2008-10-23 19:04:45 +00:00
timoore
62bca8368e
YASim flap changes from Vivian Meazza
2008-09-29 08:00:20 +00:00
curt
c7f6156324
"make dist" fixes.
2008-08-28 21:20:21 +00:00
ehofman
8858ad7a00
Sync. with JSBSim cvs
2008-08-26 08:02:31 +00:00
ehofman
90f498be4d
Sync. with JSBSim CVS
2008-08-14 14:16:50 +00:00
ehofman
66eef4dafc
Add support for squared damping coefficients for gears.
2008-08-03 13:52:45 +00:00
ehofman
429f2530de
James Turner:
...
* experimental clean-up / reduction on two of the FG headers:
(I'm going to await feedback on the developers list before doing more of
these, to avoiding going over files multiple times, but in principle it
seems pretty straightforward.)
* final fixes for SG_USING_STD removal
2008-07-29 08:27:48 +00:00
ehofman
667e64e1eb
- remove the SG_GLxxxx_H #defines, since OSG provides its own versions
...
- this exposed a bizarre issue on Mac where dragging in <AGL/agl.h> in
extensions.hxx was pulling in all of Carbon to the global namespace
- very scary. As a result, I now need to explicitly include CoreFoundation
in fg_init.cxx.
- change SG_USING_STD(x) to using std::x
2008-07-27 16:25:13 +00:00
fredb
0dfdbf8499
One occurence of Balloon.cxx is enough
2008-07-26 08:25:11 +00:00
durk
6048f4d01e
Rvert last change. The Balloon and Magic Carpet are there. They didn't
...
show up during my previous commit though...
2008-07-26 07:20:48 +00:00
ehofman
a40e040e24
Add the BalloonSim and MagicCarpet fdm's back in (i seriously thought this had been done, oops)
2008-07-26 07:19:13 +00:00
durk
f6301ea1d7
Balloon and Magic Carpet no longer exist.
2008-07-26 07:01:07 +00:00
ehofman
d9bfd5a425
This should apply, and everything should build cleanly, in isolation from the
...
SimGear change. It changes all the SG_xxxx to be the 'real' includes, and gets
rid of many #ifdef SG_HAVE_STD_INCLUDES. As an added bonus, rather than
replacing 'SG_USING_NAMESPACE(std)' with 'using namespace std', I just fixed
the small number of places to use std:: explicitly. So we're no longer polluting
the global namespace with the entire contents of std, in many cases.
There is one more 'mechanical' change to come - getting rid of SG_USING_STD(X),
but I want to keep that separate from everything else. (There's another
mechnical change, replacing <math.h> with <cmath> and so on *everywhere*, but
one step at a time)
2008-07-25 18:38:29 +00:00
ehofman
eccddb3dfd
Attached patches remove BORLANDC, and hence SG_MATH_EXCEPTION_CLASH and SG_INCOM
...
PLETE_FUNCTIONAL from SimGear and FlightGear.
As a result, SG_HAVE_STD_INCLUDES is now *always* set, so I will get the boring
fixes for that done, but separately. I'm still auditing the other things in comp
ilers.h - there's a lot that can die now BORLAND is gone.
2008-07-25 10:39:53 +00:00
ehofman
4b40e725cd
remove macintosh (note: not MacOS-X) and MWERKS workarounds.
2008-07-24 19:50:58 +00:00
ehofman
3b3f671974
Sync. with JSBSim CVS (header cleanups).
2008-07-22 08:49:15 +00:00
mfranz
030035a32a
include cstring for memset() (necessary for gcc 4.3.*; backported
...
from JSBSim/cvs)
2008-07-15 13:08:03 +00:00
ehofman
ce7f695ea2
add a reference for memset()
2008-07-11 14:11:54 +00:00
ehofman
f7f17a4744
Update to the latest version of JSBSim which supports Lighter Than Air craft
...
(like Airships) and external forces.
2008-07-10 17:23:02 +00:00
timoore
bfc1967529
Revert most iostream-related changes to JSBSim
...
So many files in JSBSim use cout that it is not productive to remove
iostream from header files.
2008-06-06 21:21:57 +00:00
timoore
32e9505eed
Clean up header file use of iostream and "using" declarations
...
Replace include <iostream> with istream, ostream and/or iosfwd as
appropriate.
Remove using namespace std and using std::foo from header files.
2008-06-02 21:09:51 +00:00
timoore
a251fd35cb
Include <iostream> and using declarations as needed.
...
SimGear no longer includes iostream and avoids using declarations in
header files, so various fixups are needed.
2008-06-02 21:07:35 +00:00
timoore
ebf2e996e9
Fixes for compiling with gcc 4.3
...
Include standard header files and qualify with std:: where needed.
Qualify various char parameters and variables with const.
2008-04-13 21:12:36 +00:00
andy
e00b796b3c
Maik: remove tow end force smoothing.
2008-02-01 19:56:51 +00:00
timoore
853e371d1e
Fix for "falling through ground" problem
...
The LOD far range on the tile entry scenegraph node was initialized to
0. This meant that any traverals of active children that happened
before the tile manager updated the node would ignore the node
altogether. Among these is the groundcache traversal which was failing
at startup even though scenery was loaded.
Also added a function to dump scene graph nodes to files; very handy
in gdb.
2007-12-20 23:20:51 +00:00
timoore
579b60b8e4
Check if scenery is available before blowing away existing values in ground cache
...
This fixes a race condition when teleporting somewhere outside of the
currently loaded scenery. Before, if there was no valid scenery, an
aircraft might end up at the center of the earth...
2007-12-11 11:10:35 +00:00
andy
57918533eb
Maik: add ROTORBALANCE axis. Fix spelling of ROTORRELTARGET.
2007-12-10 19:25:24 +00:00
mfranz
32dfdaea61
backport from JSBSim/cvs: apply prop sense only once (OK'ed by JSB)
2007-12-04 20:22:36 +00:00
timoore
2a03296e5e
initialize _material pointer in FGGroundCache
...
_material was uninitialized. This was causing a segfault with
as-yet-to-be-checked-in paging code; I don't know if it ever resulted
in a segfault with the old tile loader, but it certainly could have.
2007-11-22 23:46:39 +00:00
frohlich
ba10199188
Move some values exclusively used by LaRCsim to LaRCsim
2007-11-09 05:39:13 +00:00
mfranz
405c013618
JSB: "Fixed uninitialized variables; patch by Anders Gidenstam"
...
mf: backporting from JSB/CVS to fix serious gear problem
2007-10-10 22:11:14 +00:00
andy
7f546e94d3
revert accidental checkin
2007-09-05 02:03:15 +00:00
andy
f52165731a
Ron Jensen: extend atmosphere tables to match environment data
2007-09-05 02:01:57 +00:00
andy
bf02d9bdd0
Maik: Use exact calculation instead of 1st order approximation
2007-07-31 15:51:04 +00:00
mfranz
d1fb32b315
cleanup: extract globals->get_controls()
2007-07-29 17:36:30 +00:00
frohlich
17262df51c
Modified Files:
...
src/FDM/flight.cxx src/FDM/flight.hxx
src/FDM/LaRCsim/LaRCsim.cxx src/FDM/SP/ADA.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx:
Remove obviously unused variables from FGInterface, make use of
SGMath functions. No longer use plib math functions in FGInterface.
2007-07-29 10:21:22 +00:00
mfranz
22de2508aa
- set filter dt only once
...
- make throttle more responsive (again)
2007-07-28 08:08:22 +00:00
mfranz
26af6a3207
- add (damped) aileron/rudder trimming (may be needed for mibs)
...
- use an FPS-independent lowpass filter for all damped properties
- cleanup
2007-07-27 21:57:55 +00:00
andy
0368accc6d
Maik: add a downwashfactor tunable
2007-07-23 16:10:21 +00:00
andy
fe5ac84f8c
Maik: remove redundant (and innapropriate in the YASim core) property interface for the rotorgear.
2007-07-09 19:51:01 +00:00
mfranz
0b84cddee7
set north/east/down speed to make radar map mode work
2007-06-27 15:28:23 +00:00
mfranz
ee23145936
Maik JUSTUS: "ease the rotor of the hornet if not rotating"
2007-06-23 06:41:17 +00:00
mfranz
28da7c0a90
Maik JUSTUS: "small update to the tilt-rotor feature"
2007-06-16 07:22:47 +00:00
andy
d0550441bb
Maik: Adding support for tilting of the rotor. Can be used for small
...
autogyros or even for the Osprey.
2007-06-13 21:10:23 +00:00
curt
b163af3010
Fix indentation.
2007-06-10 16:01:09 +00:00
curt
ba6f4cb42f
Syd Adams:
...
Export ground speed to property system under /velocities.
2007-06-10 15:58:50 +00:00
andy
a90a24d9dd
Maik: fix crash when using aircraft with hitches under the command
...
line solver. (He promises to get all the MP interaction out of the
FDM in a future patch.)
2007-06-05 16:01:43 +00:00
mfranz
158dbdd96c
Sync w. JSBSim CVS (merge from PRE_OSG_PLIB_20061029 branch)
2007-06-03 12:49:19 +00:00
mfranz
3cda82e0a9
Sync w. JSBSim CVS (merge from PRE_OSG_PLIB_20061029 branch)
2007-06-03 09:37:02 +00:00
mfranz
e8f2255039
Maik JUSTUS: fix typo (ROTORRELTARGET)
2007-05-31 16:58:58 +00:00
andy
1a5bbec83b
Maik: add ROTORELTARGET and ROTORENGINEMAXRELTORQUE input axes
2007-05-27 20:19:15 +00:00
andy
7986caf75b
Maik: place the contact points at the rotor blade tips (center+radius), not at center+diameter
2007-05-25 22:58:04 +00:00
andy
96f7bd90de
Maik: add unbalance and testing of rotor ground contact
2007-05-25 21:15:59 +00:00
curt
95015dc61f
Fix an array overrun error (Ok'd by Jon)
2007-05-17 20:25:16 +00:00
mfranz
5bbd649b5a
Maik JUSTUS: "further (final?) modifications for the jet ranger rotor"
2007-05-15 21:30:33 +00:00
mfranz
26d6fa87a2
s/resistence/resistance/
2007-05-13 11:58:36 +00:00
mfranz
ab2209be8c
s/resistence/resistance/
2007-05-13 11:53:21 +00:00
mfranz
baac43778e
Anders GIDENSTAM: fix slip skid ball (merge from JSBSim/cvs)
...
JSB: "Fixed a problem with turn coordinator bounding while at rest on the runway"
2007-05-12 15:10:39 +00:00
mfranz
adcd01d7dc
Maik JUSTUS: remove temporary debugging message
2007-05-09 21:12:20 +00:00
mfranz
282156ecf8
degrade SG_ALERT message about phi/delta3 values to SG_WARN (should
...
probably be SG_DEBUG!?)
2007-05-09 21:01:19 +00:00
mfranz
7b05646ed0
Maik JUSTUS:
...
"minor update for the rotor FDM. It results in a more realistic
calculation of the phase shift of rotor and therefor in a little bit
more realistic flight behavior.
(Additionally you can modify the initial position of the rotor and some
(not finished) modifications for the jet ranger rotor)."
2007-05-09 20:36:43 +00:00
frohlich
b51292d9db
Modified Files:
...
src/FDM/groundcache.cxx src/Main/fg_commands.cxx
src/Main/main.cxx src/Main/renderer.cxx
src/Scenery/FGTileLoader.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tileentry.cxx
src/Scenery/tileentry.hxx src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx: Simplify scenegraph structure.
2007-05-08 06:12:26 +00:00
frohlich
4fe615fff5
Modified Files:
...
src/AIModel/AIBase.cxx src/AIModel/AICarrier.cxx
src/ATC/AIEntity.cxx src/Cockpit/hud_rwy.cxx
src/FDM/Makefile.am src/FDM/flight.hxx src/FDM/groundcache.cxx
src/Instrumentation/HUD/HUD_runway.cxx src/Main/Makefile.am
src/Main/fg_init.cxx src/Main/main.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Main/viewer.hxx src/Model/acmodel.cxx
src/Model/modelmgr.cxx src/Scenery/scenery.cxx
src/Scenery/scenery.hxx src/Scenery/tileentry.cxx
src/Time/tmp.cxx: Remove the scenery center handling.
Osg has double valued transforms at any relevant place.
2007-05-05 08:08:24 +00:00
frohlich
f9e288fce2
Modified Files:
...
src/FDM/groundcache.cxx: Csaba Halász: use wires[i].ends[k] instead
of yet uninitialized end[k].
2007-04-08 17:19:19 +00:00
mfranz
77c176424e
Ron JENSEN: turn cout into SG_LOG/SG_WARN (merge from JSBSim/cvs)
2007-04-01 12:23:54 +00:00
mfranz
e85b413f99
- FGPropertyManager.{cpp,h}: fix memory corruption bug
...
- JSBSim.?xx: use guarded SGPropertyNode pointers
2007-03-19 16:37:36 +00:00
mfranz
4232c116a3
Hans Ulrich NIEDERMANN:
...
"""
Fix Y2K bug triggering string overflow
sim_control_.date_string is a char[7], so it can contain "yymmdd" and
the terminating '\0'. However, nowtime->tm_year is 107 for the year 2007,
so you'll end up with a 7 digit number and the string written to
sim_control_.date_string is longer than sim_control_.date_string is.
Ouch!
"""
mf: ... and sim_control_.date_string isn't even used.
2007-03-01 17:53:24 +00:00
andy
5ea9821329
Can't assume that the aircraft has a fuel tank.
2007-03-01 00:30:07 +00:00
frohlich
32d3d33fea
Modified Files:
...
src/FDM/YASim/Launchbar.cpp: Olaf Flebbe: Make sure expressions
stay floats.
2007-01-31 20:50:17 +00:00
frohlich
fbb676cbbe
Modified Files:
...
src/FDM/JSBSim/FGFDMExec.cpp: Olaf Flebbe: initialize uninitialized
variable.
2007-01-31 20:46:19 +00:00
frohlich
64b9f93589
Modified Files:
...
groundcache.hxx groundcache.cxx: Make use of the collision
library now available in simgear
2007-01-30 20:13:32 +00:00
mfranz
85c48d4e2e
better message
2007-01-23 23:40:08 +00:00
mfranz
197fd50848
Maik JUSTUS: support waterplane anchor
2007-01-22 23:01:39 +00:00