]> git.mxchange.org Git - flightgear.git/log
flightgear.git
16 years agopuInitialize returns nothing.
fredb [Tue, 20 May 2008 06:35:37 +0000 (06:35 +0000)]
puInitialize returns nothing.

16 years agoClean up OSG camera setup and interface to plib PUI
timoore [Mon, 19 May 2008 21:21:03 +0000 (21:21 +0000)]
Clean up OSG camera setup and interface to plib PUI

Switch to defining PU_USE_NONE and providing our own callback
functions to pui for "get window" and "get window size." A new
WindowSystemAdapter class assigns ID numbers to windows for the
purpose of identifying them to plib; the window size can be extracted
from the osg::GraphicsContext class in all the different
implementations (osgViewer, glut, sdl).

Implement a GraphicsContextOperation that runs code in a particular
graphics context, perhaps in another thread, and provides an
isFinished() method to test if the operation has finished. This allows
us to initialize plib PUI properly if there are multiple graphics
contexts without using fgMakeCurrent(). fgMakeCurrent() can't work in
multi-threaded OSG configurations.

Eliminate fgMakeCurrent() and all its uses, either by using
GraphicsContextOperation or by seeing that it is not necessary.

Attach the GUI camera as a slave camera.

Don't manipulate the OSG state in the drawImplementation() functions
for SGHUDAndPanelDrawable and SGPuDrawable; it's not needed.

16 years ago- use fireValueChanged() instead of setBoolValue(true) (micro-optimization :-)
mfranz [Sun, 18 May 2008 21:13:25 +0000 (21:13 +0000)]
- use fireValueChanged() instead of setBoolValue(true) (micro-optimization :-)
- comment out rather pointless FDM status message

16 years agonoise--
mfranz [Sun, 18 May 2008 21:05:11 +0000 (21:05 +0000)]
noise--

16 years agofg: move most scenery-related code to simgear
timoore [Wed, 14 May 2008 22:10:07 +0000 (22:10 +0000)]
fg: move most scenery-related code to simgear

From Till Busch.

16 years agoRename FontStatus enum labels because ERROR is already a macro under Windows
fredb [Wed, 14 May 2008 09:51:11 +0000 (09:51 +0000)]
Rename FontStatus enum labels because ERROR is already a macro under Windows

16 years agoUpdate MSVC 7.1 projects. Rename ATC -> ATCDCL
fredb [Wed, 14 May 2008 09:50:05 +0000 (09:50 +0000)]
Update MSVC 7.1 projects. Rename ATC -> ATCDCL

16 years agoMake sure that the compiler knows about the new location of the ATC code.
durk [Mon, 12 May 2008 14:58:43 +0000 (14:58 +0000)]
Make sure that the compiler knows about the new location of the ATC code.

16 years agoMerging David Luff's AI/ATC code with AIModels. Part 1:
durk [Mon, 12 May 2008 10:38:04 +0000 (10:38 +0000)]
Merging David Luff's AI/ATC code with AIModels. Part 1:
  - Move Dave's original code to a new directory (ATCDCL) so we can recycle
    the original ATC directory for generic ATC functions.

16 years agoMerging David Luff's AI/ATC code with AIModels. Part 1:
durk [Mon, 12 May 2008 10:07:41 +0000 (10:07 +0000)]
Merging David Luff's AI/ATC code with AIModels. Part 1:
  - Move Dave's original code to a new directory (ATCDCL) so we can recycle
    the original ATC directory for generic ATC functions.

16 years ago- rename fgcommand "set-mouse" to "set-cursor"
mfranz [Thu, 8 May 2008 10:07:51 +0000 (10:07 +0000)]
- rename fgcommand "set-mouse" to "set-cursor"
- write new {x,y} coords to /devices/status/mice/mouse/{x,y}, so that
  they are immediately available

16 years ago - Add some DEBUG level log messages to help users in getting traffic files
durk [Thu, 8 May 2008 06:11:43 +0000 (06:11 +0000)]
 - Add some DEBUG level log messages to help users in getting traffic files
   to work.
 - Add the possibility to load only proportion of traffic in order to
   reduce some of the workload, in case of a slower computer.

16 years agoadd fgcommand "set-mouse", which sets mouse coordinates and cursor type
mfranz [Wed, 7 May 2008 21:49:35 +0000 (21:49 +0000)]
add fgcommand "set-mouse", which sets mouse coordinates and cursor type

16 years agoAdd a subclass of fntTexFont that defers font loading
timoore [Tue, 6 May 2008 21:31:01 +0000 (21:31 +0000)]
Add a subclass of fntTexFont that defers font loading

Loading is deferred until the first render so that it has a chance of
happening in the proper graphics context.

16 years agoscript to output all frequencies for an airport as well as frequencies of
mfranz [Sun, 4 May 2008 21:33:16 +0000 (21:33 +0000)]
script to output all frequencies for an airport as well as frequencies of
nearby radio navigation facilities and their distance/bearing to the airport

16 years agoread runway start offset from /sim/airport/runways/start-offset-m
mfranz [Fri, 2 May 2008 21:31:30 +0000 (21:31 +0000)]
read runway start offset from /sim/airport/runways/start-offset-m
(Defaults to 5.0, which was hard-coded before. /sim/airport/runways/
does already exist and contains the runway search parameters.)

16 years agoadd unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth}
mfranz [Thu, 1 May 2008 21:14:02 +0000 (21:14 +0000)]
add unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth}

16 years agocleanup after last commit
mfranz [Tue, 29 Apr 2008 15:35:09 +0000 (15:35 +0000)]
cleanup after last commit

16 years ago- improve comments (contents and spelling)
mfranz [Tue, 29 Apr 2008 14:49:44 +0000 (14:49 +0000)]
- improve comments (contents and spelling)
- fix bad indentation (mixed 2/4 spaces or tabs/spaces)

16 years agoCsaba "Jester" HALASZ:
mfranz [Mon, 28 Apr 2008 11:26:02 +0000 (11:26 +0000)]
Csaba "Jester" HALASZ:

Attached patch adds support for multiple FIXes with the same name.
Applies to both branches.
New functionality is in query_and_offset, which now returns the FIX
closest to the passed in location.
Updated route manager to take advantage of this.

Otherwise, query functions return an unspecified member from the set
of identically named FIXes. (This was previously the one occurring
last in the database file, but I don't think anybody counted on that.)

16 years agoremove sgVec3Slider.hxx use
mfranz [Sun, 27 Apr 2008 18:07:38 +0000 (18:07 +0000)]
remove sgVec3Slider.hxx use

16 years agoremove obsolete constants for hardcoded pui dialogs (after sgVec3Slider removal)
mfranz [Sun, 27 Apr 2008 18:00:21 +0000 (18:00 +0000)]
remove obsolete constants for hardcoded pui dialogs (after sgVec3Slider removal)

16 years agomove sgVec3Slider dialog to the Attic/:
mfranz [Sun, 27 Apr 2008 17:56:05 +0000 (17:56 +0000)]
move sgVec3Slider dialog to the Attic/:
- it's unused
- it's hardcoded (we already got rid of all other hardcoded dialogs)
- we'll have to consider switching to osgWidget, which is planned to
  get imported into osg. It's unlikely that we add *more* of PLIB
  in the meantime.

16 years agomove constants here so that the file is complete in the Attic/
mfranz [Sun, 27 Apr 2008 17:50:44 +0000 (17:50 +0000)]
move constants here so that the file is complete in the Attic/

16 years agoremove sgVec3Slider.cxx sgVec3Slider.hxx altogether. Files will follow.
mfranz [Sun, 27 Apr 2008 17:44:14 +0000 (17:44 +0000)]
remove sgVec3Slider.cxx sgVec3Slider.hxx altogether. Files will follow.

16 years agocomment out currently unused symbols (gui_msg_OK etc.)
mfranz [Sun, 27 Apr 2008 16:18:23 +0000 (16:18 +0000)]
comment out currently unused symbols (gui_msg_OK etc.)

16 years agocomment out unused widget. Needs to be reviewed and either actually
mfranz [Sun, 27 Apr 2008 16:16:45 +0000 (16:16 +0000)]
comment out unused widget. Needs to be reviewed and either actually
used or removed

16 years agoUpdate MSVC 7.1 projects
fredb [Sun, 27 Apr 2008 16:15:20 +0000 (16:15 +0000)]
Update MSVC 7.1 projects

16 years agoNicolas: make screenshot target dir configurable (idea and first draft)
mfranz [Sat, 26 Apr 2008 22:34:46 +0000 (22:34 +0000)]
Nicolas: make screenshot target dir configurable  (idea and first draft)
         --prop:sim/paths/screenshot-dir=/tmp

16 years agorestore NumPad translation
mfranz [Sat, 26 Apr 2008 17:01:08 +0000 (17:01 +0000)]
restore NumPad translation

16 years ago- export modifier bitmask
mfranz [Sat, 26 Apr 2008 13:25:08 +0000 (13:25 +0000)]
- export modifier bitmask
- consider negative keys returned from an event handler as invalid
  (was 0 before)
- warning--

16 years agodocument <mod-hyper>
mfranz [Fri, 25 Apr 2008 23:40:05 +0000 (23:40 +0000)]
document <mod-hyper>

16 years agoadd hyper support
mfranz [Fri, 25 Apr 2008 23:21:47 +0000 (23:21 +0000)]
add hyper support

16 years agoafter OSG 2.4 upgrade, remove modifier workaround and comment out numpad
mfranz [Fri, 25 Apr 2008 22:45:43 +0000 (22:45 +0000)]
after OSG 2.4 upgrade, remove modifier workaround and comment out numpad
workaround (we have yet to verify if the latter is really obsolete)

16 years agomake --enable-osgviewer the default
timoore [Fri, 25 Apr 2008 21:29:03 +0000 (21:29 +0000)]
make --enable-osgviewer the default

From Till Busch

16 years agoTill BUSCH:
mfranz [Fri, 25 Apr 2008 08:43:59 +0000 (08:43 +0000)]
Till BUSCH:

"the [...] patch (for fg) increases the time before invisible geometry (i.e.
geometry not inside the view frustrum) gets deleted. default was 10 seconds
which i am increasing to 2 minutes."

16 years ago- make online stats mode directly settable, rather than just in steps
mfranz [Mon, 21 Apr 2008 14:18:30 +0000 (14:18 +0000)]
- make online stats mode directly settable, rather than just in steps
- cosmetics: put each argument list member in a separate line, so that
  one doesn't have to break lines again whenever one inserts a new
  member

16 years ago- let the OSG on-screen-statistics function no longer be hard-coded
mfranz [Sun, 20 Apr 2008 18:24:52 +0000 (18:24 +0000)]
- let the OSG on-screen-statistics function no longer be hard-coded
  on the '*'-key, but allow to cycle it by setting
  /sim/rendering/on-screen-statistics to "true"
- move that function to the Debug menu (no more key assigned!)
- add "print-statistics" menu entry

16 years agoSmall patch that prevents displaying a "local echo" of one's own aircraft
durk [Sat, 19 Apr 2008 10:42:06 +0000 (10:42 +0000)]
Small patch that prevents displaying a "local echo" of one's own aircraft
under some circumstances. The history of this patch is somewhat unclear,
but was brought to my attention by Martin Spott, while preparing for the
Lelystad FSWeekend show. See also my posting on FlightGear devel, on
November 22, 2007 "(Multiplayer Local Echo Patch)", but wasn't committed
then because I/we assumed that had been superseded by other code
modifications. The local echo problem still persists, however, albeit
under specific circumstances. The current patch reportedly prevents this
from happening.

16 years agoTorsten Dreyer: Check whether a valid graphic context has been created
durk [Sat, 19 Apr 2008 10:28:07 +0000 (10:28 +0000)]
Torsten Dreyer: Check whether a valid graphic context has been created
before using a camera.

16 years agoUpdate MSVC 7.1 projects
fredb [Mon, 14 Apr 2008 06:28:31 +0000 (06:28 +0000)]
Update MSVC 7.1 projects

16 years agoFixes for compiling with gcc 4.3
timoore [Sun, 13 Apr 2008 21:12:36 +0000 (21:12 +0000)]
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.

16 years agoSyd Adams: Enable bank limit controls with the autopilot.
durk [Sun, 6 Apr 2008 06:49:36 +0000 (06:49 +0000)]
Syd Adams: Enable bank limit controls with the autopilot.

16 years agoAdd a telnet command parser to UGear so we can feed commands remotely to
curt [Fri, 4 Apr 2008 22:34:19 +0000 (22:34 +0000)]
Add a telnet command parser to UGear so we can feed commands remotely to
be passed up to the UAS.

16 years agoAdded autopilot target values to communications link.
curt [Fri, 4 Apr 2008 06:15:05 +0000 (06:15 +0000)]
Added autopilot target values to communications link.
Pass autopilot target values to LFSGlass display so they can be properly
displayed.
Fix a gps status display bug.

16 years agoSome tweaks and finetuning made possible by the multihreaded modelloader
durk [Wed, 2 Apr 2008 19:01:48 +0000 (19:01 +0000)]
Some tweaks and finetuning made possible by the multihreaded modelloader
and the pushback code:
 - Traffic manager starts modelload requests immediately upon program
   loading
 - Only create legs 1 (push back) or five (cruise) of AI traffic.
 - AIAircraft's rather obsessive behavior to circle around a waypoint is
   largely resolved
 - More realistic ground steering for AI aircraft.

16 years agoForward port from CVS/PLIB: Use a more memory allocation efficient replay
durk [Wed, 2 Apr 2008 18:55:39 +0000 (18:55 +0000)]
Forward port from CVS/PLIB: Use a more memory allocation efficient replay
system.

16 years agoSeveral updates to implement a sequenced/verified/check summed serial
curt [Sun, 30 Mar 2008 05:34:40 +0000 (05:34 +0000)]
Several updates to implement a sequenced/verified/check summed serial
command uplink on the same port we are receiving the telemetry data.

16 years ago- UGsmooth now can send opengc packets directly rather than piping through
curt [Fri, 28 Mar 2008 22:55:42 +0000 (22:55 +0000)]
- UGsmooth now can send opengc packets directly rather than piping through
  a running copy of FlightGear (no need to have FlightGear running on weaker
  powered groundstations.)

- Add a test for "valid" gps data.

- Pretty print gps coordinates in debug output.

16 years agoautopilot filter deque fixes
timoore [Mon, 24 Mar 2008 22:46:47 +0000 (22:46 +0000)]
autopilot filter deque fixes

Thanks to Vivian Meazza for debugging this. The output deque for
FGDigitalFilter was not being kept long enough for the
doubleExponential filter. Reads from output[1] could cause a crash.

16 years agoUpdate MSVC 7.1 projects
fredb [Sat, 22 Mar 2008 12:19:07 +0000 (12:19 +0000)]
Update MSVC 7.1 projects

16 years agoWin32 fix
fredb [Sat, 22 Mar 2008 12:18:53 +0000 (12:18 +0000)]
Win32 fix

16 years agomodel paging patch from Till Busch
timoore [Sat, 22 Mar 2008 09:31:06 +0000 (09:31 +0000)]
model paging patch from Till Busch

From Till:
i started the project at the end of february with a simple idea: move all
3d-model loading to the DatabasePager-thread. my first attempts looked
promising, though they were a little too optimistic (or naive?). the patch
has evolved a lot since.

currently it does the following things:
1. revive SGModelLib, move functions for xml-model-loading there

2. replace all calls to sgLoad3dModel with calls to either
SGModelLib::loadModel() or SGModelLib::loadPagedModel()
almost all models will be loaded by the DatabasePager. the few exceptions are:
your own plane, shared models in scenery, random objects, AIBallistic models.

3. simplify mode-loading functions (avoid passing around fg_root)

4. avoid supurious MatrixTransform nodes in loaded models

5. fix some memory leaks

16 years agoFor the agRadar, initialize property nodes with defaults.
timoore [Sat, 22 Mar 2008 09:19:21 +0000 (09:19 +0000)]
For the agRadar, initialize property nodes with defaults.

Introduce a convenience member function in wxRadarBg for creating an
SGPropertyNode and initializing it in one step. Use this in
agRadar. This eliminates buggy behavior when the necessary radar
properties aren't defined.

16 years agoSmall cleanup of terrain radar
timoore [Mon, 17 Mar 2008 08:47:31 +0000 (08:47 +0000)]
Small cleanup of terrain radar

16 years agoground radar from Vivian Mezza
timoore [Mon, 17 Mar 2008 08:47:16 +0000 (08:47 +0000)]
ground radar from Vivian Mezza

16 years agoremove debug message :-)
mfranz [Sat, 15 Mar 2008 12:52:22 +0000 (12:52 +0000)]
remove debug message  :-)

16 years agoadd --version option that works something like this:
mfranz [Sat, 15 Mar 2008 12:10:44 +0000 (12:10 +0000)]
add --version option that works something like this:

  $ fgfs --version
  2.0pre-20080314
  FG_ROOT=/usr/local/share/FlightGear
  FG_HOME=/home/foo/.fgfs

... assuming that VERSION in config.h is "2.0pre-20080314". Which it isn't.
Instead it's "1.0.0" since yesterday, and was "0.9.10" before that. This
has yet to be discussed, and I'll add the option to options.xml later.

16 years agoWoohoo! FlightGear 1.0.0 released!
mfranz [Fri, 14 Mar 2008 19:49:31 +0000 (19:49 +0000)]
Woohoo! FlightGear 1.0.0 released!

16 years agoTatsuhiro NISHIOKA: "enables osgviewer version of FlightGear to show
mfranz [Wed, 12 Mar 2008 12:38:54 +0000 (12:38 +0000)]
Tatsuhiro NISHIOKA: "enables osgviewer version of FlightGear to show
                     window frame, menubar, and Docks properly" (Mac OSX)

16 years agoFrom Till Busch: use install -p if possible
timoore [Tue, 11 Mar 2008 22:53:30 +0000 (22:53 +0000)]
From Till Busch: use install -p if possible

16 years ago- require plib 1.8.5
mfranz [Tue, 11 Mar 2008 15:58:57 +0000 (15:58 +0000)]
- require plib 1.8.5
- switch puList to puaList
- drop src/GUI/puList.[ch]xx
- remove #ifdefs, FIXMEs, and workarounds that have accumulated over time
- warnings--

16 years agoremove redundant --airport-id option (OK'ed by Curt, no longer used by fgrun)
mfranz [Mon, 10 Mar 2008 17:08:37 +0000 (17:08 +0000)]
remove redundant --airport-id option (OK'ed by Curt, no longer used by fgrun)

16 years agofinal cosmetics (because I had posted the web-cvs link to the blender list/forum :-)
mfranz [Mon, 10 Mar 2008 16:31:02 +0000 (16:31 +0000)]
final cosmetics (because I had posted the web-cvs link to the blender list/forum :-)

16 years agoUpdate MSVC 7.1 projects
fredb [Sun, 9 Mar 2008 22:15:41 +0000 (22:15 +0000)]
Update MSVC 7.1 projects

16 years agoUpdate MSVC 7.1 projects
fredb [Sun, 9 Mar 2008 22:09:31 +0000 (22:09 +0000)]
Update MSVC 7.1 projects

16 years agoWin32 fix
fredb [Sun, 9 Mar 2008 22:09:17 +0000 (22:09 +0000)]
Win32 fix

16 years ago- GPL license block
mfranz [Sat, 8 Mar 2008 19:02:08 +0000 (19:02 +0000)]
- GPL license block
- new id separator
- drop debug message
- simplification & cleanup

16 years ago- improve Blender registry handling
mfranz [Fri, 7 Mar 2008 17:09:11 +0000 (17:09 +0000)]
- improve Blender registry handling
- save each mesh in a different color

16 years agominor progress bar fix
mfranz [Thu, 6 Mar 2008 10:53:05 +0000 (10:53 +0000)]
minor progress bar fix

16 years agouv_export_svg.py: don't group single-chunk objects; move id in front
mfranz [Thu, 6 Mar 2008 10:48:28 +0000 (10:48 +0000)]
uv_export_svg.py: don't group single-chunk objects; move id in front
uv_import_svg.py: reverse matrix multiplication; cosmetics

16 years ago... and do no longer assume that the separator is only one character ;-)
mfranz [Wed, 5 Mar 2008 18:21:45 +0000 (18:21 +0000)]
... and do no longer assume that the separator is only one character  ;-)

16 years agouse SVG compliant id separator: _____ instead of #
mfranz [Wed, 5 Mar 2008 18:16:09 +0000 (18:16 +0000)]
use SVG compliant id separator: _____ instead of #

16 years agoUV<->SVG exporter and importer: The importer loads an SVG file that was
mfranz [Wed, 5 Mar 2008 12:30:01 +0000 (12:30 +0000)]
UV<->SVG exporter and importer: The importer loads an SVG file that was
saved before by the exporter. SVG editors like Inkscape can be used to
move the UV outlines around, to rotate and scale them.

16 years agocleanup of precipitation contribution
timoore [Tue, 4 Mar 2008 09:03:54 +0000 (09:03 +0000)]
cleanup of precipitation contribution

Reindent to Stroustrup style.

Make FGPrecipitationMgr an SGSubsystem and remove all references to it
in main.cxx and renderer.cxx.

Use SGGeod::makeZUpFrame instead of a private function in
tileentry.cxx. Rewrite that function, WorldCoordinate, to use
makeZUpFrame too.

16 years agoprecipitation effects from Nicolas Vivien
timoore [Tue, 4 Mar 2008 09:02:24 +0000 (09:02 +0000)]
precipitation effects from Nicolas Vivien

16 years ago- make it faster by reloading rather than erasing the image every time
mfranz [Mon, 3 Mar 2008 18:06:57 +0000 (18:06 +0000)]
- make it faster by reloading rather than erasing the image every time
  (this also fixes a bug that wouldn't update a changed texture in 3D view)
- better progress bar

16 years agominor improvements (show busy cursor, etc.)
mfranz [Mon, 3 Mar 2008 11:57:45 +0000 (11:57 +0000)]
minor improvements (show busy cursor, etc.)

16 years agoBlender 2.46 box packer script. Allows to unwrap objects individually, and
mfranz [Sun, 2 Mar 2008 20:14:13 +0000 (20:14 +0000)]
Blender 2.46 box packer script. Allows to unwrap objects individually, and
to pack them onto one square texture. Read instructions in the file.

16 years agoOlaf Flebbe: Micro update to the MSVC8 Project files.
durk [Sun, 2 Mar 2008 16:15:24 +0000 (16:15 +0000)]
Olaf Flebbe: Micro update to the MSVC8 Project files.

16 years agoadd /sim/model/livery/file for internal use in the aircraft.livery class;
mfranz [Fri, 29 Feb 2008 16:13:02 +0000 (16:13 +0000)]
add /sim/model/livery/file for internal use in the aircraft.livery class;
This is meant to contain the basename of a livery file in the livery dir.

16 years agoUpdate MSVC 7.1 projects
fredb [Fri, 29 Feb 2008 07:27:09 +0000 (07:27 +0000)]
Update MSVC 7.1 projects

16 years agoCsaba Halász :
fredb [Thu, 28 Feb 2008 21:39:25 +0000 (21:39 +0000)]
Csaba Halász :

Makes it possible to start at a parking location defined in the AI/Airports/*/parking.xml files, using the parkpos command line option.
Note that the name to pass is the concatenation of the "name" and "number" fields in the xml.

16 years agoUpdate MSVC 7.1 projects
fredb [Thu, 28 Feb 2008 21:27:09 +0000 (21:27 +0000)]
Update MSVC 7.1 projects

16 years agoChange update order to event manager -> view manager -> io manager.
mfranz [Mon, 25 Feb 2008 12:59:24 +0000 (12:59 +0000)]
Change update order to event manager -> view manager -> io manager.
This allows Nasal managed views thanks to the proximity of the
event manager (which executes Nasal loops). The io manager must
come after the view manager to avoid jitter in network replay.

16 years agoupgrade important log messages
mfranz [Sat, 23 Feb 2008 23:58:19 +0000 (23:58 +0000)]
upgrade important log messages

16 years agorevert revisions 1.246 to 1.248. This fixes the jitter for chase
mfranz [Sat, 23 Feb 2008 09:45:56 +0000 (09:45 +0000)]
revert revisions 1.246 to 1.248. This fixes the jitter for chase
view in network replay, and re-introduces jitter in some (rare)
cases of Nasal managed views.

16 years agoCleaned up comments to tile entry code
timoore [Thu, 21 Feb 2008 22:50:05 +0000 (22:50 +0000)]
Cleaned up comments to tile entry code

16 years agoTill Busch:
curt [Thu, 21 Feb 2008 21:36:20 +0000 (21:36 +0000)]
Till Busch:

As discussed with Tim on irc: Here is a quick fix for the memory-hungry tile
manager. Due to bugs in FGNewCache, old tiles were never deleted.

I left the timestamp-updates in the cull-traversal. but imho things work
just as well when timestamps are updated in FGNewCache::insert_tile() and
FGNewCache::get_tile()

16 years agoLee ELLIOT: documentation for autopilot PID & PI controllers
mfranz [Sun, 17 Feb 2008 21:54:53 +0000 (21:54 +0000)]
Lee ELLIOT: documentation for autopilot PID & PI controllers

16 years agoRoy Vegard OVESEN & Lee ELLIOT:
mfranz [Sun, 17 Feb 2008 09:44:03 +0000 (09:44 +0000)]
Roy Vegard OVESEN & Lee ELLIOT:

Lee has added two new filter types, "gain" and "reciprocal". These filters can
read their gain factor from a property. In the process we also added minimum
and maximum output clamps that are applicable to all filters.

I added the ability to configure adaptive controllers i.e. the controller gain
can be tied to a property, so that it can be changed at runtime. This
requires a change in the xml structure of the autopilot configuration file:

<Kp>
  <prop>/autopilot/KAP140/settings/ROL/Kp</prop>
  <value>0.10</value>
</Kp>        <!-- proportional gain -->

The old method <Kp>0.10</Kp> still works so as to not break all existing
autopilots, but it will output a warning to use the new method.

16 years agoCsaba HALASZ: implement conditional (e.g. seasonal) texture loading at startup
mfranz [Fri, 15 Feb 2008 17:54:23 +0000 (17:54 +0000)]
Csaba HALASZ: implement conditional (e.g. seasonal) texture loading at startup

16 years agoWingman code from Vivian Meazza
timoore [Fri, 15 Feb 2008 11:06:27 +0000 (11:06 +0000)]
Wingman code from Vivian Meazza

16 years agoCall particle initialization code in simgear namespace
timoore [Fri, 15 Feb 2008 06:45:38 +0000 (06:45 +0000)]
Call particle initialization code in simgear namespace

16 years agoparticles from Tiago_G
timoore [Fri, 15 Feb 2008 06:45:19 +0000 (06:45 +0000)]
particles from Tiago_G

16 years agoToggle tree effect on /sim/rendering/random-vegetation property
timoore [Thu, 7 Feb 2008 23:02:51 +0000 (23:02 +0000)]
Toggle tree effect on /sim/rendering/random-vegetation property

16 years agoThe Concorde Maintainer:
mfranz [Thu, 7 Feb 2008 20:41:00 +0000 (20:41 +0000)]
The Concorde Maintainer:

- replace hardcoded name "inst-vertical-speed-indicator" by the one from
  the instrumentation config

mf: some indentation fixes, remove redundant block

16 years agoany wind < 1kt is "calm", not just 0.0
mfranz [Thu, 7 Feb 2008 16:42:32 +0000 (16:42 +0000)]
any wind < 1kt is "calm", not just 0.0

16 years agocygwin related fixes, and some minor future release related maintenance
durk [Mon, 4 Feb 2008 20:03:52 +0000 (20:03 +0000)]
cygwin related fixes, and some minor future release related maintenance
work.

16 years agoRoy Ovesen:
curt [Mon, 4 Feb 2008 20:01:20 +0000 (20:01 +0000)]
Roy Ovesen:

Please find attatched a new version of xmlauto.cxx.

Remove the call to build() in reinit(). This prevents build() from being
called twice when Reload Autopilot is selected from the Debug menu.

I've also added the ability to define an enabled property for the filters.
It's used like the PID controllers. If there is no enabled tag then the
filter defaults to enabled so that nothing should get broken by this change.

This ability can be used to create a filter between the output of a PID
controller and the property that it controls (a control surface). By putting
a noise spike filter between the output of a controller and the control
surface that it controls, we can simulate the limited movement rate that is
inherent in autopilot servos.