Sensor Fusion and Tracking Toolbox

조회 수: 7 (최근 30일)
Haris Bin Yousaf
Haris Bin Yousaf 2022년 3월 23일
답변: Omkar 2024년 6월 5일
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일

추가 답변 (1개)

Omkar
Omkar 2024년 6월 5일
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')

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by