James Turner
1cffd2b8c0
Fix encoding / C++11 compliance
...
- convert text encoding to UTF-8
- C++11 requires a space between literal and identifier
2015-02-11 16:44:05 +00:00
Torsten Dreyer
6970ea69a8
httpd/json: send as correct typ for bools and numbers
2015-02-11 11:34:16 +01:00
Torsten Dreyer
b42841ccd2
Add formatted KDI572/574 properties
...
Syd Adams:
I've added an update to dme.cxx /dme.hxx.
It adds a formatted KDI572-574/nm , min and kt string properties meant
for text animations for these instruments.Existing instruments will funtion
as usual, no breaks. The purpose here is to eliminate yet another nasal
workaround which usually needs to repeat some of what the code already does.
The 3 properties are empty when the dme is off (no need to check for power),
dashes when powered up but no source , out of range ,etc.
The are formatted to the KDI-572/573/574 limits ...
0-99.9/100-389 for distance to station,
0-99 minutes for time to station,
groundspeed 0-999 kt.
2015-02-11 08:35:31 +01:00
Torsten Dreyer
ef2c9b995f
JSBSim: populate fuel tank cg
2015-02-04 12:44:20 +01:00
Rebecca N. Palmer
fe0015bda0
Fix typo, thanks to Markus Wanner
2015-01-18 22:23:49 +00:00
Rebecca N. Palmer
193f2a3fbc
Fix hang in Nasal->C++->Nasal calls
...
https://bugs.debian.org/750939
http://sourceforge.net/p/flightgear/mailman/message/32969200/
2015-01-18 22:23:21 +00:00
Stuart Buchanan
6725b460bf
Clean up some trivial warnings
2015-01-18 19:49:14 +00:00
bcoconni
5d2197ae3c
Fixed a bug that made FG crash when repositionning the aircraft or resetting the simulation. Thanks to Rebecca Palmer for the bug report and the bug patch.
2015-01-17 14:58:48 +01:00
James Turner
dcf8ac1778
route-path: separate turn entry and exit parts.
...
Fixes appearance of runway legs with off-centerline previous
and next points, since we can generate different curves for each
end of the runway.
2015-01-14 23:28:52 +00:00
Torsten Dreyer
01dfd52d69
Fix wrong ATIS for negative temperatures
2015-01-12 16:46:24 +01:00
James Turner
e4f5f71aae
Route path turn helpers.
...
Make the code more readable with some named helper functions.
2015-01-11 13:15:24 +00:00
James Turner
e9849ecae9
Remove a warning, let Nasal itself warn if needed.
2015-01-10 19:35:50 +00:00
James Turner
e7d4e28f44
Fix broken angular conversion in RNAV runway controller.
2015-01-10 19:35:34 +00:00
James Turner
cc2a78b70b
RNAV: use runway departure end for previous wpt.
...
Should fix leg computation following a runway waypt.
2015-01-10 19:35:11 +00:00
James Turner
6b9aa0fb97
Fix GPS intercept controller:
...
- handle bad intersection geometry gracefully (end controller)
- fix termination condition
- always use target track to compute position.
2015-01-10 17:57:02 +00:00
James Turner
fa3301f68d
Fix spelling mistake.
2015-01-10 17:57:02 +00:00
James Turner
8bfb63e4ed
Launcher: select season.
2015-01-10 14:57:59 +00:00
James Turner
ce10b4c8f1
Ask before creating the custom aircraft dir.
2015-01-10 14:18:44 +00:00
James Turner
ee61a07636
Restore aircraft-manager location back to FG_HOME
2015-01-10 14:18:32 +00:00
James Turner
7d9609116b
- Make Qt check guarded by a CMake option
...
- Only init QApplication if showing the launcher.
2015-01-10 14:05:23 +00:00
James Turner
e94371ebfc
Route-path bug fixes.
...
- explicit aircraft performance categories for turn radius
- allow overflight leg course behaviour to be selected
2015-01-08 19:46:04 +00:00
James Turner
55b092771f
Launcher: hook up MSAA checkbox.
2015-01-07 11:30:44 +00:00
James Turner
72e0ea9e40
Only set AUTOMOC for fglauncher target.
...
(Avoids pointless noise for all other targets)
2015-01-07 09:38:02 +00:00
James Turner
1ba62acfcc
Fix native menubar in Mac builds with Qt
...
- where we don’t use the launcher, we must pass tell OSG we
want to pose as standalone when setting the window traits.
2015-01-07 09:19:04 +00:00
James Turner
02bcb3718a
Hook up parking position in launcher.
2015-01-06 21:12:19 +00:00
James Turner
53b478654c
Linux fixes for launcher code.
2015-01-06 20:36:05 +00:00
James Turner
78e8f53312
In-app launcher for Mac, based on Qt5.
...
The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.
Will be merged for 3.4, hopefully with no impact on other
platforms.
2015-01-06 19:13:30 +00:00
James Turner
0a28e95107
Guard against saved bad terrasync path.
...
- warn when the terrasync path is not writeable, with a message box.
2015-01-04 18:02:26 +00:00
James Turner
5ccc835667
Fix turn entry path position computation.
2015-01-03 00:29:07 +00:00
James Turner
23b0db0f0d
Waypoint controller fixes
...
- use a low pass filter on FPM value for ConstHdgToAlt
- better position calculation for DME/radial/VOR intercepts
2015-01-02 23:58:29 +00:00
James Turner
6db45dac9d
Fix two route path issues found by Hyde
...
- course computation from a runway was wrong (used threshold pos)
- negative distance along path was using wrong distance to offset
2015-01-02 09:47:54 +00:00
Clément de l'Hamaide
49ce7cd318
Revert "Altimeter: fix output format for hPa/InHg settings"
...
Replaced by some line of Nasal, that way we don't touch the internal precision of the altimeter
This reverts commit 84a26de9ae
.
2014-12-30 17:32:48 +01:00
Clément de l'Hamaide
84a26de9ae
Altimeter: fix output format for hPa/InHg settings
...
Usually, in a real cockpit, altimeter shows hPa setting as an integer number and InHg setting is limited to 2 decimals
In aviation we don't need higher numeric precision
2014-12-30 16:20:08 +01:00
James Turner
dbc47efa18
Partial fix for runway leg courses.
...
Don’t assume runway leg course matches the runway heading.
Full fix means generating separate entry/exit turns for runways.
2014-12-25 21:52:54 +03:00
James Turner
5c659b3970
Fix distance-along-path computation
...
(Thanks to Hyde Yamakawa for pointing this one)
2014-12-25 21:52:13 +03:00
James Turner
dd1b829618
When the turn angle is large, don’t fly-by.
...
This avoids the tan() term in the fly-by computation
causing huge turn cuts which will fail to sequence.
Convert such turns to fly-over.
2014-12-22 21:47:21 +03:00
James Turner
f80528f8d6
RoutePath mag-var and point-on-path fixes
2014-12-22 17:00:43 +03:00
James Turner
a1169e4f75
Expose waypoint heading/course to Nasal.
2014-12-21 09:53:32 +03:00
James Turner
aa3333cd31
Fix runway path appearance.
2014-12-21 09:21:31 +03:00
James Turner
91992f6cf1
Route path
...
- better point along path computation
- fix path distance for turns
- detect and skip duplicated waypoints
(and provision to skip based upon impossible turn
geometry soon)
2014-12-20 15:19:00 +01:00
James Turner
088572e87d
Route-path:
...
* better overflight pathing based on next wpt type
* tolerate procedures with bad intersections (eg KSFO OFFSH8)
2014-12-19 17:01:27 +00:00
James Turner
7317aff22d
Fix route-path bugs:
...
- accurate fly-over / fly-by computations
- parse additional LevelD XML elements
- path vector contains curves for turns
Remove dead code.
2014-12-18 23:05:28 +00:00
Anders Gidenstam
df61dfe1b3
JSBSim: Renamed the location properties for external forces to include the unit.
2014-12-18 11:02:41 +01:00
Torsten Dreyer
6f54ffc947
Allow easing of setting the time-offset
...
Configurable with properties:
/sim/time/warp-easing == false ? jump to new time offset (orig. behaviour)
/sim/time/warp-easing == true ? use easing parameter to adjust warp
/sim/time/warp-easing-duration-secs: time in seconds to reach the new value
/sim/time/warp-easing-method: easing method to apply. default: swing
2014-12-17 09:52:09 +01:00
bcoconni
a1df1fb70a
Synced JSBSim. Adds the following new features:
...
- Ability to modify the location of external forces via the property tree
- Ability to specify manually the inertia matrix of "point masses"
- Improvements of the water injection feature in the turbine code
2014-12-15 20:12:18 +01:00
Torsten Dreyer
a4ab1dae38
downgrade log-level for newnavradio messages
2014-12-11 21:37:37 +01:00
Torsten Dreyer
b750e9d8b5
Shut off spoken atis if radio's power button is off
2014-12-11 11:20:34 +01:00
James Turner
01622dd1f4
Fix flight-plan course and distance computations.
...
Always use the RoutePath system for course and distance computations
in the flight plan, so that dynamic segments are handled correctly.
2014-12-08 17:56:15 +00:00
James Turner
938a180c3d
Level-D procedures: parse Flytype element
...
With this, the fly-by / fly-over info from the procedures is exposed
correctly.
2014-12-07 12:34:50 +00:00
James Turner
d806b68706
find waypoints in the flight plan.
2014-12-04 15:43:32 +00:00