Bno055 Euler Angle formula with i2c
이전 댓글 표시
Hello,
I'm currently attempting to output euler angles from my bno055 sensor. I was following a tutorial on how to connect a tmp102 temperature sensor using an arduino and they developed a formula for finding temperature(seen below). I have the current TMP102 data sheet open and cannot understand how this formula was created. I'm attempting to recreate a formula for determining current euler angles of my sensor and would appreciate any understanding or rationale behind how these formulas are made. If it helps, heres data sheet Im referencing for bno055: https://cdn-shop.adafruit.com/datasheets/BST_BNO055_DS000_12.pdf . Thanks!
write(BN055, 0, 'uint8');
data = read(BN055, 2, 'uint8');
Temeperature = (double(bitshift(int16(data(1)), 4)) + double(bitshift(int16(data(2)), -4))) * 0.0625
%%goal%%
write(BN055, 0, 'uint8');
data = read(BN055, 2, 'uint8');
EulerAngle = ' ... '
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Sensors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!