You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1000 B
C++

#pragma once
#include "ExportSimpleImgShow.h"
#include <opencv2\opencv.hpp>
#include "ShadeButtonST.h"
#include "afxwin.h"
#include "JoyStickControlDlg.h"
// CSendControlCommand 对话框
class CSendControlCommand : public CDialogEx
{
DECLARE_DYNAMIC(CSendControlCommand)
public:
CSendControlCommand(CWnd* pParent = NULL); // 标准构造函数
virtual ~CSendControlCommand();
// 对话框数据
enum { IDD = IDD_DLG_SENDCONTROLCOMMAND };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
// 手动搜索控件变量
CExportSimpleImgShow *m_wndManual_Search;
cv::Mat m_ManualSearchImg; // 底图
int m_Speed; // 手动搜索指令盘速度
int m_Speed_UpDown; // 上下移动速度
int m_Speed_LeftRight; // 左右移动速度
public:
void ShowManualSearchImg( double Angle, double Ratio);
virtual BOOL OnInitDialog();
afx_msg void OnTimer(UINT_PTR nIDEvent);
//手动搜索指令盘
LRESULT ManualSpeed(WPARAM wParam, LPARAM lParam);
afx_msg void OnDestroy();
};