feat: 改写GIGE协议

This commit is contained in:
2026-01-16 18:07:52 +08:00
parent ff4a4cabc8
commit 8b07397b5b
11 changed files with 321 additions and 97 deletions

View File

@@ -52,6 +52,7 @@ private slots:
// GVSP数据处理槽函数
void onImageReceived(const QImage &image, uint32_t blockId);
void onDepthDataReceived(const QByteArray &depthData, uint32_t blockId);
void onPointCloudDataReceived(const QByteArray &cloudData, uint32_t blockId);
void onPointCloudReady(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud, uint32_t blockId);
// 设备扫描槽函数
@@ -140,7 +141,8 @@ private:
QListWidget *m_deviceList;
// 统计信息控件
QLabel *m_fpsLabel;
QLabel *m_depthFpsLabel;
QLabel *m_pointCloudFpsLabel;
QLabel *m_resolutionLabel;
QLabel *m_queueLabel;
@@ -149,11 +151,17 @@ private:
QPushButton *m_clearLogBtn;
QPushButton *m_saveLogBtn;
// 统计数据
QDateTime m_lastFrameTime;
int m_frameCount;
int m_totalFrameCount;
double m_currentFps;
// 统计数据 - 深度图
QDateTime m_lastDepthFrameTime;
int m_depthFrameCount;
int m_totalDepthFrameCount;
double m_currentDepthFps;
// 统计数据 - 点云
QDateTime m_lastPointCloudFrameTime;
int m_pointCloudFrameCount;
int m_totalPointCloudFrameCount;
double m_currentPointCloudFps;
};
#endif // MAINWINDOW_H