MiloMindbender

Results 28 comments of MiloMindbender

It's not building for me, MadgwickQuaternionUpdate not declared in this scope. Did I miss a library/file I need to get from someplace else? Didn't see anything in a readme.

Sorry to be such a dummy, but now I'm getting errors in the wire.h include file. In file included from C:\Users\gcorson\Downloads\ESP32-master\ESP32-master\MPU9250_MS5637\MPU9250_MS5637_AHRS\MPU9250_MS5637_AHRS.ino:29:0: C:\Users\gcorson\Documents\Arduino\hardware\espressif\esp32\libraries\Wire\src/Wire.h: In function 'uint8_t readByte(uint8_t, uint8_t)': C:\Users\gcorson\Documents\Arduino\hardware\espressif\esp32\libraries\Wire\src/Wire.h:99:13: note: candidate...

@kriswiner Sorry, apparently it still built, but when I run it doesn't connect to my MPU9250 [V][esp32-hal-i2c.c:1436] i2cInit(): num=0 sda=21 scl=22 freq=400000 [V][esp32-hal-i2c.c:1621] i2cSetFrequency(): Fifo threshold=9 Scanning... No I2C devices...

Looks like pins 21 and 22 are not the SDA and SCL pins on my ESP32. Changed to Wire.begin() Now it finds the chip, but the output I get for...

I just noticed this, your hookup guide in the comments didn't mention the interrupt pin at all so I missed it. Is there a sketch that doesn't need the interrupt...

I should say, thanks very much for all your work, it is really appreciated. I've been having so much trouble ferriting out stuff that works. Sparkfun has 3 repositories for...

My issue (and maybe this isn't really an issue) is if my main loop is 100hz and I set the IMU to 100hz they will gradually drift out of sync...

@kriswiner don't know if I was clear earlier, I'm using an ESP32 microcontroller 240hz dual core. Should be much faster than an AVR or 8266. I got your MPU9250_MS5637_AHRS code...

I'm just running your MPU9250_MS5637_AHRS code and doing the mag calibration that's included. I haven't changed anything else. Do I need to do separate accel/gyro calibration? I'm not looking for...

Honestly sorry if I'm being a pain. I was under the impression that the sketch was basic example of doing it correctly but you seem to be saying sensor data...