⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 followcommand.cpp

📁 上海广茂达as-r机器人避障程序
💻 CPP
字号:
#include "stdafx.h"
#include "FollowCommand.h"
#include "AVOIDDlg.h"

HERROR  __stdcall CFollowCommand::Execute(LPVOID pgo)
{    
	
    CAVOIDDlg*pWnd=(CAVOIDDlg*):: AfxGetMainWnd();
	  m_pImageProcess = pWnd->GetImageProcess();
	  COLOR_INFO info;
	  COLOR_DESC desc = {COLOR_RED,30,250};
      m_pImageProcess->GetColorInfo(desc,info);//jiajuece!!
	  pWnd->TraceDecide(info.nArea,info.nX,info.nY);
	return TRUE;
}

CFollowCommand::CFollowCommand()
{
	m_pImageProcess = NULL;
}

CFollowCommand::~CFollowCommand()
{
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -