forked from hydronautics-team/PoolsideGUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrovmodewidget.h
More file actions
53 lines (43 loc) · 1.14 KB
/
rovmodewidget.h
File metadata and controls
53 lines (43 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef ROVMODEWIDGET_H
#define ROVMODEWIDGET_H
#include <QSettings>
#include <QList>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QGraphicsPixmapItem>
#include <QGraphicsTextItem>
#include "UV/uv_state.h"
#include "UV/ibasicdata.h"
#include "ui_rovmodewidget.h"
#include "PicFrame/picframe.h"
#include "UV/iuserinterfacedata.h"
class ROVModeWidget : public QWidget, private Ui::ROVModeWidget
{
Q_OBJECT
signals:
void updateCompass(double yaw);
public:
explicit ROVModeWidget(QWidget *parent = nullptr);
float depthLin = 9.9546;
float depthOffset = 0;
public slots:
void updateVehicle();
void updateData();
void checkboxChecked(int i);
void resetImu();
void clearResetImu();
private:
QString settingsFile;
QSettings *settings;
QString currentVehicle;
QString currentConfiguration;
int thrustersCount;
QList<QProgressBar *> thrusterBarGroup;
QGraphicsScene *scene;
QGraphicsPixmapItem *picROV;
QGraphicsTextItem *txtCurrentYaw;
// Interface for accessing UVState object
IUserInterfaceData uv_interface;
void initializeData();
};
#endif // ROVMODEWIDGET_H