!22 云台接口优化

Merge pull request !22 from AiYangSky/changeIgimbal
This commit is contained in:
jario-jin
2023-10-14 08:19:40 +00:00
committed by Gitee
31 changed files with 1792 additions and 1218 deletions

View File

@@ -10,6 +10,10 @@
#define __SV_GIMBAL__
#include <string>
#include <map>
#include <iterator>
#include <thread>
#include <mutex>
namespace sv
{
@@ -21,7 +25,8 @@ namespace sv
enum class GimbalType
{
G1,
Q10f
Q10f,
AT10,
};
enum class GimbalLink
{
@@ -95,6 +100,10 @@ namespace sv
GimbalType m_gimbal_type;
GimbalLink m_gimbal_link;
static std::map<std::string, void *> IOList;
static std::mutex IOListMutex;
static void *creatIO(Gimbal *dev);
static void removeIO(Gimbal *dev);
public:
//! Constructor
/*!