MATLAB Appdesigner-Sensor Fusion Toolbox 绘图问题

问题描述

我试图在使用 Appdesigner 设计的 GUI 中根据欧拉角来表示飞行物体的方向。但是,当我尝试绘制给定的欧拉角时,屏幕上没有显示任何内容,并且在 matlab 命令窗口中出现以下错误

“更新遍历遇到无效场景树。”

知道如何解决这个问题吗?

我目前使用的代码片段(适用于 matlab 脚本编辑器):

roll=5
yaw=20
pitch=12
tp = theaterPlot('Parent',app.UIAxes7,'XLimit',[-2 2],'YLimit','ZLimit',[-2 2]);
op = orientationPlotter(tp,'displayName','Görev Yükü','LocalAxesLength',2);
q = quaternion([yaw pitch roll],'eulerd','zyx','frame');
plotOrientation(op,q)

roll=5
yaw=20
pitch=12
tp = theaterPlot('Parent',2);
plotOrientation(op,roll,pitch,yaw)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)