wheel encoders + mpu605 differential drive mobile robot Odometry
조회 수: 20 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Brian Fanous
2022년 9월 6일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!