Commit Graph

4424 Commits

Author SHA1 Message Date
Klaus Basan
d995bcf59c Ref T126, fixed too early timeout
* use timeout timestamp
* used approch with trials was wrong, as number of trials also depends on number of reader
2017-09-24 19:52:58 +01:00
Klaus Basan
f694ded5f2 Preparation of T126: Minor tweaks, renaming and formatting of InfoDataReader
* unified member access (this->m_xy => m_xy)
* set object name of readers
* waitForSharedInfoObjectsThenRead (not just waiting, also reading afterwards)
2017-09-24 19:52:56 +01:00
Mathew Sutcliffe
2387edb5a0 Removed C++14 digit separator as it confuses doxygen.
See https://bugzilla.gnome.org/show_bug.cgi?id=786382
2017-09-24 19:52:54 +01:00
Mathew Sutcliffe
1888367e95 T37 T134 Removed asserts that reflect broken assumptions. 2017-09-24 19:52:53 +01:00
Mathew Sutcliffe
1cd471873f T37 T133 removeOutdatedParts shall always preserve one outdated parts
to make sure there is enough information to reliably interpolate.
2017-09-24 19:52:51 +01:00
Mathew Sutcliffe
de13fc51cb T37 T130 Workaround to consolidate time offset to all places it is needed. 2017-09-24 19:52:50 +01:00
Mathew Sutcliffe
f9ae3efaa3 T37 Avoid division by zero in case time offset is zero. 2017-09-24 19:52:49 +01:00
Mathew Sutcliffe
98e0f8c875 T37 T127 Send timestamps to XSwiftBus as separate timestamp and offset
as the offset is needed for reliable interpolation.
2017-09-24 19:52:46 +01:00
Mathew Sutcliffe
aaeb2e8ceb T37 Fixed wrong parameter names. 2017-09-24 19:52:44 +01:00
Roland Winklmeier
c91aa0d58e Change template parameter to disambiguate call to QLatin1String constructor
Summary:
Qt 5.10 added a new constructor overload which made the call to QLatin1String
constructor with size_t as second parameter ambigious.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D47
2017-09-24 19:52:41 +01:00
Mathew Sutcliffe
05c0d046aa Removed outdated todos. 2017-09-24 19:52:37 +01:00
Klaus Basan
3f924209f1 As a follow up of review T111, changed "void static" to "static void" for consistency. 2017-09-24 19:52:31 +01:00
Klaus Basan
addb008ffa Pass back URLs for changed URL check. This allows to display the changed locations. 2017-09-24 19:52:28 +01:00
Klaus Basan
e89d7d7b15 Log status when news is received 2017-09-24 19:52:25 +01:00
Klaus Basan
8119aafca4 Move URLs getter to cpp. This is a tweak so I can easily change the URLs for testing. 2017-09-24 19:52:22 +01:00
Klaus Basan
991cc3463d Ref T117, check equal models before publishing
* checkbox, check can be disabled
* context menu to display changed attributes in popup
2017-09-24 19:52:19 +01:00
Klaus Basan
5a67276fbb Ref T117, utility functions for reader
* isDbModelEqualForPublishing
* getModelForDbKey(int
2017-09-24 19:52:16 +01:00
Klaus Basan
fe3368e1f4 Ref T117, formatting 2017-09-24 19:52:15 +01:00
Klaus Basan
9903d518b0 Ref T117, utility functions
* detect equal models (equal in sense of "equal for publishing", not ==)
* severity functions for message list
2017-09-24 19:52:14 +01:00
Klaus Basan
da47be641a Typo 2017-09-24 19:52:11 +01:00
Klaus Basan
f972fdf715 Ref T111, show sending and receiving API calls by LED
* monitor and log own signals
* indcated receiving and sending
2017-09-24 19:52:10 +01:00
Klaus Basan
766c32e25d Removed unused member 2017-09-24 19:52:09 +01:00
Klaus Basan
c2ff451415 Ref T111, blink function for LED 2017-09-24 19:52:08 +01:00
Klaus Basan
ccdfa8e12f Ref T111, allow to search for location in coordinate form 2017-09-24 19:52:07 +01:00
Klaus Basan
bb4f0e7a13 Ref T111, search for location/name 2017-09-24 19:52:06 +01:00
Klaus Basan
58b5dd1278 Using std::copysign 2017-09-24 19:52:05 +01:00
Klaus Basan
0117558ea7 Formatting 2017-09-24 19:52:04 +01:00
Klaus Basan
2805979577 Fixed setting altitude of airport 2017-09-24 19:52:02 +01:00
Klaus Basan
1ec3f4566d Ref T111, aligned cockpit UI elements
* naming
* allow to set cockpit values by simulated aircraft
2017-09-24 19:52:01 +01:00
Klaus Basan
753bbc1847 Ref T111, using a simulated aircraft to represent emulated driver's own aircraft (this is the aircraft a user would fly in a real simulator)
* change functions for that aircraft
* support for SELCAL
* removed unused function
* adjusted simulated aircraft monitor
** unified naming of functions
** support for text/status messages
2017-09-24 19:52:00 +01:00
Klaus Basan
71fa0fc7b8 Ref T111, handle SELCAL in simulator context (fix, was missing so far) 2017-09-24 19:51:59 +01:00
Klaus Basan
7cc723c7c3 Ref T111, in provider allow to set cockpit by simulated aircraft 2017-09-24 19:51:58 +01:00
Klaus Basan
d583808a4a Ref T111, ignore incomplete SELCAL codes (and do not use ASSERT) 2017-09-24 19:51:57 +01:00
Klaus Basan
ea6cf20587 Ref T111, allow to set cockpit by passing another simulated aircraft 2017-09-24 19:51:56 +01:00
Klaus Basan
66773d7593 Ref T111, allow to set SELCAL in simulator 2017-09-24 19:51:55 +01:00
Klaus Basan
266a418c90 Ref T111, allow to limit entries in log component 2017-09-24 19:51:54 +01:00
Klaus Basan
4c8ae06eff Ref T111, use COM form in CCockpitComponent 2017-09-24 19:51:53 +01:00
Klaus Basan
ed15a9ee71 Ref T111, cockpit COM form to be used with dummy driver and CCockpitComComponent
Remark: This is an UI only form, without context
2017-09-24 19:51:52 +01:00
Klaus Basan
31d398ffc8 Ref T111, some cleanup of XPDR mode and SELCAL selector 2017-09-24 19:51:50 +01:00
Klaus Basan
4013154a20 Ref T111, cockpit COM form to be used in cockpit component and dummy driver 2017-09-24 19:51:49 +01:00
Klaus Basan
9040665173 Ref T111, some cleanup of cockpit component
(preparation for next steps)
2017-09-24 19:51:48 +01:00
Klaus Basan
f3d75fde53 Ref T111, hide "?" in details window 2017-09-24 19:51:47 +01:00
Klaus Basan
1387573e5b Ref T112, moved simulator settings in subdir/settings namespace 2017-09-24 19:51:46 +01:00
Klaus Basan
f3847bd33c Ref T121, check if Internet is accessible
* in case the internet provider is down, this is not detected
* extended test to detect if access is possible
* in case of downtime this indicated in status component
2017-09-24 19:51:44 +01:00
Klaus Basan
b70fb70d60 Ref T111, renamed dummy driver to CSimulatorEmulated 2017-09-24 19:51:43 +01:00
Klaus Basan
2ede2633b8 Ref T111, use aircraft parts form in dummy driver 2017-09-24 19:51:41 +01:00
Klaus Basan
90b757473c Ref T111, changed internals page to use aircraft parts form 2017-09-24 19:51:40 +01:00
Klaus Basan
eea6039d58 Ref T111, created aircraft parts form to be used in internals and dummy driver 2017-09-24 19:51:39 +01:00
Klaus Basan
7939fd0184 Ref T111, coordinate form UI adjustments 2017-09-24 19:51:38 +01:00
Klaus Basan
e3254d028d Fixed wrong UI component name to CCockpitComComponent 2017-09-24 19:51:37 +01:00