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