Comments (6)
Hi @hubble14567
Thank you!
We'll take a look at this soon. Is this all changes you propose to add? May I suggest using a PR for this?
from navio2.
Hi,
Is this all changes you propose to add? Yes
May I suggest using a PR for this? If you want, yes you can do so.
I never (realy) used github before, this comment was a while ago and I don't have my Navio anymore (so I cannot troubleshoot and create a good PR myself). I simply posted this to quickly help other people with a problem I solved. Do whatever your think is best with my original post.
from navio2.
Got it, thanks.
from navio2.
@AlexanderDranitsa @hubble14567 the LSM9DS1 driver outputs is data to match the MPU9250 axis orientation. Could be that the source of the issue? This behavior kind of confusing and it is not well documented (that is why the axis change may seem quite arbitrary), but I think it is made this way so the AHRS algorithms supplied by Emlid work with any of the two IMU.
from navio2.
@gmsanchez I don't remember using the MPU9250 (had some issues, and LSM9DS1 was working fine), so I cannot tell you if the axis of both match. Also did not use the AHRS from Navio. Your theory is possible.
Nonetheless the coordinate system is highly confusing, and I would also change it on the MPU9250 if it is the same. The norm for coordinate systems should be x forward (that's the arrow one the Navio), z down and (most importantly) y in a way that creates an orthogonal direct coordinate system. LSM9DS1 coordinates system for the acc and gyro were a mess in that regard and were not even the same.
from navio2.
Something similar happened to me a while ago, when I needed the axis to conform to ENU. I suggest you download both the LSM9DS1 and the MPU9250 datasheet and see how their axis are oriented on the Navio2. Then try to apply the LSM9DS1 axis the same operations as the ones that are made in the driver. After that, they should match the MPU9250 or at least you can make sure where each axis is pointing.
from navio2.
Related Issues (20)
- build AHRS with CC. HOT 2
- Add support for GPS NAV-PVT messages HOT 1
- Broken URL in AHRS.hpp comment
- GPS frequency heavily influenced by SPI baudrate HOT 10
- Navio2 Python - pwm cleanup problem
- make ADC_Navio2::initialize() return bool HOT 2
- pigpio.h no such file or directory: on master branch HOT 2
- What is the axes orientation for the output from AHRS and AccelGyroMag examples
- Pwm: Are the pwm units same for cpp and Python
- Wrong magnetometer values by driver LSM9DS1. HOT 1
- MPU9250 can't init AK8963 correctly. HOT 2
- Information on Python version HOT 8
- Circuit schematic HOT 1
- Is Navio2 compatible with the new Raspberry Pi4? HOT 2
- GPS not working with latest version of emlid-raspbian and APM HOT 1
- Operation not permitted pwm HOT 6
- Unexpected behavior with Servo example
- unexpected error when following navio2 ros documentation
- Unreachable code for python barometer library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navio2.