ubuntu18.04.1 ros Could not find the GUI, install the ‘joint_state_publisher_gui‘

[ERROR] [1728021579.101573]: Could not find the GUI, install the 'joint_state_publisher_gui' package
[joint_state_publisher-2] process has died [pid 108314, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/chuanmei/.ros/log/d6e4b6aa-8215-11ef-970b-000c2997208d/joint_state_publisher-2.log].
log file: /home/chuanmei/.ros/log/d6e4b6aa-8215-11ef-970b-000c2997208d/joint_state_publisher-2*.log

​[WARN] [1728024920.991054]: The 'use_gui' parameter was specified, which is deprecated.  We'll attempt to find and run the GUI, but if this fails you should install the 'joint_state_publisher_gui' package instead and run that.  This backwards compatibility option will be removed in Noetic.

[ERROR] [1728021579.101573]: Could not find the GUI, install the 'joint_state_publisher_gui' package
[joint_state_publisher-2] process has died [pid 108314, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/chuanmei/.ros/log/d6e4b6aa-8215-11ef-970b-000c2997208d/joint_state_publisher-2.log].
log file: /home/chuanmei/.ros/log/d6e4b6aa-8215-11ef-970b-000c2997208d/joint_state_publisher-2*.log
​[WARN] [1728024920.991054]: The 'use_gui' parameter was specified, which is deprecated.  We'll attempt to find and run the GUI, but if this fails you should install the 'joint_state_publisher_gui' package instead and run that.  This backwards compatibility option will be removed in Noetic.

先安装joint_state_publisher_gui 再改文件display.launch 加后缀 _gui

//Ubuntu18.04安装ROS melodic
sudo apt-get install ros-melodic-joint-state-publisher-gui

///Ubuntu16.04安装ROS kinetic
sudo apt-get install ros-kinetic-joint-state-publisher-gui

//Ubuntu20.04安装ROS noetic 
sudo apt-get install ros-noetic-joint-state-publisher-gui
  <node
    name="joint_state_publisher_gui"
    pkg="joint_state_publisher_gui"
    type="joint_state_publisher_gui" />

 若出现报错

[joint_state_publisher_gui-2] process has died [pid 109747, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher_gui/joint_state_publisher_gui __name:=joint_state_publisher_gui __log:=/home/chuanmei/.ros/log/4f63340e-8224-11ef-970b-000c2997208d/joint_state_publisher_gui-2.log].
log file: /home/chuanmei/.ros/log/4f63340e-8224-11ef-970b-000c2997208d/joint_state_publisher_gui-2*.log

1.首先检查urdf中文路径 

2.本人按装rospkg后解决

请参考这篇文章记录最后解决

ubuntu20.04.6 编译URDF-CSDN博客icon-default.png?t=O83Ahttps://blog.csdn.net/qq_21258589/article/details/142432998?sharetype=blogdetail&sharerId=142432998&sharerefer=PC&sharesource=qq_21258589&spm=1011.2480.3001.8118

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值