chengyangkj / Ros_Qt5_Gui_App

ROS human computer interface based on Qt5(基于Qt5的ROS人机交互界面)
GNU General Public License v2.0
898 stars 304 forks source link

点击连接按钮后界面闪退 #3

Closed willzoe closed 4 years ago

willzoe commented 4 years ago

当我运行程序,如下图所示填写好主节点地址本机IP之后,点击连接按钮,程序界面会发生闪退。 Screenshot from 2020-05-09 04-20-41

chengyangkj commented 4 years ago

由于我开发的版本是melodic版本,并未在kinetic版本测试,librviz库bug比较多,会无缘无故发生闪退,这两天正在修复中------------------ 原始邮件 ------------------ 发件人: "willzoe"notifications@github.com 发送时间: 2020年5月9日(星期六) 凌晨4:30 收件人: "chengyangkj/Ros_Qt5_Gui_App"Ros_Qt5_Gui_App@noreply.github.com; 抄送: "Subscribed"subscribed@noreply.github.com; 主题: [chengyangkj/Ros_Qt5_Gui_App] 点击连接按钮后界面闪退 (#3)

当我运行程序,如下图所示填写好主节点地址和本机IP之后,点击连接按钮,程序界面会发生闪退。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

chengyangkj commented 4 years ago

当我运行程序,如下图所示填写好主节点地址本机IP之后,点击连接按钮,程序界面会发生闪退。 Screenshot from 2020-05-09 04-20-41

已更新kinetic版本分支,具体功能暂未测试,欢迎测试并提交bug https://github.com/chengyangkj/Ros_Qt5_Gui_App/tree/kinetic-devel

willzoe commented 4 years ago

不好意思,之前比较忙,没有来得及做测试。

今天测试的时候发现,当我把工程克隆到工作空间并且切换到kinetic分支后,工作空间的路径在$ROS_PACKAGE_PATH中消失了,并且找不到命令catkin_makecatkin_create_qt_pkg

之前我也遇到过类似的问题,是因为创建的功能包依赖了一些其他的不恰当的功能包。

willzoe commented 4 years ago

问题好像是因为qrcreator。

当我在新创建的工作空间中使用命令catkin_make编译功能包后,一切正常。

当我使用指令qtcreator启动Qtcreator,对功能包再次编译并退出Qtcreator之后,在启动Qtcreator的终端中仍然可以看到工作空间的路径在$ROS_PACKAGE_PATH中,并且可以对功能包正确编译。

但是当我再开启一个终端后,工作空间的路径在$ROS_PACKAGE_PATH就看不到了,并且catkin_make也无法执行。

Screenshot from 2020-06-24 11-38-02