很赞的入门指南~
收藏下,回头用!
收藏下,回头用!
请问能不能把库软件传一个
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
请教一个问题,如果两个MPU6050六轴传感器串联,那代码怎么写?
指定寄存器地址都是一样的么?Wire.write(0x3B);
缓存看说明是0x69(AD0=HIGH)和0x68,
但是是AD0通HIGH的MPU6050缓存是0x69还是与他串联的另一块板子缓存是0x69?
求指教!
谢谢
请问楼主,你这个算法,最后打印出来的roll和pitch角的旋转范围是多少?精度怎么样?
请问楼主,你这个算法,最后打印出来的roll和pitch角的旋转范围是多少?精度怎么样?
请问楼主,你这个算法,最后打印出来的roll和pitch角的旋转范围是多少?精度怎么样?
请问楼主,这两个方法在哪,可以发一下吗?
kalmanRoll.getAngle() 和 kalmanPitch.getAngle()
请问楼主,2.1加速度计中的举例“若设定为4g,取-32768时表示沿X轴正方向4倍的重力加速度”是否有误?
楼主能讲讲卡尔曼滤波顺便上传个卡尔曼滤波库不
请问楼主math.h是在哪,库里面没有呢
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++;
}吗
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++;
}吗