alvaroferran / bno055 Goto Github PK
View Code? Open in Web Editor NEWBNO055 Absolute orientation sensor board and library
BNO055 Absolute orientation sensor board and library
Good day sir alvaro ferran,
As I was strolling your code here for BNO055 I notice that in your set up for "initBNO055", your OPRMode was modified in CONFIGMODE then set your own values like e.g: Ascale = 2g and Abw =ABW_31_25Hz. After that, you set your OPRMode in NDOF Mode at the end of the routine which NDOF Mode is under fusion mode.
Questions:
I've set my calibration before and would like to use this values so that I won't have to recalibrate the sensor every time it is powered on and perhaps use the NDOF feature of BNO055 but this limitations makes my goal hard in getting the navigational position in my project.
Regards,
mrrobles09
Hi,
If I understand correctly:
If the above are correct, then I think the readAbsAcc() function rotates the linear acceleration vector not back into the global frame but instead doubles the offset from the global frame.
If I am reading the function correctly, it multiplies qr(q^-1) where r is the linear acceleration vector. However, since q is the rotation from the initial (0,0,0) vector in the global frame to the current orientation, not the rotation needed to get to the initial vector in the global frame from the current orientation, I think the readAbsAcc() function instead needs to multiply (q^-1)rq.
I'm not 100% sure of this; please let me know if there is an error in my reasoning.
Thanks!
P.S. Thank you for posting your code! It's helped me a lot in understanding how to use the BNO055.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.