1、前言:回校三天了,论文写了小半但实验还跟不上进度,最后冲刺阶段还要来学习探索下怎么编写一个GUI将所有的工作使用交互界面来简单的统一起来。
论文包括的工作大概如下:(1)通过MATLAB端的class通信协议控制Baxter机器人
(2)GUI与simulink联调
(3)stateflow构建的简单碰撞检测模型,包括进入零力模型的拖动示教与示教再现
(4)单目视觉获得障碍物空间信息(未做)
(5)避障路径算法(简单实现)
为了更好的演示,过滤掉执行不同任务时需要启动不同程序目录的麻烦操作,设计出一个GUI来完成所有的功能有些必要。当然这只是目前状态下的想要的尝试(可能实现不了)。其中最早遇到的问题就是MATLAB可以通过class写的通信协议控制Baxter,但在GUI中如何使用写好的class类中的属性呢?
以下为探索记录....
2、探索当然搜索别人是否有过类似的想法:(From MATLAB Central Answers)
https://www.mathworks.com/matlabcentral/answers/297020-problems-creating-a-simple-oo-gui-in-matlab
https://www.mathworks.com/help/matlab/creating_guis/share-data-among-callbacks.html#bt9p4qp
https://www.mathworks.com/matlabcentral/answers/195066-calling-a-class-method-from-a-gui
https://www.mathworks.com/matlabcentral/answers/319966-how-can-my-app-inherit-from-my-classes
https://www.mathworks.com/matlabcentral/answers/40844-gui-handles-in-classes-problem
(以上为相关问题的链接,后续更新)