本文主要是介绍ROS error: Could not find the GUI, install the ‘joint_state_publisher_gui‘ package,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
ROS melodic运行urdf模型时碰到,
[ WARN] [1645792286.082081404]: The 'state_publisher' executable is deprecated. Please use 'robot_state_publisher' instead
[WARN] [1645792286.343040]: 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] [1645792286.343680]: Could not find the GUI, install the 'joint_state_publisher_gui' package
[joint_state_publisher-2] process has died [pid 6185, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/mc/.ros/log/d8fd5cb2-9636-11ec-b3e3-04421ad5a2ea/joint_state_publisher-2.log].
log file: /home/mc/.ros/log/d8fd5cb2-9636-11ec-b3e3-04421ad5a2ea/joint_state_publisher-2*.log
解决办法:
sudo apt-get install ros-melodic-joint-state-publisher-gui
注意,如果是其他版本的则需要换掉版本号,如
sudo apt-get install ros-kinetic-joint-state-publisher-gui
这篇关于ROS error: Could not find the GUI, install the ‘joint_state_publisher_gui‘ package的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!