david
ecddbcbb48
JSBSim update:
...
Removed debugging message about windmilling.
2002-01-03 21:42:44 +00:00
david
117bf73dea
JSBSim update.
2002-01-03 21:04:49 +00:00
david
21931e320c
Update from JSBSim
...
Changed _set_Accels_Pilot_Body to use FGAuxiliary::GetNpilot instead
of FGAuxiliary::GetPilotAccel. It looks like a similar change was
started but never finished, and there are artifacts still lingering.
With this change, the slip/skid ball now works reasonably on the C172
when in motion, but not at rest (that will have to wait for fixes to
the gear code).
2002-01-03 17:42:04 +00:00
curt
1fa4c88d0e
Updates to build system to better support automake-1.5
...
- automake-1.4 sets default values for INCLUDES which we can't
overwrite.
- automake-1.5 renames this to DEFAULT_INCLUDES and leaves INCLUDES
open for the developer to use.
Thus for automake-1.4 we are forced to 'append' to INCLUDES and in
automake-1.5 we can just set the value to whatever we like.
Unfortunately, the behaviors of the two versions are mutually
incompatible.
The solution I am committing now works for both versions but
automake-1.5 generates a lot of spurious warning messages that are
annoying, but not fatal.
2001-12-28 22:29:59 +00:00
david
36f00b1c12
Updated to latest JSBSim, including preliminary support for
...
windmilling propellers.
2001-12-25 00:02:25 +00:00
david
be7cc1058a
Patch from Andy to fix propellers on DC-3.
2001-12-24 20:34:53 +00:00
david
5d8a04291c
Latest JSBSim changes.
2001-12-24 13:54:55 +00:00
david
f0e6716953
Latest YASim changes.
2001-12-24 13:54:03 +00:00
curt
f5c9008823
Added FGScript.{cpp,h}
2001-12-22 17:40:26 +00:00
curt
3f1e9cdc37
Initial revision.
2001-12-22 17:39:21 +00:00
david
aabdd355f0
Modified FGSubsystem::update() to take an int parameter for delta time
...
(i.e. multiloop). Most subsystems currently ignore the parameter, but
eventually, it will allow all subsystems to update by time rather than
by framerate.
2001-12-22 17:33:27 +00:00
david
b9dc522882
Latest JSBSim changes.
2001-12-21 19:20:21 +00:00
david
a4ba46a270
Latest JSBSim changes, mostly to support yaw and roll trim.
2001-12-17 15:36:20 +00:00
david
0395a446f7
Latest JSBSim changes to support yaw and roll trim.
2001-12-17 01:42:39 +00:00
david
7abad40151
Fixed to look for easyxml.hxx in the simgear/xml rather than simgear/.
2001-12-16 22:00:35 +00:00
david
0505201362
Latest JSBSim changes -- EGT fixes.
2001-12-15 13:53:53 +00:00
david
26c6f3f407
Latest JSBSim changes.
2001-12-14 23:57:05 +00:00
david
fbccfab5ff
Latest JSBSim changes.
2001-12-14 03:35:41 +00:00
david
5c3f4e999d
Latest JSBSim changes.
2001-12-13 04:48:34 +00:00
curt
37c2b6002c
Rename FGInterface::_updatePosition() ->
...
FGInterface::_updateGeocentricPosition() for clarity. Also added an
FGInterface::_updateGeodeticPosition() since it is useful.
A few clean ups to native_fdm.cxx and raw_fdm.hxx.
2001-12-12 05:18:46 +00:00
david
4f5d70144a
-Removed .cvsignore from itself, since .cvsignore is now in the CVS
2001-12-12 04:15:23 +00:00
david
d45e1d0ac6
Added config.h, which is autogenerated.
2001-12-11 22:26:51 +00:00
curt
9f73588b31
YASim-0.1.3 updates.
2001-12-10 23:13:54 +00:00
curt
4cc5cee885
David Megginson writes:
...
Here's an unusual patch for FlightGear -- I've created .cvsignore
files for every source directory, to make CVS output more informative.
This is especially nice when using cvs-examine from (X)Emacs to look
for changes.
2001-12-09 05:43:40 +00:00
curt
9d54df6d87
Revert to pre-wind-sticking ground reaction forces until they can be debugged.
2001-12-09 05:14:48 +00:00
curt
e27a88756c
Changes from Norman Vine that 'almost' get 'reset' and 'goto apt' working.
...
Note there is still a problem when doing a 'reset' after doing
a 'goto'. Curt says: I also see that doing two subsequent reset's on a
JSBSim model results in a segfault in a deconstructor deep inside JSBSim.
2001-12-07 22:38:19 +00:00
curt
48260480b3
Updated to YASim-0.1.2
2001-12-07 20:00:59 +00:00
curt
6b2e17493e
Syncing with most recent JSBSim.
2001-12-07 17:10:17 +00:00
curt
d8e7b7b9ff
Changed --aircraft= to --aero= to make way for a high level aircraft definition
...
that will tie together fdm, aero model, 3d model, sounds, etc. into one
top level config file.
2001-12-06 23:10:50 +00:00
curt
f716539390
Change default search directory for YASim aircraft to $FG_ROOT/Aircraft-yasim
...
with corresponding changes to the base tree cvs.
2001-12-06 20:16:03 +00:00
curt
e08d4359cd
Tweaks to fix directory change.
2001-12-06 18:16:22 +00:00
curt
4c422bbe6d
Updated to YASim-0.1.1
2001-12-06 18:13:24 +00:00
curt
a1ab836daf
Sync with latest JSBSim.
2001-12-05 03:10:20 +00:00
curt
238df6975a
Synced with Jon's table parsing fixes.
2001-12-04 13:59:38 +00:00
curt
5513830175
Initial revision.
2001-12-03 22:36:42 +00:00
curt
408742c48c
Syncing with latest JSBSim code with retractable landing gear support.
2001-12-03 22:24:40 +00:00
curt
58aa15ece9
JSBSim sync.
2001-12-03 22:17:03 +00:00
curt
5b84ae51a5
Initial revision of Andy Ross's YASim code. This is (Y)et (A)nother Flight
...
Dynamics (Sim)ulator. Basically, this is a rough, first cut of a "different
take" on FDM design. It's intended to be very simple to use,
producing reasonable results for aircraft of all sorts and sizes,
while maintaining simulation plausibility even in odd flight
conditions like spins and aerobatics. It's at the point now where one
can actually fly the planes around.
2001-12-01 06:22:24 +00:00
curt
bc391fb54e
Sync with latest JSBSim.
2001-12-01 04:03:57 +00:00
curt
e1ac99d5c9
** src/Cockpit/panel.cxx
...
- delete table in destructor
** src/FDM/flight.cxx
- bind engine properties in FGInterface::bind, and publish properties
for all engines rather than just engine 0
** src/Main/fg_props.cxx
- removed all engine properties; now bound in FGInterface::bind
** src/Sounds/fg_fx.cxx
- support multiple engine and cranking sounds
** src/Sounds/fg_fx.hxx
- support multiple engine and cranking sounds
2001-11-30 20:55:14 +00:00
curt
71a562b695
Sync with latest JSBSim changes.
2001-11-30 17:49:37 +00:00
curt
c167c60de9
Don't use turbulence model by default because it is still under development.
2001-11-27 03:32:24 +00:00
curt
ffe498f33f
Initial revision.
2001-11-25 00:32:58 +00:00
curt
ac50500e80
Sync with latest JSBSim CVS.
2001-11-24 22:13:04 +00:00
curt
d19ef5cd99
Synced with latest JSBSim cvs.
2001-11-20 22:34:24 +00:00
curt
6bc2f59572
Sync with latest JSBSim CVS
2001-11-12 16:06:29 +00:00
curt
daabe407aa
Add the "null" flight model which is a better name for what the "external"
...
flightmodel used to be called.
Fixed wind (it was 180 degrees off).
2001-11-12 04:49:06 +00:00
curt
fee8c33799
Sync with latest JSBSim
2001-11-09 04:38:53 +00:00
curt
5fe0f04702
Updates to JSBSim and FDM interface.
2001-11-06 22:33:05 +00:00
curt
dff16b3f8d
Fix from Dave to get JSBSim engine startups working again.
2001-10-30 16:14:51 +00:00
curt
b82a5ad062
Latest updates from the JSBSim project.
2001-10-30 02:51:13 +00:00
curt
7172d31e71
Additional changes including updates to JSBSim to try to get interface and
...
initial trimming to work.
2001-10-29 19:00:24 +00:00
curt
5f4f82dbe7
Additional startup work and error checking.
2001-10-29 18:38:21 +00:00
curt
c74c2f224f
Update JSBSim files to latest JSBSim CVS.
2001-10-29 18:25:19 +00:00
curt
c3ec11ca13
Fix a screwup I introduced with radians to degree conversion in passing data
...
between JSBSim and FlightGear.
2001-10-29 17:28:00 +00:00
curt
c8f21829d4
Attempting to simplify JSBSim initialization.
2001-10-29 04:38:25 +00:00
curt
d41bb00d6e
Fix return type on get_num_engines()
2001-10-28 16:19:54 +00:00
curt
2b056c8452
This set of changes touches a *lot* of files. The main goal here is to
...
fix startup sequence problems where we initialize the FDM before we know
the desired starting altitude.
These changes delay fdm initialization until the local tile has been loaded
and we can do a real intersection and find the true ground elevation.
In order to do this, I depend more on the property manager as glue, rather
than the FGInterface.
There are some glitches still when switching to a new airport or reseting
the sim. I will work on addressing these, but I need to commit the changes
so far to keep in sync with other developers.
2001-10-28 16:16:30 +00:00
curt
a5ee77406f
Emergency memory leak fix. ***Hopefully*** these fixes will get applied
...
to JSBSim so they can become permanent.
2001-10-14 16:13:00 +00:00
curt
3e968179c2
Patches from Dave Luffto pass the magneto and starter control movements
...
through the controls interface and the running and cranking flags through
the engine interface. This has no current effect on LaRCsim (other than
to make the code neater) but is necessary to add engine startup to JSBSim
which is now underway. I've also put in main.cxx which escaped getting
committed in the previous round of changes - adding this will add
the cranking sound to LaRCsim during engine startup.
2001-10-10 17:50:20 +00:00
curt
a264f99310
Updated with additional engine parameters.
2001-10-05 22:44:15 +00:00
curt
74fc1387a9
Begin wiring Dave Luff's engine model into JSBSim.
2001-10-05 20:27:33 +00:00
curt
07f5955f8c
Many engine model tweaks, updates, and enhancements.
2001-10-05 20:27:01 +00:00
curt
ba10c133fc
Syncing with the very latest JSBSim development code.
2001-10-05 20:19:59 +00:00
curt
2297c706e8
Initial revision.
2001-10-05 20:16:16 +00:00
curt
646f93e618
Enclosed is the latest engine model update that supercedes the
...
one I sent yesterday. I have re-zipped all four files so you can
neglect the last lot but only io360.cxx has changed if you've
already committed. It's untested since I can't start the engine until
John has committed his update with separate properties. Should
work fine though.
2001-09-19 22:58:29 +00:00
curt
bb785797b9
b) FDM - ada.cxx, ada.hxx have been updated with the faux, daux and iaux arrays that you created in flight.hxx. In Flight.hxx I use the get_V_north_rel_ground() set of functions. Please do not comment them out. If you dont comment them, you dont have to forcibly return zero vale to get_Vx(),get_Vy() & get_Vz() in cockpit.cxx.
2001-09-19 22:25:22 +00:00
curt
d96dd611b1
Tweaks.
2001-09-14 20:54:46 +00:00
curt
bfc56f9d17
More changes in support of UIUCModel.
2001-09-14 20:47:27 +00:00
curt
19e7e93787
/FDM/UIUCModel/uiuc_aircraft.h
...
Added variables necessary for new abilities.
/FDM/UIUCModel/uiuc_coefficients.cpp
/FDM/UIUCModel/uiuc_coefficients.h
/FDM/UIUCModel/uiuc_coef_lift.cpp
Added CZfa.
/FDM/UIUCModel/uiuc_controlInput.cpp
Added aileron and rudder inputs.
/FDM/UIUCModel/uiuc_engine.cpp
Added throttle input.
/FDM/UIUCModel/uiuc_engine.h
/FDM/UIUCModel/uiuc_map_CL.cpp
/FDM/UIUCModel/uiuc_map_engine.cpp
/FDM/UIUCModel/uiuc_map_init.cpp
/FDM/UIUCModel/uiuc_menu.cpp
/FDM/UIUCModel/uiuc_wrapper.cpp
Added a few new functions.
/FDM/UIUCModel/uiuc_wrapper.h
/FDM/UIUCModel/uiuc_map_controlSurface.cpp
/FDM/UIUCModel/uiuc_initializemaps.cpp
/FDM/UIUCModel/uiuc_initializemaps.h
/FDM/UIUCModel/uiuc_map_keyword.cpp
/FDM/UIUCModel/Makefile.am
/Main/Makefile.am
added files
/FDM/UIUCModel/uiuc_map_fog.cpp
For the visibility ability.
/FDM/UIUCModel/uiuc_map_fog.h
/FDM/UIUCModel/uiuc_fog.cpp
/FDM/UIUCModel/uiuc_fog.h
2001-09-14 20:36:34 +00:00
curt
a691a3a3f6
Changes to better support arbitrary external flight models.
2001-09-04 14:38:15 +00:00
curt
019b6d29fe
Fixed [simple] terrain following altitude hold mode to work again.
2001-08-31 18:07:23 +00:00
curt
59ccf90a60
Misc tweaks.
2001-08-14 19:47:40 +00:00
curt
45904a45eb
Various MSVC tweaks and warning fixes.
2001-07-30 22:53:53 +00:00
curt
5796b95988
Updates.
2001-07-26 17:17:11 +00:00
curt
43cf7b07fd
Tweaks.
2001-07-24 01:02:59 +00:00
curt
d76c92df5e
Initial revision.
2001-07-23 22:17:47 +00:00
curt
a40a60a213
Multi-engine throttle fixes.
2001-07-23 20:32:31 +00:00
curt
97067e62a2
Added recent ground effect modeling changes.
2001-07-23 20:31:59 +00:00
curt
96b88e539f
Move FGControls declaration to globals.hxx
2001-07-22 19:51:16 +00:00
curt
98b90a2a37
- make certain UVW velocities don't overright airspeed-kt at startup
2001-07-16 04:34:46 +00:00
curt
3cca0caced
Use throw to report config file load errors.
2001-07-16 04:14:34 +00:00
curt
f2515f709e
Updated so load/save will work.
2001-07-13 21:45:48 +00:00
curt
26d12e4b69
Synced with latest JSBSim.
2001-07-13 16:41:23 +00:00
curt
a9289994b0
Most recent changes blew up LaRCsim so we are reverting to a previous
...
version.
2001-07-13 05:13:29 +00:00
curt
4e74c02688
Fix a comment.
2001-07-13 05:12:53 +00:00
curt
e4044e469f
We check if the ptr is NULL before deleting it, so set it to NULL after
...
deleting it.
2001-07-13 05:12:30 +00:00
curt
0ff9311948
Just being a tad more careful with setting the ptr to NULL after deleting
...
it.
2001-07-13 05:11:46 +00:00
curt
5daff6705a
- modified set_V_(north|east|down) to use set_Velocities_Local, so
...
that overrides in JSBSim will work (i.e. properties can be set)
- modified set_(u|v|w)Body to use set_Velocities_Wind_Body, so
that overrides in JSBSim will work (i.e. properties can be set)
2001-07-12 23:35:36 +00:00
curt
ac1342de59
Made the following properties archivable:
...
- /position/latitude-deg
- /position/longitude-deg
- /position/altitude-ft
- /orientation/roll-deg
- /orientation/pitch-deg
- /orientation/heading-deg
- /velocities/speed-north-fps
- /velocities/speed-east-fps
- /velocities/speed-down-fps
(TODO: add rotational velocities)
2001-07-12 23:35:18 +00:00
curt
1cdcaef13d
sync with latest JSBSim ...
2001-07-12 17:55:27 +00:00
curt
7b917bbd5c
Removed FGControls.{cpp,h}
2001-07-11 23:53:45 +00:00
curt
96eff71a13
20010710 sync with JSBSim.
2001-07-10 15:56:38 +00:00
curt
72a95d570c
** Properties Renamed
...
- /autopilot/locks/nav1 => /autopilot/locks/nav[0]
- /autopilot/settings/altitude += "-ft"
- /autopilot/settings/climb-rate += "-fpm"
- /autopilot/settings/heading-bug += "-deg"
- /consumables/fuel/tank1/level => /consumables/fuel/tank[0]/level-gal_us
- /consumables/fuel/tank2/level => /consumables/fuel/tank[1]/level-gal_us
- /engines/engine0/cht => /engines/engine[0]/cht-degf
- /engines/engine0/egt => /engines/engine[0]/egt-degf
- /engines/engine0/fuel-flow => /engines/engine[0]/fuel-flow-gph
- /engines/engine0/mp => /engines/engine[0]/mp-osi
- /engines/engine0/rpm => /engines/engine[0]/rpm
- /environment/clouds/altitude += "-ft"
- /environment/magnetic-dip += "-deg"
- /environment/magnetic-varation += "-deg"
- /environment/visibility += "-m"
- /environment/wind-down += "-fps"
- /environment/wind-east += "-fps"
- /environment/wind-north += "-fps"
- /orientation/heading += "-deg"
- /orientation/heading-magnetic += "-deg"
- /orientation/pitch += "-deg"
- /orientation/roll += "-deg"
- /position/altitude += "-ft"
- /position/altitude-agl += "-ft"
- /position/latitude += "-deg"
- /position/longitude += "-deg"
- /radios/adf/frequencies/selected += "-khz"
- /radios/adf/frequencies/standby += "-khz"
- /radios/adf/rotation += "-deg"
- /radios/nav1/* => /radios/nav[0]/*
- /radios/nav2/* => /radios/nav[1]/*
- /radios/nav[*]/dme/distance += "-nm"
- /radios/nav[*]/frequencies/selected += "-mhz"
- /radios/nav[*]/frequencies/standby += "-mhz"
- /radios/nav[*]/radials/actual += "-deg"
- /radios/nav[*]/radials/selected += "-deg"
- /sim/view/goal-offset += "-deg"
- /sim/view/offset += "-deg"
- /steam/adf += "-deg"
- /steam/airspeed += "-kt"
- /steam/altitude += "-ft"
- /steam/gyro-compass += "-deg"
- /steam/gyro-compass-error += "-deg"
- /steam/mag-compass += "-deg"
- /steam/vertical-speed += "-fpm"
- /velocities/airspeed += "-kt"
- /velocities/side-slip += "-rad"
- /velocities/speed-down += "-fps"
- /velocities/speed-east += "-fps"
- /velocities/speed-north += "-fps"
- /velocities/uBody += "-fps"
- /velocities/vBody += "-fps"
- /velocities/wBody += "-fps"
- /velocities/vertical-speed += "-fps"
2001-07-02 22:27:24 +00:00
curt
9ff7217961
Fix a JSBSim airport elevation bug.
2001-06-26 22:16:02 +00:00
curt
d99b8fb2ba
Synced to latest version of JSBSim which [hopefully] includes all of Erik's
...
Irix patches.
2001-06-20 22:29:31 +00:00
curt
c086f3e0e5
Property node patches by David Megginson.
2001-06-12 05:18:43 +00:00
curt
c64e284c51
More property node optimizations.
2001-06-06 19:12:24 +00:00
curt
70cfe7e606
Debugging output.
2001-06-06 17:11:35 +00:00
curt
5cf0bae003
JSBSim tweaks.
2001-06-05 22:12:57 +00:00