mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Ref T171, fetch interpolator values in emulated driver.
This allows to test and monitor the interpolator in the emulated driver. * UI allows to start/stop interpolator logging * Fetch data from interpolator
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "blackmisc/simulation/simulatedaircraft.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
#include "blackmisc/logcategorylist.h"
|
||||
#include "blackmisc/identifiable.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QScopedPointer>
|
||||
@@ -30,7 +31,7 @@ namespace BlackSimPlugin
|
||||
/**
|
||||
* Monitor widget for the pseudo driver
|
||||
*/
|
||||
class CSimulatorEmulatedMonitorDialog : public QDialog
|
||||
class CSimulatorEmulatedMonitorDialog : public QDialog, public BlackMisc::CIdentifiable
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -95,6 +96,12 @@ namespace BlackSimPlugin
|
||||
//! Reset statistics
|
||||
void resetStatistics();
|
||||
|
||||
//! Interpolator log button pressed
|
||||
void interpolatorLogButton();
|
||||
|
||||
//! Enable/disable the interpolation log buttons
|
||||
void enableInterpolationLogButtons(bool enable);
|
||||
|
||||
QScopedPointer<Ui::CSimulatorEmulatedMonitorDialog> ui;
|
||||
CSimulatorEmulated *m_simulator = nullptr;
|
||||
QTimer m_uiUpdateTimer { this };
|
||||
|
||||
Reference in New Issue
Block a user