Torsten Dreyer
4cdb5ed1f3
AtisSpeaker: prepare for individual voices
2014-05-07 17:08:02 +02:00
Torsten Dreyer
36fc9790ed
atis voice: add some variation in pitch and speed
2014-05-07 10:34:04 +02:00
Torsten Dreyer
dd127de32b
Changes to voice + atis
...
- Add a very simple line-of-sight propagation model for the radio
range computation.
- Remove some no longer used debug log messages
- Some code cleanup
- add-noise is now on by default
2014-05-06 10:23:04 +02:00
Torsten Dreyer
99dd8c08b5
commradio: typo: cuttoff --> cutoff
2014-05-05 13:22:39 +02:00
Torsten Dreyer
7dc2ee46a2
commradio: add squelch
...
adding property cuttoff-signal-quality to the comm radio
If signal-quality goes below this value, atis sound is muted.
Also: initialize property power-btn if not defined by the
aircraft or instrument designer
2014-05-05 13:20:03 +02:00
Torsten Dreyer
46584bfc92
commradio: no spoken atis if sound disabled
2014-04-30 10:50:57 +02:00
Torsten Dreyer
88e5dc873f
Cleanup part2. Forgotton file.
2014-04-30 10:45:52 +02:00
Torsten Dreyer
d2c000699f
Cleanup of ATCDCL
...
- move FGATCAlignedProjection class as AlignedProjection
to dclgps, the only place where it's currently used
- remove now obsolete files in ATCDCL
2014-04-30 10:22:51 +02:00
Torsten Dreyer
14c918a7ef
commradio: improvements for atis speech
...
- use individual SampleGroup refnames for each radio
- enable volume control for atis speech
- (optionally) add noise based on signal quality
2014-04-28 23:50:45 +02:00
Torsten Dreyer
d5d88f2850
commradio: refactor MetarSpeaker to AtisSpeaker
2014-04-28 22:02:48 +02:00
Torsten Dreyer
cadb77b18d
use flite+hts for metar
2014-04-24 20:59:08 +02:00
James Turner
849c6ccc6e
GPS fixes
...
- fix corrupted ident on Mac (libc++ issue)
- don't clear scratch when activating DTO mode
- use the real navaid/airport for the waypt where possible
- expose active waypt name
2014-03-16 16:20:03 +00:00
Torsten Dreyer
75933d3e1e
add min/max freq to the frequencyformatter
2014-03-14 15:19:23 +01:00
Torsten Dreyer
275d2dc7fa
Partial fix #1408
2014-03-12 21:21:56 +01:00
Thomas Geymayer
c7c9fd67aa
TACAN: fix distance calculations and some other problems.
...
- Calculate line of sight distance instead of distance over
ground
- Do a nav cache update if carrier_nav.dat.gz timestamp has
changed
- Allow comments in carrier_nav.dat.gz
- "Fix" range calculations (still does not take terrain/weather
and other influences into account)
2014-03-02 16:52:00 +01:00
Thomas Geymayer
5151f7f5e0
TACAN improvements.
...
- Make search interval for new mobile tacan larger.
- Continuous update of mobile tacan position.
2014-03-02 01:34:04 +01:00
Thomas Geymayer
234e2bdf09
TACAN/mobile navaid cleanup and improvements.
2014-03-01 20:19:06 +01:00
Torsten Dreyer
0c7f21a259
New ATIS System: Fallback for no-realwx and some fixes
...
Added the fallback for realweather fetch disabled, creating
ATIS from present weather
Fixed some formatting errors, mainly missing spaces
Some code cleanup
2014-03-01 12:44:01 +01:00
Torsten Dreyer
5e080c1e37
Fix wrong metar assignment in commradio
2014-02-28 22:36:29 +01:00
Thomas Geymayer
e34d97796c
TACAN: fix receiving mobile TACAN.
2014-02-28 20:01:09 +01:00
Torsten Dreyer
dd6cccdda1
A new comm radio and atis implementation
2014-02-28 11:45:49 +01:00
Christian Schmitt
7e8ee5a3a8
fix another crash at the poles
2014-02-07 23:29:06 +01:00
Christian Schmitt
6cadc2cf40
Simplify some SGGeod-related calculations
2014-02-05 23:07:43 +01:00
James Turner
27c58ddb21
Tacan: avoid a 'long-range' wgs84_inverse
...
- Only check mobile distance at all, if the mobile is valid
2014-02-04 14:54:39 +00:00
James Turner
34433c1fa1
GPS: fix bad init when far from any airport
2014-02-04 14:53:42 +00:00
James Turner
c6541e9c8f
Remove some debug log calls.
...
All places which continuously log messages (either every frame or at
least every second) tending to swamp other log output.
2014-01-23 13:49:58 +00:00
James Turner
2df74c9b63
Silence some clang warnings.
...
(Unused private variables)
2014-01-19 16:49:43 +00:00
James Turner
976f3115a9
GPS bug fix: restore startup mode.
...
- the 'default to current airport' behaviour got broken by the
changes to the scratch.
- expose a 'valid' flag on WP1
2014-01-14 13:04:52 +00:00
James Turner
ea822a99e1
Fix some warnings identified by Clang
...
_ unused private members. Removed in most cases, commented
out in a couple of cases where it feels as if the code might be used in the future.
2013-11-16 09:41:33 +00:00
Torsten Dreyer
6a09f01ca9
mag-compass: add deviation table and pitch property
2013-11-05 22:26:50 +01:00
janodesbois
ef1ec369db
gsdi correction, wind correction is not needed anymore, as wind composant was removed from u,v,wbody-fps
2013-10-27 13:24:57 +01:00
Dirk Dittmann
778cc8c6a0
GPS
...
- greatCircleCrossTrackError added to LegWayptCtl, DirectToController, OBSController
- config overflight seqence
config/over-flight-arm-angle-deg 90
config/over-flight-arm-distance-nm 1
config/over-flight-distance-nm 0
2013-10-03 18:08:02 +02:00
Clément de l'Hamaide
023c136d40
Fix spelling error by Markus Wanner
2013-09-23 01:02:10 +02:00
James Turner
b24d8f2159
From Jano: fix HUD ladder aspect.
2013-09-05 08:29:20 +01:00
Tom Paoletti
81cd33e2fa
Performance optimization: empty() instead of size()>0
...
empty() is guaranteed to be constant complexity for both vectors and lists, while size() has linear complexity for lists.
2013-08-19 09:01:59 +01:00
James Turner
be44fa45eb
Kill some defunct uses of side-slip property.
2013-07-29 22:15:23 +01:00
James Turner
5d9faee463
More unused vars caught by Xcode.
2013-07-04 20:56:04 +01:00
James Turner
6acf1c12fc
Fix unused private vars.
...
Xcode is warning about these, they're a mixture of
copy-pasted code, evolved use (e.g. using a property
node to store state), and so on.
2013-07-04 20:24:56 +01:00
James Turner
b1b6d2f6e2
Namespace fixes for std::string
2013-06-27 09:53:12 +01:00
James Turner
5ac8bc01a1
Fix issues with explicit GPS instruments.
...
For 2.12, ensure all GPS instruments are backwards
compatible, however they were requested. Post release we can create a new instrument name with the compatibility code disabled.
2013-06-17 18:11:47 +01:00
James Turner
26a8ffb44e
GPS: work around aircraft with missing power.
...
This restores compatibility with 2.10 and previous versions,
where even explicit (non default) GPS ignores power requirements.
2013-06-16 22:21:41 +01:00
James Turner
313b31ad9a
Fix a couple of issues valgrind identified.
2013-06-02 19:59:18 +01:00
James Turner
def81b4de5
Restore GPS compatibility with 2.10
...
There's a sufficiently large installed base, that simply dropping this
API is not acceptable. A Nasal shim might be possible, but in the
interim, restore the C++ functionality.
2013-05-27 22:56:12 +01:00
James Turner
e2a05c64b5
Bug 1122, transponder ident.
...
Don't fall through to digit-decoding on ident button release.
2013-05-27 15:59:47 +01:00
James Turner
0422ea5672
Off-by-one spotted by Clement.
2013-05-12 11:36:33 +01:00
James Turner
915626afa7
Altimeter node tweaks.
...
Fix the default name based on whether a regular altimeter or
encoder was requested, and delay creating the node until bind(), ctor
is too early.
2013-05-11 18:35:54 +01:00
James Turner
06dd219a83
Transponder instrument replaces KT-70.
...
Generic transponder can emulate KT-70 props. These emulated props
will likely die in the future, based on feedback from aircraft devs.
See (upcoming) Wiki docs on the transponder for more info.
2013-05-11 16:15:36 +01:00
f-jjth
977cfb77b5
Improve transponder instrumentation: new version
2013-05-10 19:04:53 +01:00
Hyde Yamakawa
98bfbb9560
Fix of Issue#1084. Input for this calculation should be actual GS deviation angle. Should not be scaled value.
2013-05-08 22:09:26 +01:00
James Turner
e89df85817
GPSs uses FlightPlans directly.
2013-04-09 10:20:02 +01:00