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
adrian
6be68f475d
remove unnecessary function
2011-11-28 08:36:56 +02:00
adrian
d23fbc3c13
make clutter loss calculations switchable via property
2011-11-28 08:31:04 +02:00
adrian
4c0c79fa4c
Decouple material index from other variables
2011-11-28 07:37:37 +02:00
Erik Hofman
99bb79c7d5
Properly remove FGFX classes when not needed anymore
2011-11-27 15:10:44 +01:00
Erik Hofman
f89ad9baf0
Move some code from the header file to the source file.
2011-11-27 13:48:04 +01:00
Erik Hofman
1e8167164a
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-11-27 13:47:18 +01:00
adrian
6b24aa0c14
Add clutter loss for single horizon diffraction
2011-11-27 12:53:30 +02:00
Erik Hofman
2c8da4c122
fix a typo
2011-11-27 10:52:28 +01:00
adrian
dd6588d4f0
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
2011-11-26 18:51:33 +02:00
ThorstenB
b54defea52
cmake: fix sequence of (static) library dependencies
...
sgmath depends on sgprops, sgprops depends on sgstructure.
Also, core libraries are enough for fgadmin.
2011-11-26 16:41:35 +01:00
adrian
b2e83c4dcc
document transceiver specs
2011-11-26 09:03:29 +02:00
ThorstenB
90c5c9f87a
cmake: lib vs lib64 handling for simgear
...
simgear now always uses CMAKE_INSTALL_LIBDIR for lib installation, so
also use that when searching.
2011-11-25 15:31:22 +01:00