Hello as title, I' d like to test the examples in Reefwing-AHRS library for Nano 33 BLE REV 2 (NOT SENSE) to test different filters behaviour, but the library doesn' t recognize my Nano 33 BLE Rev 2 with the BMI270 BMM150 not in "SENSE" version with the other sensors mounted.
Please, how modify the library to recognize this version of Nano BLE?
If the library does not support those sensors, you will have to modify it to do so. That is far from trivial.
Thanks Jremington. I modified the ReefwingAHRS.cpp to force so:
if (error == 0) {
setBoardType(BoardType::NANO33BLE_SENSE_R1);
setImuType(ImuType::LSM9DS1);
setDOF(DOF::DOF_9);
}
else {
Wire1.beginTransmission(HS3003_ADDRESS);
error = Wire1.endTransmission();
if (error == 0) {
setBoardType(BoardType::NANO33BLE_SENSE_R2);
setImuType(ImuType::BMI270_BMM150);
setDOF(DOF::DOF_9);
}
else {
setBoardType(BoardType::NANO33BLE_SENSE_R2);
setImuType(ImuType::BMI270_BMM150);
setDOF(DOF::DOF_9);
}
}
the example now compile and run correctly but it's a trick not so nice.
An update of the original library from the author David Such, would be better.