1、将工程从动态库变为命令行程序:修改pro文件、删除文件witmotiondll_global.h;

2、继承串口基类SerialPortBase实现串口类QtSerialport;
3、写维特惯导设置示例程序main.cpp;
This commit is contained in:
tangchao0503
2022-06-20 15:30:16 +08:00
parent 15580116d1
commit 3c0ba621ac
7 changed files with 230 additions and 38 deletions

View File

@ -1,8 +1,6 @@
#ifndef WITMOTIONDLL_H
#define WITMOTIONDLL_H
#include "witmotiondll_global.h"
#include <iostream>
#include <string>
#include <thread>
@ -13,7 +11,7 @@
typedef void (*delay)(uint32_t millisecond);
typedef void (*witPrintf)(const char* text);
class WITMOTIONDLLSHARED_EXPORT WitmotionDll
class WitmotionDll
{
public: