資源簡介
以STM32F407為硬件平臺,使用MPU9250結(jié)合mahony姿態(tài)融合算法,融合加速度計、磁力計、陀螺儀數(shù)據(jù)解算出表征姿態(tài)的四元數(shù),第二版修正輸出角度誤差
代碼片段和文件信息
#include?“mpu9250.h“
#include?“myiic.h“
#include?“delay.h“
#include?“usart.h“?
#include?“inv_mpu_dmp_motion_driver.h“
#include?“inv_mpu.h“
////////////////////////////////////////////////////////////////////////////////// ?
//本程序只供學(xué)習(xí)使用,未經(jīng)作者許可,不得用于其它任何用途
//ALIENTEK?STM32開發(fā)板
//MPU9250驅(qū)動代碼 ???
//正點原子@ALIENTEK
//技術(shù)論壇:www.openedv.com
//創(chuàng)建日期:2015/12/29
//版本:V1.1
//版權(quán)所有,盜版必究。
//Copyright(C)?廣州市星翼電子科技有限公司?2014-2024
//All?rights?reserved
//********************************************************************************
//修改說明
//20160905?V1.1
//9250集成的6500的ID可能有2個將MPU6500_ID改為MPU6500_ID1和MPU6500_ID2
//////////////////////////////////////////////////////////////////////////////////?
//初始化MPU9250
//返回值:0成功
//????其他錯誤代碼
signed?short?int?gyro_offsetx=-91gyro_offsety=
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????19342??2016-04-18?16:59??TESTVer.2.13\HARDWARE\eMPL\dmpKey.h
?????文件???????6765??2016-04-18?16:59??TESTVer.2.13\HARDWARE\eMPL\dmpmap.h
?????文件?????101166??2017-12-13?21:05??TESTVer.2.13\HARDWARE\eMPL\inv_mpu.c
?????文件???????5280??2017-12-13?10:40??TESTVer.2.13\HARDWARE\eMPL\inv_mpu.h
?????文件??????58492??2017-11-30?14:31??TESTVer.2.13\HARDWARE\eMPL\inv_mpu_dmp_motion_driver.c
?????文件???????3538??2016-04-18?16:59??TESTVer.2.13\HARDWARE\eMPL\inv_mpu_dmp_motion_driver.h
?????文件??????11169??2017-12-14?09:57??TESTVer.2.13\HARDWARE\mpu9250.c
?????文件???????6059??2017-12-13?18:47??TESTVer.2.13\HARDWARE\mpu9250.h
?????文件???????2810??2017-12-11?14:55??TESTVer.2.13\HARDWARE\myiic.c
?????文件???????1298??2017-11-29?20:23??TESTVer.2.13\HARDWARE\myiic.h
?????文件???????1070??2017-12-13?13:53??TESTVer.2.13\HARDWARE\timer.c
?????文件????????658??2017-12-13?13:53??TESTVer.2.13\HARDWARE\timer.h
?????文件????????399??2011-05-09?18:17??TESTVer.2.13\keilkill.bat
?????文件?????284203??2017-12-06?15:35??TESTVer.2.13\OBJ\ahrs.crf
?????文件????????589??2017-12-06?15:35??TESTVer.2.13\OBJ\ahrs.d
?????文件??????55607??2017-12-04?15:34??TESTVer.2.13\OBJ\data_builder.crf
?????文件???????1207??2017-12-04?15:34??TESTVer.2.13\OBJ\data_builder.d
?????文件?????156620??2017-12-04?15:34??TESTVer.2.13\OBJ\data_builder.o
?????文件?????266730??2017-12-14?09:36??TESTVer.2.13\OBJ\delay.crf
?????文件????????466??2017-12-14?09:36??TESTVer.2.13\OBJ\delay.d
?????文件?????287704??2017-12-14?09:36??TESTVer.2.13\OBJ\delay.o
?????文件??????42653??2017-12-04?15:34??TESTVer.2.13\OBJ\empl_outputs.crf
?????文件????????985??2017-12-04?15:34??TESTVer.2.13\OBJ\empl_outputs.d
?????文件??????56884??2017-12-04?15:34??TESTVer.2.13\OBJ\empl_outputs.o
?????文件?????????19??2017-12-08?18:45??TESTVer.2.13\OBJ\ExtDll.iex
?????文件??????50544??2017-12-04?15:34??TESTVer.2.13\OBJ\hal_outputs.crf
?????文件???????1185??2017-12-04?15:34??TESTVer.2.13\OBJ\hal_outputs.d
?????文件??????70424??2017-12-04?15:34??TESTVer.2.13\OBJ\hal_outputs.o
?????文件?????330047??2017-12-14?09:36??TESTVer.2.13\OBJ\inv_mpu.crf
?????文件???????1023??2017-12-14?09:36??TESTVer.2.13\OBJ\inv_mpu.d
............此處省略99個文件信息
- 上一篇:深信服AF高級考題--A卷
- 下一篇:網(wǎng)絡(luò)切片仿真.rar
評論
共有 條評論