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

📄 control.h

📁 这是用VC编程实现模糊控制来控制机器人的运动
💻 H
字号:
#if !defined(AFX_CONTROL_H__1A5FECDA_BD5D_11D5_8A75_444553540000__INCLUDED_)
#define AFX_CONTROL_H__1A5FECDA_BD5D_11D5_8A75_444553540000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Control.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CControl form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CControl : public CFormView
{
protected:
	CControl();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CControl)

// Form Data
public:
	//{{AFX_DATA(CControl)
	enum { IDD = IDD_DIALOG_CONTROL };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	float  RobotTheta;
	CPoint RobotCenter;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CControl)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CControl();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CControl)
	afx_msg void OnInitial();
	afx_msg void OnButton1();
	afx_msg void OnPortrait();
	afx_msg void OnStop();
	afx_msg void OnAccross();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONTROL_H__1A5FECDA_BD5D_11D5_8A75_444553540000__INCLUDED_)

⌨️ 快捷键说明

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