1
0
Fork 0
Commit graph

1052 commits

Author SHA1 Message Date
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
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
ehofman
f220feb684 Sync. with JSBSim (CVS) again 2009-09-09 08:56:31 +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
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
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
ehofman
9a01f8bf73 temporary fix for a division by zero problem for some aircraft 2009-08-23 21:43:10 +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
fredb
4c29f8711b Compile under MSVC9 again 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
fredb
abe00db6aa Compile under MSVC9 again 2009-08-08 08:37:14 +02:00
ehofman
a7976b835d Sync. with JSBSim 2009-08-08 08:37:14 +02:00
fredb
94caa0b891 Fix case typo 2009-07-27 23:52:33 +02:00
fredb
9718338560 Compile under MSVC9 2009-07-27 23:52:33 +02:00
timoore
ca3bd1c309 accomodate changed getDisplayName interface in yasim::Hitch 2009-07-16 12:10:47 +02:00
fredb
219be77f1e Suppress warnings 2009-07-02 08:59:16 +02:00
ehofman
6079ff58fd sync. with JSBSim again 2009-07-02 08:59:15 +02:00
ehofman
1ed6276f16 Don't create a new instance of /fdm/jsbsim upon reset 2009-07-02 08:59:15 +02:00
Tim Moore
b588a92b7f adapt to changes in sg_exception interface
sg_location now uses C strings. Also, change uses of sg_throwable to more
specific exceptions like sg_io_exception.
2009-06-16 11:46:47 +02:00
ehofman
d27097d7b8 don't forget to include the new header for the tardist 2009-06-15 10:29:44 +02:00
ehofman
cb435814c1 latest changes for JSBSim (1.0 prerelease) 2009-06-15 10:29:44 +02:00
frohlich
c56b2f0047 Also take the current BVH nodes transform into account.
Modified Files:
	src/FDM/groundcache.cxx
2009-06-11 16:05:20 +02:00
ehofman
4aff7b279d Upgrade to JSBSim 1.0-prerelease 2009-06-03 00:18:56 +02:00
ehofman
88478f03d0 Sync. with JSBSim CVS 2009-05-18 12:24:17 +02:00
mfranz
095c710c0e leak fixes 2009-05-18 12:24:16 +02:00
andy
2eebd94dac From Vivian: add a tunable launchbar acceleration, to better support some
of the Jets on the catapult.
2009-05-02 00:44:22 +02:00
ehofman
86b34010f3 Sync. w. JSBSim: fix a few unexpected glitches 2009-05-02 00:44:20 +02:00
ehofman
720b6fa3f6 Sync. w. JSBSim CVS 2009-04-15 23:19:30 +02:00
ehofman
1a1b11b96c Fixes:
* line 343: comparison between signed and unsigned integer expressions
* line 441: 'lon', 'lat', 'slr' and 'alt' might be used uninitialized
* line 565: enumeration value 'etUnknown' not handled in switch
2009-04-01 09:23:54 +02:00
ehofman
81b9bb61e5 Sync. w. JSBSIm one more time to fix at least one bug 2009-04-01 09:23:54 +02:00
ehofman
27a7305736 Sync. w. JSBSim cvs 2009-04-01 09:23:54 +02:00
frohlich
183b871b48 Fix a problem with two concurent 'round to multiple of basic simulation
time' code paths. The problem may lead to skipped fdm updates at very high
frame rates. The most visible effect of that was that the aircraft
slips backwards wrt the forward moving carrier.
Remove unused stuff.

Modified Files:
	configure.ac projects/VC7.1/FlightGear.vcproj
	projects/VC8/FlightGearLib.vcproj src/Cockpit/cockpit.cxx
 	src/FDM/Makefile.am src/FDM/flight.cxx src/FDM/flight.hxx
 	src/FDM/SP/Balloon.cxx src/FDM/SP/BalloonSim.cpp
 	src/FDM/SP/BalloonSim.h src/Main/Makefile.am
 	src/Main/fg_init.cxx src/Main/main.cxx src/Time/Makefile.am
Removed Files:
 	src/Time/fg_timer.cxx src/Time/fg_timer.hxx
2009-03-18 08:00:09 +01:00
frohlich
22888ca8a5 Use simgear vector instead of plib vectors.
Modified Files:
	SP/Balloon.cxx SP/BalloonSim.cpp SP/BalloonSim.h
2009-03-18 08:00:09 +01:00
frohlich
a99ea1c7b5 Port over remaining Point3D usage to the more type and unit safe SG* classes.
Remove leftover headers from plib/sg.

Modified Files:
 	src/AIModel/AIBase.cxx
 	src/AIModel/AIFlightPlanCreateCruise.cxx
 	src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
 	src/ATCDCL/AIGAVFRTraffic.cxx src/ATCDCL/AIGAVFRTraffic.hxx
 	src/ATCDCL/AILocalTraffic.cxx src/ATCDCL/AILocalTraffic.hxx
 	src/ATCDCL/AIMgr.cxx src/ATCDCL/ATC.hxx
 	src/ATCDCL/ATCDialog.cxx src/ATCDCL/ATCProjection.cxx
 	src/ATCDCL/ATCProjection.hxx src/ATCDCL/ATCutils.cxx
 	src/ATCDCL/ATCutils.hxx src/ATCDCL/approach.cxx
 	src/ATCDCL/commlist.cxx src/ATCDCL/ground.cxx
	src/ATCDCL/ground.hxx src/ATCDCL/tower.cxx
 	src/ATCDCL/tower.hxx src/Airports/calc_loc.cxx
 	src/Airports/dynamics.cxx src/Airports/groundnetwork.cxx
 	src/Airports/parking.cxx src/Airports/runwayprefs.cxx
 	src/Airports/simple.cxx src/Cockpit/cockpit.cxx
 	src/Cockpit/hud.hxx src/Cockpit/hud_card.cxx
 	src/Cockpit/hud_rwy.cxx src/Environment/environment.cxx
 	src/FDM/UFO.cxx src/FDM/SP/MagicCarpet.cxx src/GUI/dialog.hxx
 	src/Instrumentation/HUD/HUD.hxx
 	src/Instrumentation/HUD/HUD_runway.cxx
 	src/Instrumentation/KLN89/kln89.cxx src/Main/fg_init.cxx
 	src/Main/viewer.cxx src/Main/viewmgr.cxx
 	src/Model/panelnode.cxx src/MultiPlayer/mpmessages.hxx
 	src/Scenery/tilemgr.cxx src/Traffic/SchedFlight.cxx
 	src/Traffic/TrafficMgr.cxx
2009-03-18 08:00:08 +01:00
frohlich
c254bb9c38 Make use of the fast bv intersection tests even for the croaser altitude
queries. This also fixes some issues with the carrier and the croaser
altitude values that is used when no hit is found.
Include some ifdefed out debugging code, that might be interresting.

Modified Files:
	groundcache.hxx groundcache.cxx
2009-03-18 08:00:08 +01:00
frohlich
8f660b97ad Make a simulation reset on the carrier work again.
Modified Files:
	src/FDM/flight.cxx src/FDM/groundcache.cxx
	src/FDM/groundcache.hxx
2009-03-18 08:00:08 +01:00
frohlich
db2d4a7a68 Fix some sim time issues with the locations of the ground cache and the
queries in there.

Modified Files:
 	flight.cxx flight.hxx groundcache.cxx
	groundcache.hxx JSBSim/JSBSim.cxx YASim/YASim.cxx
	YASim/YASim.hxx
2009-03-18 08:00:08 +01:00
frohlich
7cb7ba9f90 Fix cmpiler warning.
Modified Files:
	Rotorpart.cpp Rotorpart.hpp
2009-03-18 08:00:08 +01:00
frohlich
f9f9350b96 Adapt to SGTimeStamp changes.
Modified Files:
	configure.ac src/Cockpit/panel.cxx src/FDM/Makefile.am
	src/FDM/flight.hxx src/FDM/ExternalNet/ExternalNet.hxx
	src/Instrumentation/marker_beacon.cxx src/Main/Makefile.am
	src/Main/fg_init.cxx src/Main/main.cxx
	src/MultiPlayer/multiplaymgr.cxx src/Time/fg_timer.cxx
	utils/GPSsmooth/MIDG_main.cxx utils/GPSsmooth/UGear_main.cxx
	utils/GPSsmooth/gps_main.cxx
2009-03-18 08:00:08 +01:00
frohlich
16211c9440 More robust behaviour when the tilemanager reports 'no scenery'.
Insert log if this happens.

Modified Files:
	flight.cxx groundcache.cxx
2009-03-18 08:00:07 +01:00
frohlich
82b54e7a25 Avoid SGLocation usage.
Modified Files:
	configure.ac src/AIModel/AIBase.cxx
	src/ATCDCL/AILocalTraffic.cxx src/FDM/Makefile.am
	src/FDM/flight.hxx src/FDM/LaRCsim/LaRCsim.cxx
	src/Main/Makefile.am src/Main/fg_init.cxx src/Main/main.cxx
	src/Main/viewer.cxx src/Main/viewer.hxx
	src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
2009-03-11 23:14:34 +01:00
frohlich
2229491ffe Use new function.
Modified Files:
	src/FDM/groundcache.cxx
2009-03-11 23:14:33 +01:00
frohlich
55a978f2a8 Update groundcache api:
Make leaner interfaces to the groundcache.
Remove legacy interfaces.
Update users of them.
Add new query routines for 'nearest point' and 'body with given id'.

Modified Files:
	src/FDM/flight.cxx src/FDM/flight.hxx src/FDM/groundcache.cxx
	src/FDM/groundcache.hxx src/FDM/JSBSim/JSBSim.cxx
	src/FDM/JSBSim/JSBSim.hxx src/FDM/YASim/FGGround.cpp
	src/FDM/YASim/FGGround.hpp src/FDM/YASim/Gear.cpp
	src/FDM/YASim/Gear.hpp src/FDM/YASim/Ground.cpp
	src/FDM/YASim/Ground.hpp src/FDM/YASim/Model.cpp
2009-03-11 23:14:33 +01:00