IMU传感器融合观众“HelperOrientationViewer”

45视图(30天)
你好,
我工作方式throgh低于ahrs滤波融合的例子但我的版本的matlab(2019安装了传感器融合和跟踪工具箱)HelperOrientationViewer似乎难以识别功能。有谁知道如果我需要额外的工具箱来运行这个查看器或为什么这是不工作吗?
很多谢谢!

接受的答案

宏磊陈
宏磊陈 2019年4月15日
您可能需要打开MATLAB中的示例并单击“打开示例”按钮。将所有必要的辅助函数复制到一个本地文件夹运行示例。
HTH
4评论
贾亚特里梅农
贾亚特里梅农 2022年3月1日
你好,
在右上角 页面 ,有一个“复制命令”按钮。单击该按钮将复制命令要求开放的MATLAB中的示例。粘贴并在MATLAB命令窗口执行命令。
问候
贾亚特里

登录置评。

更多的答案(3)

马可·卡鲁索
马可·卡鲁索 2019年4月15日
我也有同样的问题!
2的评论
贾亚特里梅农
贾亚特里梅农 2020年1月24日
嗨Ans哈菲兹·,
你用的哪个版本的MATLAB ?上面的例子是在R2019a和释放。
问候
贾亚特里

登录置评。


ljp64
ljp64 2019年10月17日
但是,我不能看到一个选项“打开iExample”Matlab。我做错了什么吗?
谢谢你!
劳拉
5个评论
Shaik艾尔沙德萨尔曼
Shaik艾尔沙德萨尔曼 2022年3月21日
我跟着上面的过程但是我gettign这个错误在命令窗口
> > openExample (“shared_fusion_arduinoio / EstimateOrientationUsingInertialSensorFusionAndMPU9250Example”)
错误使用matlab.internal.examples.componentExamplesDir(16行)
无效的论点“shared_fusion_arduinoio”。
错误findExample(18)行
componentExamplesDir = matlab.internal.examples.componentExamplesDir(组件);
错误openExample(30行)

登录置评。


所
2023年2月1日
= arduino (“COM5”、“Uno”,“库”,“I2C”);
fs = 100;
imu = mpu9250 (“SampleRate”, fs, OutputFormat,“矩阵”);
GyroscopeNoiseMPU9250 = 3.0462 e-06;
AccelerometerNoiseMPU9250 = 0.0061;
观众= HelperOrientationViewer(“标题”,{取向的可视化})
保险丝= ahrsfilter (imu, SampleRate”。GyroscopeNoiseMPU9250 SampleRate,‘GyroscopeNoise’,‘AccelerometerNoise’, AccelerometerNoiseMPU9250);
抽搐;
stopTimer = 100;
magReadings = [];
accelReadings = [];
gyroReadings = [];
而(toc < stopTimer)
(accel、陀螺、mag) =阅读(imu);
magReadings = (magReadings;杂志);
accelReadings = [accelReadings; accel];
gyroReadings = (gyroReadings;陀螺);
fuseReadings =保险丝(accel、陀螺、杂志);
j =元素个数(fuseReadings)
查看器(fuseReadings (j));
结束
次要情节(3,2,1);
情节(accelReadings); drawnow
标题(“加速度计读数”);
次要情节(3 2 2);
情节(gyroReadings); drawnow
标题(“陀螺仪数据”);
次要情节(3,1,3);
情节(magReadings); drawnow
标题(“磁强计读数”);
结束
% % magx_min = min (magReadings);
% % magx_max = max (magReadings);
% % magx_correction = (magx_max + magx_min) / 3;

s manbetx 845


释放

R2019a

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!