kriswiner / ESP32

Arduino sketches for the ESP32
167 stars 47 forks source link

Is esp32 fast enough for ahrs using magwick or ekf #20

Open shomedas opened 5 years ago

shomedas commented 5 years ago

I tried the esp32_5637 code on Arduino Nano. I am unable to get rid of drift. Is esp32 fast enough for sensor fusion at high frequencies? I need to synchronise the angle measurement with a 30fps camera

kriswiner commented 5 years ago

Should be. You can also try the various STM32L4 devices here https://www.tindie.com/stores/TleraCorp/ if you don't need wifi and/or want ultra-low-power. Most important consideration after sensor suite is proper calibration.

On Thu, Apr 4, 2019 at 11:38 AM shomedas notifications@github.com wrote:

I tried the esp32_5637 code on Arduino Nano. I am unable to get rid of drift. Is esp32 fast enough for sensor fusion at high frequencies? I need to synchronise the angle measurement with a 30fps camera

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/ESP32/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qlx24C1TZv_jRL3N3Me1EpZj2m7Qks5vdkawgaJpZM4cdc3I .

shomedas commented 5 years ago

I have calibrated the magnetometer using ellipsoid method. For accelerometer I have removed offset using your code. For gyroscope I used your 5637 code. But the gyro error was in tens of millidps

What is the throughput that you have observed with esp32 and 9250