简体   繁体   中英

Is it possible to measure the distance with the mpu6050 from the starting point?

是否可以用 mpu6050(例如 gy521)以厘米或其他值来标记距离?

If you are asking only possible or not, then yes it is possible. For the orientation calculation you could search up madgwick mahogany approach. it is open source and available in C code.

For counting the distance it has traveled I recommend this video . If you want to calculate it by integrating it from acceleration itself. It will produce lots of error. his video is a good one if you can implement a Kalman filter if you have gps available.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM