Edward d'Auvergne
c5dd4d3715
TestSuite: Simplification of the command line option processing.
...
Most of the code has been shifted into separate functions. This will allow for
its reuse when environmental variable support is added.
2019-09-20 19:45:28 +02:00
Edward d'Auvergne
f9f201b830
TestSuite: Renamed the 'verbose' command line option to 'timings'.
...
This is to better reflect what the option does. The -v or --verbose options are
now called -t or --timings respectively.
2019-09-20 19:42:57 +02:00
Edward d'Auvergne
aee367e8c2
TestSuite: Addition of the --log-class option for selecting SG_LOG classes.
...
This option mimics the fgfs option of the same name but additionally supports
the "particles", "headless", "osg", "undefined", and "all" classes.
2019-09-20 19:41:51 +02:00
Edward d'Auvergne
b58a63543e
TestSuite: Implementation of the --log-split command line option.
2019-09-20 19:37:29 +02:00
Edward d'Auvergne
8b777a74c9
TestSuite: Addition of the --log-level option for setting the logging priority.
...
This option mimics the fgfs option of the same name. However for the test suite
option, additionally the SG_POPUP, SG_DEV_WARN and SG_DEV_ALERT priorities are
supported.
The default test suite output has been modified to only show the interleaved log
with the logging priority set to the command line supplied value or defaulting
to SG_INFO.
2019-09-20 19:36:48 +02:00
Edward d'Auvergne
d448b8ceb4
TestSuite: Command line option processing simplification by using std::string.
2019-09-20 19:36:22 +02:00
James Turner
45df8f51b2
Move GPS sequencing into Nasal (optionally)
...
GPS now lets the delegate handle the sequencing behaviour, by
setting a new config property. The default GPS delegate (in Nasal)
now sets this property.
This requires a corresponding FGData update.
2019-09-20 13:05:57 +01:00
James Turner
833cc61293
GPS intercept tests
2019-09-20 09:50:55 +01:00
James Turner
19af6994fb
GPS : Offset flight test
2019-09-19 17:27:13 +01:00
James Turner
05e99d3a3b
More GPS sequencing tests
...
Also extended the test helpers in various ways.
2019-09-19 17:27:13 +01:00
James Turner
fdb2120b68
GPS: tests for long great-circle legs
...
Check that everything behaves as expected with legs spanning very
large distances.
2019-09-19 17:27:13 +01:00
James Turner
2434c037c8
Improve Leg mode course/track computation
2019-09-19 17:27:13 +01:00
James Turner
21e9f3d5e9
Disable KML logging in Route-manager test
2019-09-18 23:47:13 +01:00
James Turner
1c09704903
Fix tests until GPS course changes land
2019-09-18 23:42:39 +01:00
James Turner
2fe91430a3
Fix direct-to course -deviation sign
2019-09-18 23:42:39 +01:00
James Turner
a2e9374c54
GPS tests
2019-09-18 23:42:39 +01:00
James Turner
1c58de62ed
Route-manager unit-tests
...
Also contains large extensions to the TestPilot helper
2019-09-18 23:42:39 +01:00
James Turner
2d89cb2390
Nasal: Log names of stranded persistent timers
2019-09-18 23:42:39 +01:00
James Turner
dbbebc8f7e
Tolerate missing scenery (happens in unit tests)
2019-09-18 23:42:39 +01:00
James Turner
810d2e0b13
Set default GPS overflight sequence distance
2019-09-18 23:42:39 +01:00
James Turner
30b8bdc081
Fix warnings from newer Clang
2019-09-18 23:42:39 +01:00
James Turner
317e9f8cc0
Fix some GPS issues discovered while testing
...
- set wp[1] properties immediately (don’t require an update cycle)
- direct-to course-error is correct when init-ing the Direct-To; it
was previously wrong when beginning the DTO, due to invalid course
between identical SGGeods.
2019-09-18 23:42:38 +01:00
James Turner
604a23166b
Working on Direct-to tests
2019-09-18 23:42:38 +01:00
James Turner
12ac14be0e
Change a warning level
2019-09-18 23:42:38 +01:00
James Turner
492707a756
Flightplan-nasal alias a name for readability
2019-09-18 23:42:38 +01:00
James Turner
21a8e89a0a
Basic flight-plan/leg tests for GPS
2019-09-18 23:42:38 +01:00
James Turner
3b34158998
Fix member/local var mismatch in RNAV code
2019-09-18 23:40:36 +01:00
James Turner
a3e66d1ae3
Fix GPS ident overflow bug
2019-09-18 23:40:36 +01:00
James Turner
e15d67e637
TestPilot helper in the test API
...
Use this in the GPS tests.
2019-09-18 23:40:36 +01:00
James Turner
24f4de4681
Initial GPS unit test coverage
2019-09-18 23:40:36 +01:00
Edward d'Auvergne
f6efeb3f34
Test Suite: Workaround for aberrant MS Windows CMake behaviour.
...
The add_custom_target() CMake function for the test_suite target has been
shifted from test_suite/CMakeLists.txt to the top level CMakeLists.txt file.
The variable setting CMake code required for this has also been shifted. This
allows for the same build command 'cmake --build . --target test_suite' to work
on all operating systems.
2019-09-17 21:50:52 +02:00
Scott Giese
8120dcb4c9
Fix compile issue on Win10 VS2019
2019-09-16 23:33:28 -05:00
James Turner
04beedd792
Merge /u/jsb1685/flightgear/ branch next into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/179/
2019-09-16 08:08:04 +00:00
Edward d'Auvergne
827dfbc2b1
TestSuite: Added a testing category for FGData.
2019-09-13 11:55:09 +02:00
James Turner
66102d1736
Fix cmake build of FGQCanvas
2019-09-07 21:40:27 +01:00
James Turner
05916a79ce
Git ignore for FGQCanvas
2019-09-07 21:20:27 +01:00
Daniel Meissner
44e1f43e91
YaSim: add compressibility effects (Prandtl/Glauert correction factor on surface elements and
...
FlowRegime to wing definitions). (Daniel)
//amended according to James hints: change initializer to float constants, fix indention issues, add Math::polynomial and use it in Surface. (Henning)
2019-09-06 16:11:10 +02:00
Julian Smith
335547160c
src/Main/fg_init.cxx: use /sim/log-file-line to control output of file:line in logs.
...
We call sglog().setFileLine() in response to changes to /sim/log-file-line.
2019-09-04 10:55:43 +01:00
Julian Smith
10414fada4
src/GUI/new_gui.cxx: NewGUI::setStyle(): remove old nodes before copying across new style.
...
Previously old nodes that weren't in the new style, would be left in place,
leading to a confusing mix of styles sometimes.
2019-09-04 10:55:43 +01:00
Julian Smith
f3d1135320
Various fixes for building on OpenBSD.
2019-09-04 10:55:43 +01:00
James Turner
5615c39175
FGQCanvas: remove errant use of QQ.Window
2019-09-01 13:00:21 +01:00
James Turner
77ef2b6b7e
FGQCanvas: Fix UI visibility in daemon mode
2019-09-01 12:58:21 +01:00
James Turner
6e465f9dbe
FGQCanvas: Multi-window support (for RPi4)
...
To support EGLFS on the RPi4 dual outputs, enable multiple windows
within a single process.
2019-08-31 23:40:46 +01:00
Julian Smith
331ef3232f
src/Input/FGEventInput.cxx: FGEventInput::AddDevice(): fix incorrect use after delete.
...
Moved delete of inputDevice to after its use in a SG_LOG diagnostic.
2019-08-31 14:19:16 +01:00
xDraconian
6ce33fcb5c
Merge /u/ferranobon/flightgear/ branch next into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/171/
2019-08-28 02:52:57 +00:00
legoboyvdlp R
eafe5dadc0
Modify the update rate of the closest airport with METAR to 10 seconds.
2019-08-27 20:42:23 +01:00
Scott Giese
1ede51f3f6
Improved OSG Version detection.
2019-08-26 17:45:16 -05:00
Bertrand Coconnier
4f5f0f63fd
[JSBSim] <table> independent vars are now late bounded.
...
The existence of the property that is used for <table> independent vars is now checked during execution rather than when the XML definition is parsed. This relaxes the order in which filters, table and more generally flight controls need to be declared in the XML definition files.
2019-08-17 13:58:31 +02:00
Julian Smith
47eda6e539
src/Viewer/viewmgr.cxx:FGViewMgr::FGViewMgr(): avoid possible SEGV in previous commit.
...
It seems that sometimes /sim/current-view/view-number doesn't yet exist.
2019-08-14 16:00:44 +01:00
Julian Smith
f71624e170
src/Viewer/viewmgr.cxx: allow aircraft to set initial view number.
...
E.g. fgaddon/Aircraft/Icaro_MRX13/Icaro_Laminar_13_MRX-set.xml sets
/sim/current-view/view-number to 9.
It seems that recent View changes broke this, but this fix is in unchanged
code.
2019-08-14 11:07:32 +01:00