followcommand.cpp
来自「上海广茂达as-r机器人避障程序」· C++ 代码 · 共 24 行
CPP
24 行
#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 + =
减小字号Ctrl + -
显示快捷键?