C语言 | 基于51单片机实现MPU6050的卡尔曼滤波算法(代码类1)
生活随笔
收集整理的這篇文章主要介紹了
C语言 | 基于51单片机实现MPU6050的卡尔曼滤波算法(代码类1)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
github:https://github.com/MichaelBeechan
CSDN:https://blog.csdn.net/u011344545
===========================代碼塊=====================================
#include <REG52.H> #include <math.h> #include <stdio.h> #include <INTRINS.H>typedef unsigned char uchar; typedef unsigned short ushort; typedef unsigned int uint;//******功能模塊頭文件******* #include "MPU6050.H" //MPU6050頭文件 #include "LCD1602.H"uchar dis[4]; int Temperature,Temp_h,Temp_l; //溫度及高低位數(shù)據(jù) //******角度參數(shù)************ float Gyro_y; //Y軸陀螺儀數(shù)據(jù)暫存總結(jié)
以上是生活随笔為你收集整理的C语言 | 基于51单片机实现MPU6050的卡尔曼滤波算法(代码类1)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C语言 | 求1000以内的所有完数及求
- 下一篇: 开发实践 | android网络通信 接