[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后解决
请参考这篇文章记录最后解决