Curtis L. Olson
c8bd588e9f
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-12-06 09:49:27 -06:00
Curtis L. Olson
95cbdd7513
Commit changes so I can switch branches without conflicts.
2011-12-06 09:47:56 -06:00
adrian
4826b21968
Lower receiver sensitivity, modify loading of antenna pattern
2011-12-06 11:38:48 +02:00
adrian
8a61ad0fc9
Merge branch 'attenuation' into navaids-radio
...
Conflicts:
src/Radio/radio.cxx
2011-12-06 10:27:03 +02:00
adrian
451bf89f70
Merge branch 'next' into attenuation
...
Conflicts:
src/Radio/radio.cxx
2011-12-06 02:15:04 +02:00
adrian
b7d59463c8
Fix error caused by assert statement in itm.cpp
2011-12-06 02:04:21 +02:00
adrian
e597d6314e
rename function
2011-12-05 22:42:40 +02:00
Torsten Dreyer
26011dd9c6
Fix a typo in the radio propagation code
...
And for sentimental reason: keep the VC90 project file working
2011-12-05 21:40:01 +01:00
adrian
4b8e74c6af
Make antenna radiation calculations selectable via switch
2011-12-05 11:43:21 +02:00
Vivian Meazza
b61e22bdb3
Windows fixes/work-arounds
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-05 08:55:33 +00:00
Durk Talsma
482672f941
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-12-04 22:53:58 +01:00
ThorstenB
cc40660206
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).
2011-12-04 21:43:21 +01:00
adrian
d8e4f8035d
Merge branch 'attenuation' into navaids-radio
2011-12-04 22:16:45 +02:00
adrian
f720f76456
Hopefully fix windows compilation error
2011-12-04 22:08:56 +02:00
adrian
500086adec
Read antenna radiation pattern from file
2011-12-04 21:59:38 +02:00
Vivian Meazza
6b1391e404
Make parameter "roll-factor" settable in scenario files
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-12-04 19:10:42 +01:00
Durk Talsma
f7cd808f23
Merge branch 'next' of gitorious.org:fg/flightgear into next
2011-12-04 18:35:13 +01:00
Durk Talsma
32eb0fd00c
Merge branch 'merge-requests/1555' into next
2011-12-04 17:33:04 +01:00
Durk Talsma
fcfb905ef1
Make sure not to disable the entire ATC system when handling special cases.
2011-12-04 17:31:02 +01:00
ThorstenB
07aa70dce9
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.
2011-12-04 17:18:02 +01:00
ThorstenB
9933a7cb4a
cmake: add support for Torsten's UDev EventInput
...
(Hopefully meeting Torsten's quality expectations)
2011-12-04 14:37:25 +01:00
adrian
69b73a0233
Merge branch 'next' into attenuation
2011-12-04 11:30:16 +02:00
adrian
6d816823db
Load pattern file from FG_HOME/antennas
2011-12-04 11:28:59 +02:00
Torsten Dreyer
ded106fe31
event input for Linux: substitude dbus+hal by udev
2011-12-03 22:59:20 +01:00
adrian
693f868930
Get rid of annoying printf messages in itm.cpp
2011-12-03 20:08:50 +02:00
adrian
b685fffd82
Set ATC ground tx-power and antenna gain to smaller values
2011-12-03 18:55:11 +02:00
adrian
52bdb959c7
Rename conversion functions to be more explicit
...
...and set some more properties: tx-erp, etc.
2011-12-03 18:48:24 +02:00
Erik Hofman
61e60484c8
make the sound of the base model work again. this also gives an indication where things start to go wrong.
2011-12-03 15:29:04 +01:00
adrian
e4f511fb31
Write a few more properties:
...
signal-dbm - signal strength in dBm
field-strength-uV - signal strength in microvolts
2011-12-03 16:00:14 +02:00
Erik Hofman
831f81d97c
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
2011-12-03 14:40:48 +01:00
adrian
3340694170
Add some functions to convert between various units
2011-12-02 19:13:53 +02:00
adrian
6179c26a04
Set a couple of properties using the node /sim/radio
...
Also use correct the polarization calculations, using
Simgear constants for degree to radians conversions
2011-12-02 17:38:52 +02:00
adrian
e3e23b0915
Add function to calculate polarization loss
...
This function is reliable only for vertical polarization
2011-12-01 22:46:46 +02:00
adrian
7e2391dceb
Merge branch 'attenuation' into navaids-radio
2011-12-01 14:34:40 +02:00
adrian
ad6b0b81da
Make polarization a configurable parameter
2011-12-01 14:33:25 +02:00
adrian
1db2d8a660
Start implementing antenna properties
2011-12-01 14:28:20 +02:00
adrian
8184c290cc
Merge branch 'radio-clutter' into attenuation
2011-12-01 13:37:12 +02:00
adrian
c112b8b8e1
Merge branch 'next' into attenuation
2011-12-01 13:36:53 +02:00
adrian
1c1e954de2
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
2011-12-01 13:34:34 +02:00
ThorstenB
4845037bd7
Fix build with CMake 2.6.4
...
Set search path early enough, so fallback module for CMake 2.6 is found.
2011-11-30 23:33:03 +01:00
ThorstenB
32c4cfa768
Fix shared library build for metar executable
2011-11-30 21:45:22 +01:00
James Turner
cdc65753f0
Refactor SimGear detection to correctly select debug vs release builds in shared library mode.
2011-11-30 19:19:49 +00:00
ThorstenB
f356854712
Set correct installation folder for documentation
...
Also fix build when ".gitignore" is absent (i.e. building a
cleaned tar-ball).
2011-11-30 19:56:44 +01:00
adrian
0c66ca6785
remove debugging code
2011-11-29 16:38:02 +02:00
adrian
8928e0c415
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.
2011-11-29 16:15:06 +02:00
adrian
dcc915e5bd
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
2011-11-29 15:00:49 +02:00
James Turner
f054f15693
Fixes for linking with shared SimGear.
2011-11-29 10:24:33 +00:00
James Turner
62810e3f9a
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).
2011-11-28 18:23:34 +00:00
adrian
d988e4c4ad
forgot about constructor and destructor
2011-11-28 10:49:05 +02:00
adrian
a6b9beca9d
rename FGRadio to FGRadioTransmission, add RX and TX antenna heights
2011-11-28 10:38:58 +02:00