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

📄 avoidanceview.h

📁 這是用fuzzy開發之自動避障系統
💻 H
字号:
// avoidanceView.h : interface of the CAvoidanceView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_AVOIDANCEVIEW_H__1C18C537_76A1_451E_B910_8A510DCB771C__INCLUDED_)
#define AFX_AVOIDANCEVIEW_H__1C18C537_76A1_451E_B910_8A510DCB771C__INCLUDED_

#include "Avoid.h"	// Added by ClassView
#include "Velocity.h"	// Added by ClassView
#include "CDIB.H"	// Added by ClassView
#include <afxtempl.h>
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define min(a, b)  (((a) < (b)) ? (a) : (b)) 

class CAvoidanceView : public CView
{
protected: // create from serialization only
	CAvoidanceView();
	DECLARE_DYNCREATE(CAvoidanceView)

// Attributes
public:
	CAvoidanceDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAvoidanceView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	void Decision();
	
	CArray<CPoint, CPoint> track;
	double veh_rad, sensor, sen_ang;
	double TC, Vavg;
	// TC = 锣

⌨️ 快捷键说明

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