1
0
Fork 0
Commit graph

7588 commits

Author SHA1 Message Date
Michael Soitanen
77abdbe7e8 NavDisplay: Wind direction in Boeing mode now have degree symbol. Position trend vector is not computed with groundspeed less than 100kts to remove possible error with lateral slope runways. Corrected postion trend vector lenght on range smaller than 10 nm 2015-12-10 17:19:20 +01:00
Erik Hofman
5f85a86489 Add a global sound effects file for sound effects which act on scenery events (currently Thunder only). 2015-12-10 13:22:26 +01:00
Florent Rougon
9037441778 Fix bearing calculation in the GPS Settings dialog
Magnetic declination being "the direction of the horizontal component of
the magnetic field measured clockwise from north" according to
MagneticField(1), it must be substracted, not added, from true bearings
in order to obtain the corresponding magnetic bearings.

Example illustrating the bug:

  Start at  KSFO, open Equipment -> GPS Settings, enter KHTH as the
  destination and click on "Search". Before the bug fix, the dialog
  gives a bearing of 85, whereas the correct magnetic bearing is 58.

  Digging a bit further, the true bearings/azimuths for the shortest
  path (geodesic line) from KSFO to KHTH are approx. 71.5 at KSFO and
  73.8 at KHTH. This can be verified with two independent libraries
  (GeographicLib and PROJ.4):

    % echo "37d37'08N 122d22'30W 38d32'45N 118d38'00W" | \
      GeodSolve -i
    71.44943076 73.75785283 343987.398
    % echo "37d37'08N 122d22'30W 38d32'45N 118d38'00W" | \
      geod +ellps=WGS84 -I -f '%0.3f'
    71.449  -106.242        343987.398

  (-106.242 + 180 = 73.758: -106.242 is the "back azimuth" at KHTH for
  this path)

  The bearing of 85 given by the code in gui/dialogs/gps.xml before
  this commit is indeed 71.5 + magnetic declination at the starting
  point (KSFO), whereas it should be 71.5 - magnetic declination.

  Another, more experimental way:

  Start FlightGear with:

     fgfs --aircraft=ufo --disable-real-weather-fetch \
     '--metar=KSFO 070956Z 36000KT 10SM FEW023 11/07 A2977 RMK AO2 SLP080 T01060067' \
     --lat=37.61867421 --lon=-122.37500761 --heading=71.45931

   (just in case wind influences the ufo, I have no idea whether this is
   the case or not...)

   During your flight, progressively increase your heading (as seen in
   the HUD, i.e., true heading) so that it smoothly changes from 71.5 at
   KSFO to 73.8 at KHTH. You should arrive pretty close to KHTH, whereas
   the initial heading of 85 given by the GPS Settings dialog is way too
   high, be it interpreted as a magnetic heading (which was visibly the
   intention---it would be nice to write that in the dialog BTW) or as a
   true heading (in which case the result is even further from the
   correct value).
2015-12-08 22:46:47 +01:00
Thorsten Renk
c275d3a8ad Improved light curves for Earthview in low light 2015-12-07 08:43:58 +02:00
Michael Soitanen
676a40f912 NavDisplay: Added mode, when heading bug is always displayed regardless of track-heading switch. Switched off by default. 2015-11-30 13:34:54 +01:00
Gijs de Rooy
34b957e63b Navdisplay: add position trend vector to MAP 2015-11-30 13:29:44 +01:00
Gijs de Rooy
30aef3eee1 Navdisplay: magnetic variation for wind arrow by Michael Soitanen 2015-11-29 17:35:09 +01:00
James Turner
082fa759ea Add some additional NaturalEarth data. 2015-11-27 23:27:11 +00:00
James Turner
33f07c8242 Add coastline data for maps. 2015-11-27 23:27:10 +00:00
Torsten Dreyer
00781db6c9 Small optimizations in local_weather
listener functions are called with changed node as arg,
using this spares a getprop()

Signed-off-by: Thorsten Renk <thorsten.i.renk@jyu.fi>
2015-11-27 12:10:28 +02:00
Thorsten Renk
87421c8dab Environment sounds by c172p team for common use 2015-11-26 16:29:47 +02:00
Rebecca N. Palmer
45c3eeb9ad Nasal: remove obsolete io.nas security
This has been superseded by the C++-level fgValidatePath
2015-11-22 11:22:22 +00:00
Torsten Dreyer
ece79a7aed Add a simple Phi Example 2015-11-19 15:33:46 +01:00
Torsten Dreyer
e0c88ccdbc Phi: add helper makeObservablesForAllProperties
call ko.utils.knockprops.makeObservablesForAllProperties( self );
to create an observable() for every bridged property
2015-11-19 12:32:18 +01:00
Torsten Dreyer
fd3a5d240a Phi: define properties using the new object/hash syntax 2015-11-19 12:07:07 +01:00
Torsten Dreyer
7bfa20933b Phi: allow setting of properties via hash
Defining the set of properties for the knockoutjs bridge via
array of array is clumsy, allow setting those via an object aka hash
is much easier.
2015-11-19 12:00:16 +01:00
Torsten Dreyer
0187820627 Phi: refactor knockprops into separate module
Get the knockoutjs to flightgear bridge into a separate module to
make it reusable. First step for providing a simple usecase.
2015-11-19 11:42:29 +01:00
Torsten Dreyer
63f4642584 Phi: fix typo 2015-11-18 20:19:10 +01:00
Thorsten Renk
04524c0cca Tentative improvements to AW gust modeling 2015-11-16 17:41:57 +02:00
Anders Gidenstam
9020bda565 Updated the generic JSBSim hydrodynamics system.
- Small update to the main hydrodynamics system.
- Added initial versions of two systems for modelling hydrodynamic planing.

Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2015-11-15 15:10:13 +01:00
Thorsten Renk
fd0b47865f Tentative change to linear-parabolic wingbeat animation for ALS wingflex shader 2015-11-14 13:27:38 +02:00
Thorsten Renk
9937c758c9 Change convention of wingsweep in ALS wingflex shader 2015-11-13 09:54:56 +02:00
Thorsten Renk
4f51ab3bec Wing sweep animation for ALS wingflex shader 2015-11-11 11:34:41 +02:00
Gijs de Rooy
1274c933ba Canvas style: add missing icon 2015-11-10 13:40:49 +01:00
Thorsten Renk
88bd9e97a4 Wing motion shader, currently adapted for Pterosaur Dragon model 2015-11-08 22:34:12 +02:00
Thorsten Renk
57c5bf1fbf Earthview loads only texture sheets actually used 2015-11-08 20:42:20 +02:00
Thorsten Renk
a89c966067 Use hires tree textures in US Southwest 2015-11-08 20:38:15 +02:00
Torsten Dreyer
ef898ec277 Add a svg version of our FG logo 2015-11-05 20:52:31 +01:00
Torsten Dreyer
cadc93c8bb fgfs.js: simpler implementation of property-set
Thanks to Laurent for the patch
2015-11-05 18:30:59 +01:00
Torsten Dreyer
94a5384b40 Joystick HOTAS-Cougar: fix typo 2015-11-02 11:57:53 +01:00
Thorsten Renk
b40b1a8696 Skid marks enabled for concrete runways 2015-10-30 15:14:36 +02:00
Erik Hofman
507f8f7f68 Gilberto Agostinho:
I did quite a lot of work on textures and materials lately and I'd like
to ask if someone could please take a look on it and maybe commit it to
FGDATA if judged positively.

Starting with commit 0da71d2288836df05548f5f343fe3977ebb2955f of my
repository (see
https://github.com/gilbertohasnofb/new-regional-textures/commits/master
) I did:

- improved urban effect for the Latin American city texture
- improved the Mediterranean city texture (and also better urban effect)
- created new textures for asphalt and concrete runways
- created a new industrial texture (as well as winter version and urban
effect)
- created winter versions for European 18th century city and town textures
- applied urban effect to European 18th century city and town textures
- created a new material in which small areas around 80 large cities
around the world in which the street lights have higher density (1000
for mega cities such as NY and Tokyo, 2000 for large cities such as
Munich and Dubai, while keeping the default 10000 for all the rest of
the globe)

I also created a texture with skid marks for Thorsten's new effect, but
we are still working on this one and this may not even be used.
Everything else is ready to go.

I know this is a lot of things to test, and as Thorsten pointed out in
the forum I it would be better if next time I submit my work in several
chunks (which makes testing easier). So I could break this new work like
that if necessary, but here is a reasonable plan for anyone willing to
test it as it is now:

- start at LIRN at noon during summer. Check the new asphalt runway.
Take off fly around the city centre (it's just in front of the airport).
Test the improved European 18th century city and town textures, as well
as the new industrial texture. Change the environment to winter and
check these three textures once again.
- start at KLAX at noon. Check the new concrete runway. Take off, change
the time to midnight and check the street lights (Los Angeles is a "mega
city" so should be very bright).
- start at SBRJ at noon and check the improved Latin American city
texture. Take off, change the time to midnight and check the street
lights (Rio de Janeiro is a "large city" so should be quite bright).
- start at DTTG @ runway 06 and check the town by the left of the
airport for the improved Mediterranean city texture.

Also, there are plenty of screenshots of this work starting with this
post here: http://forum.flightgear.org/viewtopic.php?f=5&t=26031&start=150#p261282
2015-10-30 10:24:13 +01:00
Torsten Dreyer
ec37636b02 Phi: implement missing property set in fgfs.js
Implement the second part of the mirror in
FGFS.Property.prototype.setValue instead of the current TODO.

Thanks to Laurent for the patch.
2015-10-29 19:38:42 +01:00
Torsten Dreyer
dae544f0ec Phi: add the openaip layer to the map
Thanks to Laurent for this idea!
2015-10-27 22:11:32 +01:00
Thorsten Renk
8e03960e3b Tentative procedural skid marks for paved runways, work in progress 2015-10-27 15:18:45 +02:00
Erik Hofman
34315227c1 Richard Harrison:
Add  generic version of a canvas MFD (based on the F-15)

It has a fairly simple class structure and hopefully is reasonably easy to understand; Thorsten's using it on the Shuttle and Hooray mentioned that it'd be a good idea to make it generic. It provides a device, that has pages and a set of buttons. The set of buttons control the page that is selected (i.e. a menu). Each page has its own set of menus. A menu defines a label and a page that is displayed. I intend to document it on the wiki once its added.
2015-10-26 12:56:11 +01:00
Thorsten Renk
def0ee20d4 Vertical offset for ALS landing lights by Wayne Bragg 2015-10-22 12:06:12 +03:00
Torsten Dreyer
354b0947e0 ki266 dme indicator: fix off-by-one error
round to integer instead of truncate gives the correct distance.
2015-10-19 22:44:41 +02:00
Thorsten Renk
9a53f8e331 Improvements to ALS dirt runway shader effect 2015-10-19 12:25:07 +03:00
James Turner
723c79b142 Merge /u/wkitty42/flightgear/ branch AI-paper-cut-bugs into next
http://sourceforge.net/p/flightgear/fgdata/merge-requests/33/
2015-10-18 17:08:31 +00:00
James Turner
543b241f6c Boeing 737-800 AI model and traffic updates.
From Brett Harrison (Gooneybird)
2015-10-18 12:03:54 -05:00
waldo kitty
09f6fa9ac9 fix 747-400-SingaporeAirlines.xml to point to 747-AI.ac instead of 747.ac 2015-10-13 12:09:46 -04:00
waldo kitty
c9a1f46b32 rename AI/Aircraft/A332/Textures/Gulfair to AI/Aircraft/A332/Textures/GulfAir 2015-10-13 12:07:57 -04:00
Torsten Dreyer
dd3390b3af Fix elevation bug for jetways
Thanks to Martin Herweg (d-laser)
2015-10-11 22:32:25 +02:00
Torsten Dreyer
db0d8e1622 Phi: update url for german vfr charts to 2015 edition 2015-10-11 14:45:13 +02:00
Thorsten Renk
403e18728a Change to light balance in ALS space shader 2015-10-09 19:48:37 +03:00
Thorsten Renk
5bb90ec228 Additions to ufo: sideways movement and virtual doors for jetway testing by forum user pommesschranke 2015-10-09 17:32:19 +03:00
Torsten Dreyer
57b48abe58 Phi: make widgets closable and detachable
Clicking the close-button removes the widget from the sidebar
Clicking the newwin-button detaches the widget into a dialog

TODO:
- add a way to re-attach or re-create a widget
- make sure widgets correctly scale with resizing of the dialog
- make widget area layout persistent
2015-10-09 09:56:06 +02:00
Torsten Dreyer
d04bf9d849 Phi: fix airspeed and heading display
round to integer instead of truncate
2015-10-09 09:51:49 +02:00
Torsten Dreyer
5a1a2a64a1 Phi: Add some base layers to the map
- Add layers from maps.stamen.com
- Add an empty layer for Richard
2015-10-02 21:52:29 +02:00