化银 发表于 2015-9-16 18:04:26

很赞的入门指南~

wetnt 发表于 2015-9-17 18:37:40

收藏下,回头用!

simple_he 发表于 2015-10-22 17:30:28

收藏下,回头用!

bysgwg 发表于 2016-9-28 19:02:39

请问能不能把库软件传一个

刘小白_xl 发表于 2016-10-13 10:37:53

顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶

obersteinparis 发表于 2016-10-21 23:53:04

请教一个问题,如果两个MPU6050六轴传感器串联,那代码怎么写?
指定寄存器地址都是一样的么?Wire.write(0x3B);

缓存看说明是0x69(AD0=HIGH)和0x68,
但是是AD0通HIGH的MPU6050缓存是0x69还是与他串联的另一块板子缓存是0x69?

求指教!
谢谢

xiaocaicai 发表于 2016-11-23 16:21:16

请问楼主,你这个算法,最后打印出来的roll和pitch角的旋转范围是多少?精度怎么样?

xiaocaicai 发表于 2016-11-23 16:21:27

请问楼主,你这个算法,最后打印出来的roll和pitch角的旋转范围是多少?精度怎么样?

xiaocaicai 发表于 2016-11-23 16:21:52

请问楼主,你这个算法,最后打印出来的roll和pitch角的旋转范围是多少?精度怎么样?

xiaocaicai 发表于 2016-11-23 18:53:03

请问楼主,这两个方法在哪,可以发一下吗?
kalmanRoll.getAngle() 和 kalmanPitch.getAngle()

人猿星星 发表于 2016-11-26 21:17:11

请问楼主,2.1加速度计中的举例“若设定为4g,取-32768时表示沿X轴正方向4倍的重力加速度”是否有误?

wjsxht 发表于 2017-3-10 16:37:31

楼主能讲讲卡尔曼滤波顺便上传个卡尔曼滤波库不

wjsxht 发表于 2017-3-13 13:50:27

请问楼主math.h是在哪,库里面没有呢

wjsxht 发表于 2017-3-13 14:57:46

void ReadAccGyr(int *pVals) {
Wire.beginTransmission(MPU);
Wire.write(0x3B);
Wire.requestFrom(MPU, nValCnt * 2, true);
Wire.endTransmission(true);
for (long i = 0; i < nValCnt; ++i) {
    pVals = Wire.read() << 8 | Wire.read();
}
}
这个地方是不是有问题,不应该是for (long i = 0; i < nValCnt; ++i) {
    *pVals = Wire.read() << 8 | Wire.read();
   pVals++;
}吗

wjsxht 发表于 2017-3-13 16:39:22

void ReadAccGyr(int *pVals) {
Wire.beginTransmission(MPU);
Wire.write(0x3B);
Wire.requestFrom(MPU, nValCnt * 2, true);
Wire.endTransmission(true);
for (long i = 0; i < nValCnt; ++i) {
    pVals = Wire.read() << 8 | Wire.read();
}
}
这个地方是不是有问题,不应该是for (long i = 0; i < nValCnt; ++i) {
    *pVals = Wire.read() << 8 | Wire.read();
   pVals++;
}吗
页: 1 [2] 3
查看完整版本: Arduino教程:MPU6050的数据获取、分析与处理