Real Time Plotting of IMU data

19 ビュー (過去 30 日間)
Haris Bin Yousaf
Haris Bin Yousaf 2022 年 3 月 23 日
回答済み: Ryan Salvo 2022 年 9 月 8 日
Hey I want to plot real time sensor data for IMU sensor (accelration, angular velocity and mangnetometer) data. I thought of applying the infinite loop for this but that would give me sort of certain error/lag in determining the values on real time. Is there any other method of doing so?
I would be thankful if you would give me some sort of direction or code snippet.

回答 (1 件)

Ryan Salvo
Ryan Salvo 2022 年 9 月 8 日
Hi Haris,
I recommend using the timescope object to plot the data. In MATLAB, it is recommended to use a loop to read in the data, the example Estimating Orientation Using Inertial Sensor Fusion and MPU-9250 shows how to read IMU data.
Thanks,
Ryan

カテゴリ

Help Center および File ExchangeSensor Models についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by