Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32 mpu9250 #14

Open
carbonadam opened this issue Mar 16, 2018 · 15 comments
Open

esp32 mpu9250 #14

carbonadam opened this issue Mar 16, 2018 · 15 comments

Comments

@carbonadam
Copy link

Any chance for a version without the sensor hub? eek:)

@kriswiner
Copy link
Owner

kriswiner commented Mar 16, 2018 via email

@carbonadam
Copy link
Author

A sketch for the mpu9250 for the esp32 using the Madgwick and/or Mahony filters

@kriswiner
Copy link
Owner

kriswiner commented Mar 16, 2018 via email

@carbonadam
Copy link
Author

I managed to get this one of yours to work
https://github.com/kriswiner/MPU9250/blob/master/MPU9250BasicAHRS.ino

Though its not written specifically for the esp32. I wonder how this compares to the sensor fusion hub output?

@kriswiner
Copy link
Owner

kriswiner commented Mar 16, 2018 via email

@carbonadam
Copy link
Author

Outstanding:) Any increases in accuracy if I was to use the floating point available on the esp32? Preferring this for the moment over the bno55.

@kriswiner
Copy link
Owner

kriswiner commented Mar 16, 2018 via email

@carbonadam
Copy link
Author

Right Calibration. Any tips to calibration using the code version I used?

@kriswiner
Copy link
Owner

kriswiner commented Mar 16, 2018 via email

@carbonadam
Copy link
Author

Hmm, compiling that seems to give me a bunch of problems with the librarys..any hints?

@kriswiner
Copy link
Owner

kriswiner commented Mar 16, 2018 via email

@carbonadam
Copy link
Author

more todo with the ESP8266WebServer.h: and queue.h..file not found..even though I copied in those libs

@kriswiner
Copy link
Owner

kriswiner commented Mar 16, 2018 via email

@carbonadam
Copy link
Author

got as far as commenting out the offending temperature and pressure reading..it compiles but no sensor readings updating
ax = 0.00 ay = 0.00 az = 0.00 mg
gx = 0.00 gy = 0.00 gz = 0.00 deg/s
mx = 0 my = 0 mz = 0 mG
q0 = 1.00 qx = 0.00 qy = 0.00 qz = 0.00
Gyro temperature is 28.7 degrees C
Digital temperature value = 0.00 C
Digital temperature value = 32.00 F
Digital pressure value = 0.00 mbar
Altitude = 145366.45 feet
Yaw, Pitch, Roll: 13.80, 0.00, 0.00
Grav_x, Grav_y, Grav_z: 0.00, 0.00, 1000.00 mg
Lin_ax, Lin_ay, Lin_az: 0.00, 0.00, -1000.00 mg
rate = 158308.53 Hz
ax = 0.00 ay = 0.00 az = 0.00 mg
gx = 0.00 gy = 0.00 gz = 0.00 deg/s
mx = 0 my = 0 mz = 0 mG
q0 = 1.00 qx = 0.00 qy = 0.00 qz = 0.00
Gyro temperature is 28.7 degrees C
Digital temperature value = 0.00 C
Digital temperature value = 32.00 F
Digital pressure value = 0.00 mbar
Altitude = 145366.45 feet
Yaw, Pitch, Roll: 13.80, 0.00, 0.00
Grav_x, Grav_y, Grav_z: 0.00, 0.00, 1000.00 mg
Lin_ax, Lin_ay, Lin_az: 0.00, 0.00, -1000.00 mg
rate = 158305.33 Hz

@kriswiner
Copy link
Owner

kriswiner commented Mar 17, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants