wheel encoders + mpu605 differential drive mobile robot Odometry
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Brian Fanous
le 6 Sep 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
Voir également
Catégories
En savoir plus sur Simulink Supported Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!