I have installed Sensor Fusion and Tracking toolbox for my MATLAB R2019a but when i try to open example using this command:
openExample('shared_fusion_arduinoio/EstimateOrientationUsingInertialSensorFusionAndMPU9250Example')
I get this message:
Error using exampleUtils.componentExamplesDir (line 13)
Invalid argument "shared_fusion_arduinoio".
Error in findExample (line 18)
componentExamplesDir =
exampleUtils.componentExamplesDir(component);
Error in openExample (line 24)
metadata = findExample(id);
Actualy I want to use HelperOrientationViewer command to view the 3D pose of my IMU sensor which is possible via this example because when i try to do that it just gives error:
Undefined function or variable 'HelperOrientationViewer'.
Error in matlab_mpu9250 (line 72)
viewer = HelperOrientationViewer('Title',{'AHRS Filter'});
Please do help me i really need Viewer for proper visualization of my robot's orientation.

 採用された回答

Walter Roberson
Walter Roberson 2022 年 3 月 23 日

0 投票

1 件のコメント

Haris Bin Yousaf
Haris Bin Yousaf 2022 年 3 月 23 日
Thank You!!! It helped

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

その他の回答 (1 件)

Omkar
Omkar 2024 年 6 月 5 日

0 投票

This example needs the "MATLAB Support Package for Arduino Hardware" installed and hardware configuration completed. It can be obtained from the Get Add-Ons button on the Matlab toolstrip. As of 2024a, the command you provided should still work:
openExample('arduinoio/EstimatingOrientationUsingInertialSensorFusionAndMPU9250Example')

カテゴリ

ヘルプ センター および File ExchangeInertial Sensor Fusion についてさらに検索

製品

リリース

R2019a

質問済み:

2022 年 3 月 23 日

回答済み:

2024 年 6 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by