新版布局
This commit is contained in:
+3
-1
@@ -32,6 +32,9 @@ private slots:
|
||||
private:
|
||||
QPushButton* makeDirButton(const QString& text, const QString& dir);
|
||||
void sendDirCommand(); // 按当前按住的方向组合下发(档位与转向可同时)
|
||||
void updateAlarm(); // 横幅:通信异常 / 机械臂未回位时驱动底盘
|
||||
bool armNotStowed() const; // 任一关节角偏离收起姿态(全零)
|
||||
bool chassisDriving() const; // 面板方向键按住,或遥控器正在推杆
|
||||
|
||||
TitleBar* m_titleBar = nullptr;
|
||||
StatusStrip* m_statusStrip = nullptr;
|
||||
@@ -42,7 +45,6 @@ private:
|
||||
DataCard* m_chassisCard = nullptr;
|
||||
ParamControl* m_speed = nullptr;
|
||||
QTimer* m_saveTimer = nullptr;
|
||||
int m_chassisFieldFault = -1;
|
||||
QVector<QPushButton*> m_dirButtons;
|
||||
QSet<QString> m_heldDirs; // 当前按住的方向,可多键同时按
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user