Azzera filtri
Azzera filtri

Sensor Fusion and Tracking Toolbox

16 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Walter Roberson
Walter Roberson il 23 Mar 2022

Più risposte (1)

Omkar
Omkar il 5 Giu 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')

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by