Sensor Fusion and Tracking Toolbox
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(1 个)
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')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Tracking and Sensor Fusion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!