wheel encoders + mpu605 differential drive mobile robot Odometry
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello dear reader
I have been experimenting for months but coudln't get a precise solution to my problme, which is:
- I wish to detect ticks from my encoder in matlab code, Not Simulink. i can't find any function that does that. (Interrupts)
- I wish to find my robot's orientation from my MPU6050 sensor.
- How do i combine these outputs to get a good estimate of my robot's position to feed them to my closed loop controller in simulink.
- Have a wonderful day
0 Commenti
Risposte (1)
Brian Fanous
il 6 Set 2022
You can read data from an mpu650 using an Arduino as described here:
If you simply want to determine orientation consider following this example
but use the imufilter or complementaryFilter as there is no magnetometer present in your setup.
If you would like to fuse wheel encoder ticks and IMU data you should consider using the insEKF filter
Vedere anche
Categorie
Scopri di più su Simulink Supported Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!