Could i use mpu9250 in to the IMUFusionSimulinkModel?

9 ビュー (過去 30 日間)
yong-siang zhang
yong-siang zhang 2020 年 8 月 6 日
コメント済み: Amrtanshu Raj 2020 年 9 月 10 日
Could i use mpu9250 in to the IMUFusionSimulinkModel?
I don't know how to place the MPU9250 in the example?
Can it work?

回答 (1 件)

Amrtanshu Raj
Amrtanshu Raj 2020 年 9 月 9 日
Hi,
You can interface the MPU-9250 in Simulink via Arduino Hardware Support Package.
The steps for the implementation will be as follows:
  1. Install and setup the required Support package
  2. Make the required connections
  3. Use the MPU-9250 Arduino Simulink Block
  4. Interface the block with the Simulink example
Hope this helps !!
  2 件のコメント
yong-siang zhang
yong-siang zhang 2020 年 9 月 10 日
HI,
Amrtanshu Raj.
Thanks a lot.
But I have tried this method before, and it still failed.
I have a problem with the matrix, and it doesn't seem to give me a matrix conversion in simulink.
I cannot transpose the matrix.
It seems that only discrete coefficients can be converted.
So I want to ask if there is any way to run this model?
Amrtanshu Raj
Amrtanshu Raj 2020 年 9 月 10 日
You can use 3 transpose block (one for each signal) in between the MPU9250 and AHRS blocks. That will solve the problem of port dimensions.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by