]> git.mxchange.org Git - flightgear.git/log
flightgear.git
15 years agogui/embedded nasal: don't rely on the nasal system being available
mfranz [Fri, 27 Mar 2009 20:04:42 +0000 (20:04 +0000)]
gui/embedded nasal: don't rely on the nasal system being available

15 years agoFixes:
ehofman [Fri, 27 Mar 2009 11:44:33 +0000 (11:44 +0000)]
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

15 years agoCsaba HALASZ: fix uninitialized _aspect_ratio member in Main/viewer.cxx
mfranz [Fri, 27 Mar 2009 09:19:41 +0000 (09:19 +0000)]
Csaba HALASZ: fix uninitialized _aspect_ratio member in Main/viewer.cxx

15 years agoSync. w. JSBSIm one more time to fix at least one bug
ehofman [Thu, 26 Mar 2009 09:25:17 +0000 (09:25 +0000)]
Sync. w. JSBSIm one more time to fix at least one bug

15 years agoSync. w. JSBSim cvs
ehofman [Wed, 25 Mar 2009 10:00:46 +0000 (10:00 +0000)]
Sync. w. JSBSim cvs

15 years agoFGNasalModelData: use model XML path as module source
mfranz [Mon, 23 Mar 2009 18:40:46 +0000 (18:40 +0000)]
FGNasalModelData: use model XML path as module source

15 years agodegrade MP chat messages from SG_ALERT fo SG_WARN
mfranz [Mon, 23 Mar 2009 15:23:50 +0000 (15:23 +0000)]
degrade MP chat messages from SG_ALERT fo SG_WARN
(they should not drown real error messages)

15 years agowxradar: display transponder-id by default, fall back to callsign
mfranz [Sun, 22 Mar 2009 18:39:47 +0000 (18:39 +0000)]
wxradar: display transponder-id by default, fall back to callsign

15 years agoassign a unique module name to ai/mp embedded nasal (again): __model%u
mfranz [Sun, 22 Mar 2009 17:04:02 +0000 (17:04 +0000)]
assign a unique module name to ai/mp embedded nasal (again): __model%u

15 years agoAllow the AI Traffic controller to set a transponder code. This code is
durk [Sun, 22 Mar 2009 13:49:51 +0000 (13:49 +0000)]
Allow the AI Traffic controller to set a transponder code. This code is
used in ATC chatter, and writted to the property, so it can -in principle-
be picked up by the radar.

15 years agodon't keep 'nasal-dir-initialized' node after removing
mfranz [Thu, 19 Mar 2009 15:08:49 +0000 (15:08 +0000)]
don't keep 'nasal-dir-initialized' node after removing

15 years agoSupport old compilers
fredb [Thu, 19 Mar 2009 13:17:46 +0000 (13:17 +0000)]
Support old compilers

15 years ago- created a class for InputValues
torsten [Thu, 19 Mar 2009 10:30:26 +0000 (10:30 +0000)]
- created a class for InputValues
- moved common code into the base class FGXMLAutoComponent
- adapted the documentation

15 years agoadded documentation for global elements and adapted to sourcecode modifications
torsten [Thu, 19 Mar 2009 10:05:47 +0000 (10:05 +0000)]
added documentation for global elements and adapted to sourcecode modifications

15 years agogeodinfo: make vector origin altitude configurable
mfranz [Wed, 18 Mar 2009 18:24:50 +0000 (18:24 +0000)]
geodinfo: make vector origin altitude configurable

15 years agoRemove unused switch node.
frohlich [Wed, 18 Mar 2009 07:10:49 +0000 (07:10 +0000)]
Remove unused switch node.

Modified Files:
src/Model/acmodel.cxx src/Model/acmodel.hxx

15 years agowxradar: read aircraft data from the property tree, rather than AIBase
mfranz [Tue, 17 Mar 2009 22:01:34 +0000 (22:01 +0000)]
wxradar: read aircraft data from the property tree, rather than AIBase

This allows to display objects that are in /ai/models/, but not managed
by the AI manager, and it follows fgfs' design principle that subsystems
should communicate over the property tree (if possible). This is a tad
slower, but the radar is only updated once every second.

15 years agoUpdate with changes in simgear.
frohlich [Tue, 17 Mar 2009 12:26:27 +0000 (12:26 +0000)]
Update with changes in simgear.

Modified Files:
  src/Main/renderer.cxx src/Main/main.cxx

15 years agoFix a problem with two concurent 'round to multiple of basic simulation
frohlich [Tue, 17 Mar 2009 06:51:48 +0000 (06:51 +0000)]
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

15 years agoRemove unused stuff.
frohlich [Tue, 17 Mar 2009 05:33:31 +0000 (05:33 +0000)]
Remove unused stuff.

Modified Files:
  src/Main/main.cxx src/Main/main.hxx

15 years agoUse simgear vector instead of plib vectors.
frohlich [Tue, 17 Mar 2009 05:32:39 +0000 (05:32 +0000)]
Use simgear vector instead of plib vectors.

Modified Files:
SP/Balloon.cxx SP/BalloonSim.cpp SP/BalloonSim.h

15 years agonasal syntax: handle bracket error correctly
mfranz [Mon, 16 Mar 2009 23:27:27 +0000 (23:27 +0000)]
nasal syntax: handle bracket error correctly

15 years agoPort over remaining Point3D usage to the more type and unit safe SG* classes.
frohlich [Mon, 16 Mar 2009 16:37:39 +0000 (16:37 +0000)]
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

15 years agoRemove unused variables.
frohlich [Mon, 16 Mar 2009 11:57:35 +0000 (11:57 +0000)]
Remove unused variables.

Modified Files:
src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
src/ATCDCL/AIGAVFRTraffic.hxx src/ATCDCL/AILocalTraffic.cxx

15 years agoRemove unsed code.
frohlich [Mon, 16 Mar 2009 11:43:19 +0000 (11:43 +0000)]
Remove unsed code.

Modified Files:
ATCProjection.cxx ATCProjection.hxx

15 years agoMake use of the fast bv intersection tests even for the croaser altitude
frohlich [Mon, 16 Mar 2009 09:47:59 +0000 (09:47 +0000)]
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

15 years agoRoy V. OVESEN: add support for heading bug
mfranz [Sun, 15 Mar 2009 19:18:14 +0000 (19:18 +0000)]
Roy V. OVESEN: add support for heading bug

15 years agoMake a simulation reset on the carrier work again.
frohlich [Sun, 15 Mar 2009 18:18:21 +0000 (18:18 +0000)]
Make a simulation reset on the carrier work again.

Modified Files:
src/FDM/flight.cxx src/FDM/groundcache.cxx
src/FDM/groundcache.hxx

15 years agoremove redundant checks (and one indentation level)
mfranz [Sun, 15 Mar 2009 11:45:39 +0000 (11:45 +0000)]
remove redundant checks (and one indentation level)

15 years agoFix some sim time issues with the locations of the ground cache and the
frohlich [Sun, 15 Mar 2009 11:26:31 +0000 (11:26 +0000)]
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

15 years agoThe simtime alread contains the increment. So do not add that twice.
frohlich [Sun, 15 Mar 2009 11:05:28 +0000 (11:05 +0000)]
The simtime alread contains the increment. So do not add that twice.

Modified Files:
src/AIModel/AIShip.cxx

15 years agoMerge branch 'master' of ../.fg.osg
mfranz [Sun, 15 Mar 2009 10:44:37 +0000 (10:44 +0000)]
Merge branch 'master' of ../.fg.osg

15 years agoSet the reference time the transform is meant for.
frohlich [Sat, 14 Mar 2009 12:27:12 +0000 (12:27 +0000)]
Set the reference time the transform is meant for.

Modified Files:
src/AIModel/AICarrier.cxx src/AIModel/AIShip.cxx

15 years agoAdd documentation of new <condition> element
torsten [Fri, 13 Mar 2009 22:35:37 +0000 (22:35 +0000)]
Add documentation of new <condition> element

15 years agoFix cmpiler warning.
frohlich [Thu, 12 Mar 2009 19:37:32 +0000 (19:37 +0000)]
Fix cmpiler warning.

Modified Files:
Rotorpart.cpp Rotorpart.hpp

15 years agoAdapt to SGTimeStamp changes.
frohlich [Thu, 12 Mar 2009 18:34:57 +0000 (18:34 +0000)]
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

15 years agoUpdate MSVC 7.1 projects
fredb [Thu, 12 Mar 2009 07:50:36 +0000 (07:50 +0000)]
Update MSVC 7.1 projects

15 years agoWin32 fix
fredb [Thu, 12 Mar 2009 07:50:01 +0000 (07:50 +0000)]
Win32 fix

15 years agoImproove FGTileMgr::scenery_available for small ranges.
frohlich [Thu, 12 Mar 2009 06:21:35 +0000 (06:21 +0000)]
Improove FGTileMgr::scenery_available for small ranges.
Use SGGeod in FGTileMgr, FGScenery apis.

Modified Files:
src/AIModel/AIBallistic.cxx src/Main/main.cxx
src/Scenery/scenery.cxx src/Scenery/scenery.hxx
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx
src/Scripting/NasalSys.cxx

15 years agoMore robust behaviour when the tilemanager reports 'no scenery'.
frohlich [Thu, 12 Mar 2009 06:18:53 +0000 (06:18 +0000)]
More robust behaviour when the tilemanager reports 'no scenery'.
Insert log if this happens.

Modified Files:
flight.cxx groundcache.cxx

15 years agoadd <label-offset> param for adjusting number labels in scales
mfranz [Thu, 12 Mar 2009 00:05:45 +0000 (00:05 +0000)]
add <label-offset> param for adjusting number labels in scales

15 years agorestore consistent coding-style; remove obsolete code; fix typo
mfranz [Wed, 11 Mar 2009 21:21:24 +0000 (21:21 +0000)]
restore consistent coding-style; remove obsolete code; fix typo

15 years agoallow to change/reload HUD by setting path in /sim/path/path[1]
mfranz [Wed, 11 Mar 2009 19:10:12 +0000 (19:10 +0000)]
allow to change/reload HUD by setting path in /sim/path/path[1]

15 years agoAvoid casts if there is a method for the apropriate job.
frohlich [Wed, 11 Mar 2009 05:36:29 +0000 (05:36 +0000)]
Avoid casts if there is a method for the apropriate job.

Modified Files:
src/Main/main.cxx

15 years agoMake hardcoded error values configurable.
torsten [Mon, 9 Mar 2009 22:25:51 +0000 (22:25 +0000)]
Make hardcoded error values configurable.
This patch introduces the optional elements
<config>
   <spin-thresh>0.8</spin-thresh>
   <max-roll-error-deg>40</max-roll-error-deg>
   <max-pitch-error-deg>12</max-pitch-error-deg>
</config>
under the corresponding /instrumentation/attitude-indicator element.
The values are initialized to the shown default values if omitted.
These are the values of the former hardcoded constants.

15 years agoA set of additions related to allow the use of SID and STAR procedures.
durk [Sun, 8 Mar 2009 17:14:05 +0000 (17:14 +0000)]
A set of additions related to allow the use of SID and STAR procedures.
The current code still has some rough edges, in particular memory still
needs to be deallocated where possible, and the actual use of the code
needs more testing. This code has been running without noticable problems,
so I think it's ready for some wider exposure. Detailed changes include:
- Finetuning of the SID/STAR data concept.
- Preloading of all SIDs, from one xml file.
- ATC determines which SID should be used and echoes this over the com1 or
  com2 radio.

15 years agoFix problem introduced with yesterdays viewer change.
frohlich [Sun, 8 Mar 2009 10:09:28 +0000 (10:09 +0000)]
Fix problem introduced with yesterdays viewer change.

Modified Files:
src/Main/viewer.cxx

15 years agoSilence valgrind error.
frohlich [Sat, 7 Mar 2009 21:48:26 +0000 (21:48 +0000)]
Silence valgrind error.

Modified Files:
src/Main/viewer.cxx

15 years agodon't call change-only listeners at first trigger event
mfranz [Sat, 7 Mar 2009 17:57:20 +0000 (17:57 +0000)]
don't call change-only listeners at first trigger event

15 years agoAvoid SGLocation usage.
frohlich [Sat, 7 Mar 2009 15:21:13 +0000 (15:21 +0000)]
Avoid SGLocation usage.
Again, the previous commit did not complete for some reason.

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

15 years agoAvoid SGLocation usage.
frohlich [Sat, 7 Mar 2009 15:02:20 +0000 (15:02 +0000)]
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

15 years agoompute some vectors from the current view when they are used.
frohlich [Sat, 7 Mar 2009 13:32:41 +0000 (13:32 +0000)]
ompute some vectors from the current view when they are used.
Simplifies the update hell in the viewer a bit.

Modified Files:
src/Main/renderer.cxx src/Main/viewer.cxx src/Main/viewer.hxx
src/Time/tmp.cxx

15 years agoRemove SGLocation based api.
frohlich [Sat, 7 Mar 2009 11:47:54 +0000 (11:47 +0000)]
Remove SGLocation based api.

Modified Files:
src/Scenery/tilemgr.cxx src/Scenery/tilemgr.hxx

15 years agoUse the positon from the model placment.
frohlich [Sat, 7 Mar 2009 11:44:39 +0000 (11:44 +0000)]
Use the positon from the model placment.
Use SGGeod based apis in the scenery/tilemanager.
Remove ground query that is no longer used.

Modified Files:
src/Main/main.cxx

15 years agoUse the position from the model placement.
frohlich [Sat, 7 Mar 2009 11:43:25 +0000 (11:43 +0000)]
Use the position from the model placement.

Modified Files:
src/Sound/fg_fx.cxx

15 years agoUse api's with objects instead of scalars.
frohlich [Sat, 7 Mar 2009 11:37:29 +0000 (11:37 +0000)]
Use api's with objects instead of scalars.

Modified Files:
src/AIModel/AIAircraft.cxx

15 years agoUse an AIEntity variable for the ground elevation instead of SGLocation.
frohlich [Sat, 7 Mar 2009 11:29:32 +0000 (11:29 +0000)]
Use an AIEntity variable for the ground elevation instead of SGLocation.

Modified Files:
AIEntity.cxx AIEntity.hxx AILocalTraffic.cxx

15 years agoUse new function.
frohlich [Sat, 7 Mar 2009 11:26:00 +0000 (11:26 +0000)]
Use new function.

Modified Files:
src/FDM/groundcache.cxx

15 years agoAdd scenery functions working on SGGeod in place of SGLocation.
frohlich [Sat, 7 Mar 2009 11:24:47 +0000 (11:24 +0000)]
Add scenery functions working on SGGeod in place of SGLocation.

15 years agoUpdate groundcache api:
frohlich [Fri, 6 Mar 2009 16:37:12 +0000 (16:37 +0000)]
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

15 years agoSet the motion transform id in the collection step.
frohlich [Thu, 5 Mar 2009 06:07:08 +0000 (06:07 +0000)]
Set the motion transform id in the collection step.

Modified Files:
src/FDM/groundcache.cxx

15 years agoCasaba Halász: Fix some const warnings.
frohlich [Tue, 3 Mar 2009 07:58:20 +0000 (07:58 +0000)]
Casaba Halász: Fix some const warnings.

Modified Files:
src/FDM/YASim/Rotor.cpp src/FDM/YASim/Rotor.hpp
src/GUI/fonts.cxx

15 years agoRemove the StaticLeaf visitor methods.
frohlich [Tue, 3 Mar 2009 07:54:39 +0000 (07:54 +0000)]
Remove the StaticLeaf visitor methods.

Modified Files:
src/FDM/groundcache.cxx

15 years agoTerraSync/SVN build fix by Martin Spott
fredb [Sun, 1 Mar 2009 17:20:09 +0000 (17:20 +0000)]
TerraSync/SVN build fix by Martin Spott

15 years agoMove the velocity computations for aimodels into AIShip.
frohlich [Sun, 1 Mar 2009 16:40:32 +0000 (16:40 +0000)]
Move the velocity computations for aimodels into AIShip.
You should now be able to step on any ship with your model.

Modified Files:
src/AIModel/AICarrier.cxx src/AIModel/AIShip.cxx
src/AIModel/AIShip.hxx

15 years agoMake initial use of the boundingvolumes for the ground cache.
frohlich [Sun, 1 Mar 2009 16:22:04 +0000 (16:22 +0000)]
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

15 years agoZap compiler warning.
frohlich [Sun, 1 Mar 2009 16:09:45 +0000 (16:09 +0000)]
Zap compiler warning.

Modified Files:
src/Main/options.cxx

15 years agoLink with the bvh library. It is used from simgear up t o now.
frohlich [Sun, 1 Mar 2009 16:08:30 +0000 (16:08 +0000)]
Link with the bvh library. It is used from simgear up t o now.

Modified Files:
src/Main/Makefile.am

15 years agoRemove stray debug statement.
durk [Sun, 1 Mar 2009 10:18:37 +0000 (10:18 +0000)]
Remove stray debug statement.

15 years agoSome initial code for AI Aircraft making use of SIDs. Current code is a bit
durk [Sun, 1 Mar 2009 09:58:12 +0000 (09:58 +0000)]
Some initial code for AI Aircraft making use of SIDs. Current code is a bit
experimental: Only one SID per runway is supported, and the waypoints are
read from file at every request, which is not very efficient. The current
code is only executed when FlightGear is configured to use airport dynamics
data from the scenery repository, instead of the base package. Since the
latter is still the default, I believe that this will provide enough safe-
guarding to commit SID/STAR support in small, incremental steps.
Next step will be buffering and support for multiple departure routes per
runway.

15 years agoAdded support for <condition> elements under <enable> elements.
torsten [Sat, 28 Feb 2009 20:19:39 +0000 (20:19 +0000)]
Added support for <condition> elements under <enable> elements.
The old <prop> and <value> elements are still supported but ignored, if a <condition> element exists.
Also for the DigitalFilter

15 years agoAdded support for <condition> elements under <enable> elements.
torsten [Sat, 28 Feb 2009 16:16:13 +0000 (16:16 +0000)]
Added support for <condition> elements under <enable> elements.
The old <prop> and <value> elements are still supported but ignored, if a <condition> element exists.

15 years agoRead remote gps messages back and drive panel CDI and to/from flag.
curt [Sat, 28 Feb 2009 16:08:59 +0000 (16:08 +0000)]
Read remote gps messages back and drive panel CDI and to/from flag.

15 years agoUse that static material function instead of the member one.
frohlich [Fri, 27 Feb 2009 19:31:33 +0000 (19:31 +0000)]
Use that static material function instead of the member one.

Modified Files:
  src/FDM/groundcache.cxx src/Scenery/scenery.cxx

15 years ago"min throttle" tunable from Maik:
andy [Tue, 24 Feb 2009 00:16:03 +0000 (00:16 +0000)]
"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.

15 years agoPatch from Maik: as helijah found out, there was a bug within the rotor simulation.
andy [Mon, 23 Feb 2009 20:17:56 +0000 (20:17 +0000)]
Patch from Maik: as helijah found out, there was a bug within the rotor simulation.

15 years agoUpdate MSVC 7.1 projects - Generate all Release binaries in the same directory
fredb [Sun, 22 Feb 2009 12:03:32 +0000 (12:03 +0000)]
Update MSVC 7.1 projects - Generate all Release binaries in the same directory

15 years agoCompile with VS2005 in debug mode
fredb [Sun, 22 Feb 2009 08:23:11 +0000 (08:23 +0000)]
Compile with VS2005 in debug mode

15 years agoadd /sim/time/real/ (local machine time) analog to /sim/time/utc/
mfranz [Sun, 15 Feb 2009 22:49:51 +0000 (22:49 +0000)]
add /sim/time/real/ (local machine time) analog to /sim/time/utc/

localtime() is once commented out in simgear/io/sg_binobj.cxx and
a warning says the it can screw up sim time. This is only because
localtime() isn't thread-safe (and its thread-safe cousin localtime_r()
isn't portable). As long as all timing is done in the main thread
(which is the case) there should be no problem. Otherwise we'd have
to implement a simple mutex locked wrapper.

15 years agonasal.vim: add getAliasTarget clearValue, values, io.flush
mfranz [Sun, 15 Feb 2009 18:03:20 +0000 (18:03 +0000)]
nasal.vim: add getAliasTarget clearValue, values, io.flush

15 years agoOne step further toward better integration of AI and ATC systems.
durk [Sun, 15 Feb 2009 15:29:56 +0000 (15:29 +0000)]
One step further toward better integration of AI and ATC systems.
 * Changed the runway XX. ATC message to actually report the real
   designated departure runway
 * In case of multiple active runways, select the one with a heading that is
   closest to the direction of the ultimate departure destination / lines up
   with the arrival path.

15 years agoAdding a few more names, as they spring to mind.
durk [Sun, 15 Feb 2009 15:23:43 +0000 (15:23 +0000)]
Adding a few more names, as they spring to mind.

15 years agoMerge branch 'topic/gcintersect' into next
Tim Moore [Sun, 15 Feb 2009 23:16:06 +0000 (00:16 +0100)]
Merge branch 'topic/gcintersect' into next

15 years agoFix off-by-one problem in new ground intersection code
Tim Moore [Sun, 15 Feb 2009 00:55:21 +0000 (01:55 +0100)]
Fix off-by-one problem in new ground intersection code

15 years agoMerge branch 'maint' into next
Tim Moore [Fri, 13 Feb 2009 13:19:42 +0000 (14:19 +0100)]
Merge branch 'maint' into next

15 years agoMerge branch 'topic/tape' into maint
Tim Moore [Fri, 13 Feb 2009 12:44:31 +0000 (13:44 +0100)]
Merge branch 'topic/tape' into maint

15 years agomerging in topic/makej
Tim Moore [Fri, 13 Feb 2009 11:36:06 +0000 (12:36 +0100)]
merging in topic/makej

Merge branch 'topic/makej' into next

* topic/makej:
  get make -j to work

15 years agoget make -j to work
Tim Moore [Fri, 13 Feb 2009 11:33:23 +0000 (12:33 +0100)]
get make -j to work

15 years agoMerge branch 'topic/gcintersect' into next
Tim Moore [Fri, 13 Feb 2009 09:18:42 +0000 (10:18 +0100)]
Merge branch 'topic/gcintersect' into next

15 years agomake resize margin smaller
mfranz [Tue, 10 Feb 2009 22:14:13 +0000 (22:14 +0000)]
make resize margin smaller

15 years agocall puaLargeInput's checkKey() if active (fixes ctrl-c)
mfranz [Tue, 10 Feb 2009 09:46:30 +0000 (09:46 +0000)]
call puaLargeInput's checkKey() if active (fixes ctrl-c)

15 years agoUse OSG polytope intersector to fill ground cache
Tim Moore [Thu, 12 Feb 2009 14:43:05 +0000 (15:43 +0100)]
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.

15 years agoImprove TerraSync suggested by Alex Perry
fredb [Sun, 8 Feb 2009 09:43:47 +0000 (09:43 +0000)]
Improve TerraSync suggested by Alex Perry

Keep already scheduled tiles for later on relocation

15 years ago- pass return values in set{,Bool,Int,Double}Value() and setprop()
mfranz [Sat, 7 Feb 2009 23:52:12 +0000 (23:52 +0000)]
- pass return values in set{,Bool,Int,Double}Value() and setprop()
- make some char* "const" to silence warnings

This removes the warning that (rarely) occurred if one wrote to a
write protected property with setprop(). While this was a useful
hint, it needlessly floods the terminal if one protected a property
intentionally. (Consider to add an SG_DEBUG warning instead.) It's
now the caller's job to check for the result if it actually cares.

15 years agoSome further work toward adding more AI/ATC messages. This patch provides
durk [Sat, 7 Feb 2009 17:17:07 +0000 (17:17 +0000)]
Some further work toward adding more AI/ATC messages. This patch provides
some prepratory work for assigning different operations to different
frequencies. It also returns a stub for returning an ATIS message ID.
Currently, the ATIC information ID is hardcoded to "Sierra", which needs
to be replaced by a dynamic ID once ATIS services are fully integrated
with the new trafficcontrol code. At least, it's marginally more realistic
then the previous information XX. :-).

15 years agoImprove TerraSync
fredb [Sat, 7 Feb 2009 16:10:48 +0000 (16:10 +0000)]
Improve TerraSync

Really fetch tiles while there are no incoming messages.
Implement an aging mechanism to not try the same tile within a period of 10mn

15 years agoRemove things I didn't do
fredb [Sat, 7 Feb 2009 13:07:28 +0000 (13:07 +0000)]
Remove things I didn't do

15 years agoUpdate to the contributor list
fredb [Sat, 7 Feb 2009 13:02:46 +0000 (13:02 +0000)]
Update to the contributor list

15 years agoUpdated list of contributions / added names of contributers.
durk [Sat, 7 Feb 2009 09:31:08 +0000 (09:31 +0000)]
Updated list of contributions / added names of contributers.

15 years agoBUGFIX: If/else bracket misplacement.
durk [Sat, 7 Feb 2009 09:25:28 +0000 (09:25 +0000)]
BUGFIX: If/else bracket misplacement.