-
大小: 7.16MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-09-22
- 語言: 其他
- 標簽: AHRS姿態(tài)??
資源簡介
航姿參考系統(tǒng)的上位機顯示,自己編寫的。包括基于stm32和MPU6050航姿參數(shù)考系統(tǒng)的下位機源代碼。支持自定義數(shù)據(jù)解碼,原始數(shù)據(jù)顯示,曲線顯示,openGL 3D顯示。

代碼片段和文件信息
//?AHRS_DIS.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“AHRS_DIS.h“
#include?“AHRS_DISDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAHRS_DISApp
BEGIN_MESSAGE_MAP(CAHRS_DISApp?CWinApp)
//{{AFX_MSG_MAP(CAHRS_DISApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAHRS_DISApp?construction
CAHRS_DISApp::CAHRS_DISApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAHRS_DISApp?object
CAHRS_DISApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAHRS_DISApp?initialization
BOOL?CAHRS_DISApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CAHRS_DISDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????463??2014-05-09?12:37??六軸運動傳感器實驗下位\Clear.bat
?????文件?????665862??2013-08-18?22:44??六軸運動傳感器實驗下位\MPU-6050寄存器映射.pdf
?????文件????1674761??2013-08-18?22:39??六軸運動傳感器實驗下位\MPU6050.PDF
?????文件????????566??2014-04-21?11:19??六軸運動傳感器實驗下位\README.txt
?????文件???????5386??2014-05-09?23:36??六軸運動傳感器實驗下位\例程說明.txt
?????文件???????3279??2014-05-06?15:02??六軸運動傳感器實驗下位\Project\stm32f10x_conf.h
?????文件???????8042??2014-05-02?22:07??六軸運動傳感器實驗下位\Project\stm32f10x_it.c
?????文件???????2086??2014-04-21?11:19??六軸運動傳感器實驗下位\Project\stm32f10x_it.h
?????文件??????36557??2014-04-21?11:19??六軸運動傳感器實驗下位\Project\system_stm32f10x.c
?????文件??????10625??2015-11-19?13:45??六軸運動傳感器實驗下位\Project\main.c
?????文件???????3642??2014-04-28?14:38??六軸運動傳感器實驗下位\Project\SouceInsight\list.txt
?????文件?????995328??2014-05-09?23:41??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.IAB
?????文件??????10048??2014-05-09?23:41??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.IAD
?????文件?????262144??2014-05-09?23:41??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.IMB
?????文件???????2888??2014-05-09?23:41??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.IMD
?????文件????????412??2014-05-09?23:41??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.PFI
?????文件????????776??2014-05-09?23:41??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.PO
?????文件??????32648??2014-05-09?23:40??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.PR
?????文件????1920548??2014-05-09?23:41??六軸運動傳感器實驗下位\Project\SouceInsight\TEST.PS
?????文件????????650??2014-04-21?11:19??六軸運動傳感器實驗下位\Project\MDK-ARM_V5.10\Jli
?????文件??????27335??2014-05-09?23:40??六軸運動傳感器實驗下位\Project\MDK-ARM_V5.10\Project.uvopt
?????文件??????24130??2015-11-19?13:45??六軸運動傳感器實驗下位\Project\MDK-ARM_V5.10\Project.uvprojx
?????文件??????23237??2014-05-09?23:40??六軸運動傳感器實驗下位\Project\MDK-ARM_V5.10\Project.uvproj.saved_uv4
?????文件??????23262??2015-11-19?13:45??六軸運動傳感器實驗下位\Project\MDK-ARM_V5.10\Project.uvoptx
?????文件??????72082??2015-11-19?13:45??六軸運動傳感器實驗下位\Project\MDK-ARM_V5.10\Project.uvguix.Administrator
?????文件?????189007??2015-11-17?17:38??六軸運動傳感器實驗下位\Project\MDK-ARM_V4.72A\Jli
?????文件????????650??2014-04-21?11:19??六軸運動傳感器實驗下位\Project\MDK-ARM_V4.72A\Jli
?????文件??????81010??2015-11-19?12:28??六軸運動傳感器實驗下位\Project\MDK-ARM_V4.72A\Project.uvgui.Administrator
?????文件??????79189??2015-11-17?17:38??六軸運動傳感器實驗下位\Project\MDK-ARM_V4.72A\Project.uvgui_Administrator.bak
?????文件??????29026??2015-11-19?12:28??六軸運動傳感器實驗下位\Project\MDK-ARM_V4.72A\Project.uvopt
............此處省略351個文件信息
評論
共有 條評論