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

📄 kalmanview.h

📁 基于VC环境下的组合导航卡尔曼滤波仿真器设计
💻 H
字号:
// KalmanView.h : interface of the CKalmanView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_KALMANVIEW_H__83FF5C4F_9BE1_4220_A126_B4E255501982__INCLUDED_)
#define AFX_KALMANVIEW_H__83FF5C4F_9BE1_4220_A126_B4E255501982__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


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

// Attributes
public:
	CKalmanDoc* GetDocument();

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	double GassRand(int rr);
	BOOL ContrayMat(int n,float a[]);
	BOOL SubMat(int m,float a[],int n,float b[]);
	BOOL PlusMat(int m,float a[],int n,float b[]);
	BOOL MultiMat(int m,float a[],int n,float b[],float multi[]);
	void ReserMat(int n,float a[],float b[]);
	//{{AFX_MSG(CKalmanView)
	afx_msg void OnDrgps();
	afx_msg void OnGass();
	afx_msg void OnArea();
	afx_msg void OnReaddata();
	afx_msg void OnNum();
	afx_msg void OnLine();
	afx_msg void OnLinedata();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
//	float Xkgj[6][1];
//	float Xkyc[6][1];
//	float Kk[6][4];
//	float Hk[4][6];
//	float Pk[6][6];
//	float Pkyc[6][6];
//	float Zk[4][1];
//	float ZTZY[6][6];
//	float Rk[4][4];
//	float Qk[6][6];
//	float Zkyc[4][1];
};

#ifndef _DEBUG  // debug version in KalmanView.cpp
inline CKalmanDoc* CKalmanView::GetDocument()
   { return (CKalmanDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_KALMANVIEW_H__83FF5C4F_9BE1_4220_A126_B4E255501982__INCLUDED_)

⌨️ 快捷键说明

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