Comments (36)
Ups! What happend to the font size?
from esp32.
from esp32.
Thank you for your reply. That was very quick! : )
When i point the X or Y axis exactly to north, i get +/- 180° for roll, +/- 0° for pitch and around 70° for yaw.
If it's stabil i can work with it, because i can do the offset later in my 3d program.
But why is the yaw not +/- 90 °?
from esp32.
another thing i just realized:
When i want to make the pitch a 360° turn, after arround 90° it goes back 89°, 87°, 86°, ... 0° instead of 91°, 92°,93°, ... 360°.
from esp32.
ok, after some calibration test, now i got 0° for all angles.
But i still have the Problem with the Pitch rotation. It allways goes back after a 90° turn.
What could cause this problem?
from esp32.
from esp32.
where can i make these settings or find out?
from esp32.
from esp32.
I'm using your code "MPU9250_MS5637_AHRS.ino" and up to now i didn't change very mutch. Actually just a couple of snippets to get a Midi Signal out.
from esp32.
from esp32.
i tried both: the MahonyQuaternion and MadgwickQuaternion and both together.
In all cases the same result! : (
from esp32.
from esp32.
actually this are just 2 options, right. NED and ENU.
I tried both versions of calibration. so one should have been right.
Or do i have to change the code anyway?
from esp32.
from esp32.
well, in the code is the order x, y, z.
If i point x to north, than has the sensor be down, right.
from esp32.
from esp32.
MahonyQuaternionUpdate(ax, ay, az, gxPI/180.0f, gyPI/180.0f, gz*PI/180.0f, mx, my, mz);
from esp32.
from esp32.
isn't it?
from esp32.
you mean during the calibration?
from esp32.
from esp32.
from esp32.
but in the code isn't defined which axis needs to pint to north
from esp32.
point
from esp32.
from esp32.
during calibration, right
from esp32.
you mean the order in this line is wrong?
MahonyQuaternionUpdate(ax, ay, az, gxPI/180.0f, gyPI/180.0f, gz*PI/180.0f, mx, my, mz);
from esp32.
from esp32.
i just try to understand the code!
from esp32.
from esp32.
when i understand you right, then means NED:
MahonyQuaternionUpdate(ax, ay, az, gxPI/180.0f, gyPI/180.0f, gz*PI/180.0f,
mx, my, mz);
when x axis is pointing north with z axis is down.
and ENO:
MahonyQuaternionUpdate(ay, ax, az, gyPI/180.0f, gxPI/180.0f, gz*PI/180.0f,
my, mx, mz);
when y axis is pointing north with z axis is up.
from esp32.
of course i don't want to waste your time!
i will find the solution!
Thanks for everything : )
from esp32.
from esp32.
you mean the data sheet for mpu9250?
from esp32.
from esp32.
no, i'm using MPU9250.
Thanks! : ) i will check the data sheet tomorrow.
no i need to go to sleep ; ) it's 4:37
from esp32.
Related Issues (20)
- Esp32_arduino_wifierror HOT 1
- Esp32 compiling guide HOT 2
- Yaw resets to previous value HOT 6
- esp32 mpu9250 HOT 15
- general esp32 / mpu question HOT 6
- Problem gyro bias HOT 5
- Which is better to use for ESP32 and Sparkfun 9250 breakout? HOT 25
- Problem with Roll,pith and yaw HOT 5
- Is esp32 fast enough for ahrs using magwick or ekf HOT 2
- Is the rate calculation correct? HOT 1
- What is the best value for pull up resistance on SDA and SCL for MPU9250 when used with ESP32 HOT 1
- ESP32 only MPU9250 without MS5637 HOT 5
- Is a WHO_AM_I response of "0x70" a sure sign of a MPU6500? HOT 3
- Image HOT 3
- Can not upload sketches HOT 4
- WiFi Example: HOT 9
- Question on Switching Wire Library to i2c_t3 HOT 2
- Not Issue Just Info on boards.txt
- failed to load bootloader header! error with new esp32 lib/ide 1.8.2 HOT 36
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 esp32.