Lars Toenning
cab6581d3d
[swift] Pointers to nodes for get/set data
...
Calling fgSetXY/fgGetXY takes to long (especially when calling the often needed properties a few times per second in main loop).
Switching to pointers for these nodes, initialized within service-class constructor.
2020-03-10 14:08:28 +00:00
James Turner
3f14d53286
FlightPlans: fix save/load of restrictions, deleting legs from Nasal
...
- Fix Leg ownership to avoid segfaults when deleting them via Nasal
- Modify FP save/load code so restrictions and holds are correctly
saved and restored
Extend the tests to cover these cases.
2020-03-10 14:00:40 +00:00
James Turner
de172de5b3
Launcher: Fix a typo breaking path re-ordering
2020-03-10 10:28:56 +00:00
James Turner
a405d0508b
Fix a dumb allocation bug on Windows
2020-03-09 16:28:22 +00:00
James Turner
410c249ba8
Launcher: enable/disable all add-on types
...
Allow enable/disable in the UI of everything in the ‘add-ons’ page of
the launcher.
2020-03-09 16:16:50 +00:00
Erik Hofman
32d6f75305
Process the buttons even if the axes are not declared initialized
2020-03-07 09:22:22 +01:00
Slawek Mikula
517cf19ec6
- ATC radio list - adding selectors to radio R1/R2 for corresponding frequencies
2020-02-25 13:08:06 +00:00
James Turner
8126db050a
Merge /u/geoffmc/flightgear/ branch msvc-build3 into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/182/
2020-02-24 13:12:15 +00:00
James Turner
219ceacc7a
macOS Catalina device filtering
2020-02-24 13:09:36 +00:00
James Turner
ff70578d57
Launcher: Fix a QML warning on startup
2020-02-24 11:33:05 +00:00
James Turner
f14b8ba6d4
Validate Nasal makeTimer arguments
...
When the callback arguments can’t be validated,
catch is and actually report a failure, instead of creating a
non-functional timer object
2020-02-24 11:33:05 +00:00
James Turner
a3731875a1
Make Launcher ratings settings persistent
2020-02-24 11:33:05 +00:00
James Turner
d238393d2e
Add NetBeans .gitignore
2020-02-24 11:33:05 +00:00
Stuart Buchanan
1f0c21a371
Warn when Nasal module not set in defaults.xml
2020-02-19 20:32:22 +00:00
Stuart Buchanan
9553577397
Add support for tarballs in terrasync
2020-02-16 20:27:44 +00:00
Erik Hofman
e4c393ba9c
Revert delayed running of fdmex for in-air starts since it does more damage than good.
2020-01-31 10:03:31 +01:00
James Turner
12cd2d8e9b
Merge /u/legoboyvdlp/flightgear-src/ branch fix-segfault into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/188/
2020-01-30 10:42:18 +00:00
jano
395a654692
make the aiship speed respect strictly the target speed when close enough, should improve drifting carrier on mp
2020-01-28 11:03:20 +01:00
jano
c770358f13
added the velocity for the ufo, used in lag compensation
2020-01-28 11:03:20 +01:00
Erik Hofman
6df768fa5f
Store the initial axis values and if just one of them changes declare the joystick initialized
2020-01-27 18:12:09 +01:00
legoboyvdlp R
b920a09fcf
Correct whitespace in NasalPositioned.cxx; fix segfault in NasalPositioned by adding null check in the legGhostGetMember method; add test case for segfault
2020-01-27 16:27:46 +00:00
Stuart Buchanan
f6285bc528
Fix directional lights for AMD
...
Some AMD drivers do not like triangles for point sprites, which
breaks directional lights. This works around this by allowing
users to set /rendering/triangle-directional-lights=false which
falls back to the non-directional implementation of a point.
2020-01-27 09:30:09 +00:00
Erik Hofman
65a20b5829
Read the raw values and check them against the saturation value, if one of them is larger then initialization of the joystick is still in progress.
2020-01-27 09:15:53 +01:00
Erik Hofman
2d0b44ee63
If js is valid (again), create a new instance of jsJoystick so removing an joystick from and USB port and attaching it again get the joystick in a working order.
2020-01-26 17:44:19 +01:00
Erik Hofman
d4459c8205
Fix a typo
2020-01-26 14:30:24 +01:00
Erik Hofman
3405ea2aaa
Joystick axes can get initialized to extreme values, at least on Linux. Hold of working with the axis values until all values have become sane at least once
2020-01-26 14:10:07 +01:00
Bertrand Coconnier
973bf32074
[JSBSim] Added the ability to log properties in a CSV file.
2020-01-25 16:05:30 +01:00
Erik Hofman
cf5bfc5dd9
On-ground trimming needs fdmex active while in-air trimming does not for reliable operation. This might be a problem within the trimming routines but for now this works.
2020-01-23 11:54:33 +01:00
Erik Hofman
1cc0d9e97f
Fold of running JSBSim until after the trimming routine.
2020-01-22 14:54:11 +01:00
Erik Hofman
123eb41819
Copy the initial properties a second time after initilization.
2020-01-22 14:53:27 +01:00
Erik Hofman
2d2d5dbb76
Switch to C++11 threads, mutexes and lock_guards. Switching to C++11 condition_variables requires some more thought.
2020-01-22 13:45:28 +01:00
Erik Hofman
94b12aa992
Postpone running the simulation until after initialization and do an extra trim right after creation to properly initialize the output parameters.
2020-01-18 14:29:17 +01:00
jano
db295a9afc
introduction of a zero lag mode when pilots are synched in time, eg using ntp.
2020-01-14 11:10:28 +01:00
Geoff McLane
03ed61509c
Use CMAKE_MSVCIDE_RUN_PATH to allow the add_custom_target to run
...
This is only for a MSVC build - sets the runtime path for the exe run in
the following 'add_custom_target( ... run fgrcc ...)' ...
modified: src/EmbeddedResources/CMakeLists.txt
2020-01-11 20:27:21 +01:00
Edward d'Auvergne
1a7783c358
TestSuite: Reactivation of the ENABLE_AUTOTESTING CMake variable.
...
This was accidentally disabled by 22de9d30b5
.
2020-01-09 12:38:45 +01:00
Bertrand Coconnier
90a04a4baa
[JSBSim] Relax the assert when trying to clip with max < min.
...
Throwing an exception was too harsh. Instead the clipping is ignored and a warning message issued.
2019-12-30 00:30:26 +01:00
Scott Giese
a9365cd34e
Embedded Resources: Fix for Ninja 1.9
...
Refactor to break circular references.
New custom target generates the resource files.
FGFS and Test_Suite targets declare a dependency to the generated files.
2019-12-26 01:26:44 -06:00
James Turner
be628b36b7
Allow add/remove of IO channels at runtime
...
Commands:
add-io-channel
remove-io-channel
2019-12-19 00:00:41 +00:00
James Turner
f76709a853
Save settings on Launcher window close.
...
Patch by Slawek Mikula, from:
https://sourceforge.net/p/flightgear/codetickets/2158/
2019-12-17 22:47:50 +00:00
James Turner
ba36bd90e0
Launcher respects —enable-fullscreen arg
...
Patch by Slawek Mikula from:
https://sourceforge.net/p/flightgear/codetickets/2162/
2019-12-17 22:40:25 +00:00
James Turner
c48c1a06e8
Look for protocols in aircraft paths
...
Modified from patch by Slawek Mikula
2019-12-17 22:34:19 +00:00
James Turner
fad9f7068f
Expose canvas::Image pixel funcs to Nasal
2019-12-17 22:06:35 +00:00
Scott Giese
93a1d5e2d1
Fix HUD scale
2019-12-15 18:58:19 -06:00
Scott Giese
51f6a25a04
Obsolete: dynamic exception
2019-12-15 16:39:49 -06:00
Scott Giese
a14923cea0
Maintainability: Anticipate future types
2019-12-15 16:38:45 -06:00
Scott Giese
c97ad0182b
Prevent buffer unterminated buffer
2019-12-15 16:37:44 -06:00
Scott Giese
634ca9c31f
typo
2019-12-15 11:40:00 -06:00
Bertrand Coconnier
e1ecab0a15
[JSBSim] Do not initialize properties that already exist.
...
That, among other things, triggered a bug where the aircraft spawned with gears up whatever the initial setting was.
2019-12-15 11:53:45 +01:00
Bertrand Coconnier
2f5edf6558
[JSBSim] Supplement to the fix for the initialization issue.
...
One of the output node was lost in the process. Tested it myself with the Space Shuttle: this additional commit makes the error disappear.
2019-11-17 19:25:56 +01:00
Bertrand Coconnier
9782d9e65a
[JSBSim] Tentative fix for initialization issues reported in the ML.
...
Nodes might be uninitialized when a channel is initailly disabled. To work around that issue, the initialization of the output nodes is forced at creation.
2019-11-17 17:51:19 +01:00