1、将工程从动态库变为命令行程序:修改pro文件、删除文件witmotiondll_global.h;
2、继承串口基类SerialPortBase实现串口类QtSerialport; 3、写维特惯导设置示例程序main.cpp;
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user