1,QGroundControl   Analyze功能以折线图的形式对传感器原始数据进行显示,有助于后期的调试。如下图所示:

QGC Analyze 功能提取


2,因项目需求,想使用这个模块,但是有不想使用QGC ,因为QGC太过庞大,操作也有点复杂,所以花了一点时间 将此功能单独摘了出来,效果如下:

QGC Analyze 功能提取


3,主要文件如下:

QGC Analyze 功能提取


4,使用方式 为调用LineChartWidget 的  appendData 槽函数 。

void appendData(int uasId, const QString& curve, const QString& unit, const QVariant& value, quint64 usec);

QGC Analyze 功能提取

5,可以将上述文件封装为一个dll库,作为单独的控件使用。但是此dll库需要引用qwt。

6,源码路径 http://download.csdn.net/download/weixin_38416696/10248181

相关文章:

  • 2021-11-13
  • 2021-10-01
  • 2021-12-15
  • 2021-04-03
  • 2022-12-23
  • 2021-07-22
  • 2021-09-23
  • 2021-10-29
猜你喜欢
  • 2021-08-08
  • 2021-10-15
  • 2021-04-21
  • 2021-08-22
  • 2021-12-02
  • 2022-03-10
  • 2022-01-09
相关资源
相似解决方案