Sensor Fusion and Tracking Toolbox
5 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
More Answers (1)
Omkar
on 5 Jun 2024
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')
0 Comments
See Also
Categories
Find more on Tracking and Sensor Fusion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!