]> git.mxchange.org Git - flightgear.git/log
flightgear.git
12 years ago#510: Fix disappearing AIShips.
ThorstenB [Fri, 9 Dec 2011 16:06:19 +0000 (17:06 +0100)]
#510: Fix disappearing AIShips.
Untangle AI reinit and init methods. Some code in init hooks expects to be
called once only. Derived classes should not redirect their reinit to init,
even if this seems fine for the methods of the derived class itself. This
also triggers the init methods of all base classes, which may not expect
multiple calls to their init methods (or to "init" on "reinit").

12 years agoFix memory leak with FGAIModelData.
ThorstenB [Fri, 9 Dec 2011 16:03:14 +0000 (17:03 +0100)]
Fix memory leak with FGAIModelData.
Be lazy and use ref pointers - to remove memory automatically.

12 years agoRemove interface from Nasal
adrian [Fri, 9 Dec 2011 13:44:22 +0000 (15:44 +0200)]
Remove interface from Nasal

12 years agoitm.cpp: don't polute the global namespace
adrian [Thu, 8 Dec 2011 18:16:11 +0000 (20:16 +0200)]
itm.cpp: don't polute the global namespace

12 years agoClean up my code in NasalSys.cxx
adrian [Thu, 8 Dec 2011 17:48:31 +0000 (19:48 +0200)]
Clean up my code in NasalSys.cxx

12 years agoMerge branch 'next' into navaids-radio
adrian [Thu, 8 Dec 2011 13:29:22 +0000 (15:29 +0200)]
Merge branch 'next' into navaids-radio

12 years agoDocument the code better;
adrian [Thu, 8 Dec 2011 13:05:27 +0000 (15:05 +0200)]
Document the code better;

Add some checks in the clutter function;
Use string pointers to get materials;

12 years agoAdd fgpanel to the mix
Frederic Bouvier [Wed, 7 Dec 2011 07:43:54 +0000 (08:43 +0100)]
Add fgpanel to the mix

12 years agoSend geod from Nasal, properly document the code, take some parameters from properties
adrian [Tue, 6 Dec 2011 21:00:50 +0000 (23:00 +0200)]
Send geod from Nasal, properly document the code, take some parameters from properties

12 years agoExpose a radio function (receiveBeacon) to the Nasal subsystem
adrian [Tue, 6 Dec 2011 19:03:40 +0000 (21:03 +0200)]
Expose a radio function (receiveBeacon) to the Nasal subsystem

12 years agoMerge commit 'refs/merge-requests/18' of git://gitorious.org/fg/flightgear into merge...
Durk Talsma [Tue, 6 Dec 2011 17:07:48 +0000 (18:07 +0100)]
Merge commit 'refs/merge-requests/18' of git://gitorious.org/fg/flightgear into merge-requests/18

12 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Curtis L. Olson [Tue, 6 Dec 2011 15:49:27 +0000 (09:49 -0600)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

12 years agoCommit changes so I can switch branches without conflicts.
Curtis L. Olson [Tue, 6 Dec 2011 15:47:56 +0000 (09:47 -0600)]
Commit changes so I can switch branches without conflicts.

12 years agoLower receiver sensitivity, modify loading of antenna pattern
adrian [Tue, 6 Dec 2011 09:38:48 +0000 (11:38 +0200)]
Lower receiver sensitivity, modify loading of antenna pattern

12 years agoMerge branch 'attenuation' into navaids-radio
adrian [Tue, 6 Dec 2011 08:27:03 +0000 (10:27 +0200)]
Merge branch 'attenuation' into navaids-radio

Conflicts:
src/Radio/radio.cxx

12 years agoMerge branch 'next' into attenuation
adrian [Tue, 6 Dec 2011 00:15:04 +0000 (02:15 +0200)]
Merge branch 'next' into attenuation

Conflicts:
src/Radio/radio.cxx

12 years agoFix error caused by assert statement in itm.cpp
adrian [Tue, 6 Dec 2011 00:04:21 +0000 (02:04 +0200)]
Fix error caused by assert statement in itm.cpp

12 years agorename function
adrian [Mon, 5 Dec 2011 20:42:40 +0000 (22:42 +0200)]
rename function

12 years agoFix a typo in the radio propagation code
Torsten Dreyer [Mon, 5 Dec 2011 20:40:01 +0000 (21:40 +0100)]
Fix a typo in the radio propagation code

And for sentimental reason: keep the VC90 project file working

12 years agoMake antenna radiation calculations selectable via switch
adrian [Mon, 5 Dec 2011 09:43:21 +0000 (11:43 +0200)]
Make antenna radiation calculations selectable via switch

12 years agoWindows fixes/work-arounds
Vivian Meazza [Mon, 5 Dec 2011 08:55:33 +0000 (08:55 +0000)]
Windows fixes/work-arounds

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
12 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Durk Talsma [Sun, 4 Dec 2011 21:53:58 +0000 (22:53 +0100)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

12 years agoPerformance improvement
ThorstenB [Sun, 4 Dec 2011 20:43:21 +0000 (21:43 +0100)]
Performance improvement
Avoid frequently creating/dropping an identical sound sample, when the
nav radio signal is flickering. Always keep most recent sound when signal
is lost (only stop it/turn volume off).

12 years agoMerge branch 'attenuation' into navaids-radio
adrian [Sun, 4 Dec 2011 20:16:45 +0000 (22:16 +0200)]
Merge branch 'attenuation' into navaids-radio

12 years agoHopefully fix windows compilation error
adrian [Sun, 4 Dec 2011 20:08:56 +0000 (22:08 +0200)]
Hopefully fix windows compilation error

12 years agoRead antenna radiation pattern from file
adrian [Sun, 4 Dec 2011 19:59:38 +0000 (21:59 +0200)]
Read antenna radiation pattern from file

12 years agoMake parameter "roll-factor" settable in scenario files
Vivian Meazza [Mon, 21 Nov 2011 09:09:12 +0000 (09:09 +0000)]
Make parameter "roll-factor" settable in scenario files

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
12 years agoMerge branch 'next' of gitorious.org:fg/flightgear into next
Durk Talsma [Sun, 4 Dec 2011 17:35:13 +0000 (18:35 +0100)]
Merge branch 'next' of gitorious.org:fg/flightgear into next

12 years agoMerge branch 'merge-requests/1555' into next
Durk Talsma [Sun, 4 Dec 2011 16:33:04 +0000 (17:33 +0100)]
Merge branch 'merge-requests/1555' into next

12 years agoMake sure not to disable the entire ATC system when handling special cases.
Durk Talsma [Sun, 4 Dec 2011 16:31:02 +0000 (17:31 +0100)]
Make sure not to disable the entire ATC system when handling special cases.

12 years agosound: fix sound-buffer-in-use issue
ThorstenB [Sun, 4 Dec 2011 16:18:02 +0000 (17:18 +0100)]
sound: fix sound-buffer-in-use issue
FGFX objects must be dereferenced early enough, and sound manager must be
removed late enough - otherwise openal complains about resources being
still in use when tryin to remove buffers.
Also: do not create FGFX objects for AI/MP aircraft, when AI sound is
disabled.

12 years agocmake: add support for Torsten's UDev EventInput
ThorstenB [Sun, 4 Dec 2011 13:37:25 +0000 (14:37 +0100)]
cmake: add support for Torsten's UDev EventInput
(Hopefully meeting Torsten's quality expectations)

12 years agoMerge branch 'next' into attenuation
adrian [Sun, 4 Dec 2011 09:30:16 +0000 (11:30 +0200)]
Merge branch 'next' into attenuation

12 years agoLoad pattern file from FG_HOME/antennas
adrian [Sun, 4 Dec 2011 09:28:59 +0000 (11:28 +0200)]
Load pattern file from FG_HOME/antennas

12 years agoevent input for Linux: substitude dbus+hal by udev
Torsten Dreyer [Sat, 3 Dec 2011 21:59:20 +0000 (22:59 +0100)]
event input for Linux: substitude dbus+hal by udev

12 years agoGet rid of annoying printf messages in itm.cpp
adrian [Sat, 3 Dec 2011 18:08:50 +0000 (20:08 +0200)]
Get rid of annoying printf messages in itm.cpp

12 years agoSet ATC ground tx-power and antenna gain to smaller values
adrian [Sat, 3 Dec 2011 16:55:11 +0000 (18:55 +0200)]
Set ATC ground tx-power and antenna gain to smaller values

12 years agoRename conversion functions to be more explicit
adrian [Sat, 3 Dec 2011 16:48:24 +0000 (18:48 +0200)]
Rename conversion functions to be more explicit

...and set some more properties: tx-erp, etc.

12 years agomake the sound of the base model work again. this also gives an indication where...
Erik Hofman [Sat, 3 Dec 2011 14:29:04 +0000 (15:29 +0100)]
make the sound of the base model work again. this also gives an indication where things start to go wrong.

12 years agoWrite a few more properties:
adrian [Sat, 3 Dec 2011 14:00:14 +0000 (16:00 +0200)]
Write a few more properties:

signal-dbm - signal strength in dBm
field-strength-uV - signal strength in microvolts

12 years agoProperly construct a string from another string and an integer, use a relative path...
Erik Hofman [Sat, 3 Dec 2011 13:40:48 +0000 (14:40 +0100)]
Properly construct a string from another string and an integer, use a relative path for sound construction, allow enable/disable aimodel sounds using /sim/sound/aimodels/enabled

12 years agoAdd some functions to convert between various units
adrian [Fri, 2 Dec 2011 17:13:53 +0000 (19:13 +0200)]
Add some functions to convert between various units

12 years agoSet a couple of properties using the node /sim/radio
adrian [Fri, 2 Dec 2011 15:38:52 +0000 (17:38 +0200)]
Set a couple of properties using the node /sim/radio

Also use correct the polarization calculations, using
Simgear constants for degree to radians conversions

12 years agoAdd function to calculate polarization loss
adrian [Thu, 1 Dec 2011 20:46:46 +0000 (22:46 +0200)]
Add function to calculate polarization loss

This function is reliable only for vertical polarization

12 years agoMerge branch 'attenuation' into navaids-radio
adrian [Thu, 1 Dec 2011 12:34:40 +0000 (14:34 +0200)]
Merge branch 'attenuation' into navaids-radio

12 years agoMake polarization a configurable parameter
adrian [Thu, 1 Dec 2011 12:33:25 +0000 (14:33 +0200)]
Make polarization a configurable parameter

12 years agoStart implementing antenna properties
adrian [Thu, 1 Dec 2011 12:28:20 +0000 (14:28 +0200)]
Start implementing antenna properties

12 years agoMerge branch 'radio-clutter' into attenuation
adrian [Thu, 1 Dec 2011 11:37:12 +0000 (13:37 +0200)]
Merge branch 'radio-clutter' into attenuation

12 years agoMerge branch 'next' into attenuation
adrian [Thu, 1 Dec 2011 11:36:53 +0000 (13:36 +0200)]
Merge branch 'next' into attenuation

12 years agoRemove hard-coded values wherever possible;
adrian [Thu, 1 Dec 2011 11:34:34 +0000 (13:34 +0200)]
Remove hard-coded values wherever possible;

Make most of the station parameters configurable outside
the attenuation functions with the ultimate goal of exposing
them via the property tree

12 years agoFix build with CMake 2.6.4
ThorstenB [Wed, 30 Nov 2011 22:33:03 +0000 (23:33 +0100)]
Fix build with CMake 2.6.4
Set search path early enough, so fallback module for CMake 2.6 is found.

12 years agoFix shared library build for metar executable
ThorstenB [Wed, 30 Nov 2011 20:45:22 +0000 (21:45 +0100)]
Fix shared library build for metar executable

12 years agoRefactor SimGear detection to correctly select debug vs release builds in shared...
James Turner [Wed, 30 Nov 2011 19:19:49 +0000 (19:19 +0000)]
Refactor SimGear detection to correctly select debug vs release builds in shared library mode.

12 years agoSet correct installation folder for documentation
ThorstenB [Wed, 30 Nov 2011 18:56:44 +0000 (19:56 +0100)]
Set correct installation folder for documentation
Also fix build when ".gitignore" is absent (i.e. building a
cleaned tar-ball).

12 years agoremove debugging code
adrian [Tue, 29 Nov 2011 14:38:02 +0000 (16:38 +0200)]
remove debugging code

12 years agoClutter loss doesn't depend anymore on sampling distance
adrian [Tue, 29 Nov 2011 14:15:06 +0000 (16:15 +0200)]
Clutter loss doesn't depend anymore on sampling distance

Also, fix double horizon diffraction, the second horizon
is relative to the first horizon, not to the beginning of
the path.

12 years agoAdd separate fields for receiver and transmitter:
adrian [Tue, 29 Nov 2011 13:00:49 +0000 (15:00 +0200)]
Add separate fields for receiver and transmitter:

- antenna gain and cable losses will be set individualy
- Fix the calculations of the number of elevation points
- Improve clutter loss calculations to yield sane results

12 years agoFixes for linking with shared SimGear.
James Turner [Tue, 29 Nov 2011 10:24:33 +0000 (10:24 +0000)]
Fixes for linking with shared SimGear.

12 years agoRe-structure the SimGear detection, to bypass shared-library checks by default (and...
James Turner [Mon, 28 Nov 2011 18:23:34 +0000 (18:23 +0000)]
Re-structure the SimGear detection, to bypass shared-library checks by default (and unless explicitly requested). Should fix the confusion in the GUI tools about the type of SIMGEAR_LIBRARIES (i.e it should be a list, not a path).

12 years agoforgot about constructor and destructor
adrian [Mon, 28 Nov 2011 08:49:05 +0000 (10:49 +0200)]
forgot about constructor and destructor

12 years agorename FGRadio to FGRadioTransmission, add RX and TX antenna heights
adrian [Mon, 28 Nov 2011 08:38:58 +0000 (10:38 +0200)]
rename FGRadio to FGRadioTransmission, add RX and TX antenna heights

12 years agoremove unnecessary function
adrian [Mon, 28 Nov 2011 06:36:56 +0000 (08:36 +0200)]
remove unnecessary function

12 years agomake clutter loss calculations switchable via property
adrian [Mon, 28 Nov 2011 06:31:04 +0000 (08:31 +0200)]
make clutter loss calculations switchable via property

12 years agoDecouple material index from other variables
adrian [Mon, 28 Nov 2011 05:37:37 +0000 (07:37 +0200)]
Decouple material index from other variables

12 years agoProperly remove FGFX classes when not needed anymore
Erik Hofman [Sun, 27 Nov 2011 14:10:44 +0000 (15:10 +0100)]
Properly remove FGFX classes when not needed anymore

12 years agoMove some code from the header file to the source file.
Erik Hofman [Sun, 27 Nov 2011 12:48:04 +0000 (13:48 +0100)]
Move some code from the header file to the source file.

12 years agoMerge branch 'next' of git://gitorious.org/fg/flightgear into next
Erik Hofman [Sun, 27 Nov 2011 12:47:18 +0000 (13:47 +0100)]
Merge branch 'next' of git://gitorious.org/fg/flightgear into next

12 years agoAdd clutter loss for single horizon diffraction
adrian [Sun, 27 Nov 2011 10:53:30 +0000 (12:53 +0200)]
Add clutter loss for single horizon diffraction

12 years agofix a typo
Erik Hofman [Sun, 27 Nov 2011 09:52:28 +0000 (10:52 +0100)]
fix a typo

12 years agoUse landcover to determine ground clutter path loss for LOS
adrian [Sat, 26 Nov 2011 16:51:33 +0000 (18:51 +0200)]
Use landcover to determine ground clutter path loss for LOS
modified:   src/Radio/itm.cpp
modified:   src/Radio/radio.cxx
modified:   src/Radio/radio.hxx

12 years agocmake: fix sequence of (static) library dependencies
ThorstenB [Sat, 26 Nov 2011 15:41:35 +0000 (16:41 +0100)]
cmake: fix sequence of (static) library dependencies
sgmath depends on sgprops, sgprops depends on sgstructure.
Also, core libraries are enough for fgadmin.

12 years agodocument transceiver specs
adrian [Sat, 26 Nov 2011 07:03:29 +0000 (09:03 +0200)]
document transceiver specs

12 years agocmake: lib vs lib64 handling for simgear
ThorstenB [Fri, 25 Nov 2011 14:31:22 +0000 (15:31 +0100)]
cmake: lib vs lib64 handling for simgear
simgear now always uses CMAKE_INSTALL_LIBDIR for lib installation, so
also use that when searching.

12 years agoInitials sound support for AI models.
Erik Hofman [Fri, 25 Nov 2011 12:39:10 +0000 (13:39 +0100)]
Initials sound support for AI models.

12 years agoSync. With JSBSim CVS
Erik Hofman [Fri, 25 Nov 2011 12:38:08 +0000 (13:38 +0100)]
Sync. With JSBSim CVS

12 years agoAdd missing file... (yikes!)
ThorstenB [Fri, 25 Nov 2011 11:14:57 +0000 (12:14 +0100)]
Add missing file... (yikes!)
What's wrong with "rename" these days...

12 years agocmake: rename script to avoid downgrading
ThorstenB [Fri, 25 Nov 2011 11:12:38 +0000 (12:12 +0100)]
cmake: rename script to avoid downgrading
Use local copy of cmake script only for older cmake versions

12 years agoRemove 3d clouds reliance on /sim/rendering/shader-effects
Stuart Buchanan [Thu, 24 Nov 2011 22:28:10 +0000 (22:28 +0000)]
Remove 3d clouds reliance on /sim/rendering/shader-effects

12 years agocleanup
adrian [Thu, 24 Nov 2011 16:29:17 +0000 (18:29 +0200)]
cleanup

12 years agocheck if tuned on frequency
adrian [Thu, 24 Nov 2011 16:17:13 +0000 (18:17 +0200)]
check if tuned on frequency

12 years agoadd function for navaid reception
adrian [Thu, 24 Nov 2011 15:40:37 +0000 (17:40 +0200)]
add function for navaid reception

12 years agorefactor receiveATC(), implement simple LOS routine, set comm1-signal property
adrian [Thu, 24 Nov 2011 15:25:49 +0000 (17:25 +0200)]
refactor receiveATC(), implement simple LOS routine, set comm1-signal property

12 years agolog to SG_BULK
adrian [Thu, 24 Nov 2011 13:37:33 +0000 (15:37 +0200)]
log to SG_BULK

12 years agoMerge branch 'next' into comm-subsystem
adrian [Thu, 24 Nov 2011 08:20:34 +0000 (10:20 +0200)]
Merge branch 'next' into comm-subsystem

12 years agocleanup
adrian [Thu, 24 Nov 2011 08:19:07 +0000 (10:19 +0200)]
cleanup

12 years agoprepare for festival volume
adrian [Thu, 24 Nov 2011 08:00:28 +0000 (10:00 +0200)]
prepare for festival volume

12 years agocleanup
adrian [Thu, 24 Nov 2011 04:39:54 +0000 (06:39 +0200)]
cleanup

12 years agocall from FGATCController::transmit()
adrian [Thu, 24 Nov 2011 04:20:59 +0000 (06:20 +0200)]
call from FGATCController::transmit()

12 years agoremove old files from VCproj
adrian [Thu, 24 Nov 2011 03:40:10 +0000 (05:40 +0200)]
remove old files from VCproj

12 years agoadd to CMake
adrian [Thu, 24 Nov 2011 03:38:15 +0000 (05:38 +0200)]
add to CMake

12 years agoseparate implementation
adrian [Thu, 24 Nov 2011 03:02:42 +0000 (05:02 +0200)]
separate implementation

12 years agoremove subsystem
adrian [Thu, 24 Nov 2011 02:49:05 +0000 (04:49 +0200)]
remove subsystem

12 years agoMerge branch 'next' into comm-subsystem
adrian [Wed, 23 Nov 2011 12:02:43 +0000 (14:02 +0200)]
Merge branch 'next' into comm-subsystem

Conflicts:
src/Instrumentation/Makefile.am

12 years agosrc/FDM/JSBSim/models/FGGasCell.cpp: Restore the ballonet model to a working state.
Anders Gidenstam [Tue, 22 Nov 2011 20:15:42 +0000 (21:15 +0100)]
src/FDM/JSBSim/models/FGGasCell.cpp: Restore the ballonet model to a working state.

12 years agoUse property objects to avoid property look-ups during TimeManager updates.
James Turner [Sun, 20 Nov 2011 18:30:31 +0000 (18:30 +0000)]
Use property objects to avoid property look-ups during TimeManager updates.

12 years agoAvoid crash when reloading GUI from debug menu.
James Turner [Sun, 20 Nov 2011 16:33:22 +0000 (16:33 +0000)]
Avoid crash when reloading GUI from debug menu.

12 years agoCocoa menu-bar implementation.
James Turner [Sun, 20 Nov 2011 13:23:52 +0000 (13:23 +0000)]
Cocoa menu-bar implementation.

12 years agoIntroduce some structure in fgMainLoop.
ThorstenB [Sun, 20 Nov 2011 15:20:05 +0000 (16:20 +0100)]
Introduce some structure in fgMainLoop.
- Move some code to sub functions.
- Make sound manager a subsystem-manager member (and make sure it's
still processed last).

12 years agoPostpone initialization of the avionics soundgroup until avionics are enabled. This...
Erik Hofman [Sun, 20 Nov 2011 14:31:58 +0000 (15:31 +0100)]
Postpone initialization of the avionics soundgroup until avionics are enabled. This prevents AI classes from creating new and unnecessary avionics sample groups.

12 years agoremove a .swp file
Erik Hofman [Sun, 20 Nov 2011 14:06:10 +0000 (15:06 +0100)]
remove a .swp file