您当前的位置: 首页 >  ui
  • 0浏览

    0关注

    483博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

ROS error: Could not find the GUI, install the ‘joint_state_publisher_gui‘ package

高精度计算机视觉 发布时间:2022-02-25 20:36:31 ,浏览量:0

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

关注
打赏
1661664439
查看更多评论
立即登录/注册

微信扫码登录

0.0372s