赞
踩
ERROR: cannot launch node of type [robot_state_publisher/robot_state_publisher]: robot_state_publisher
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/wxw/catkin_ws/src
ROS path [2]=/opt/ros/kinetic/share
我是kinetic版本的ros,使用此代码安装:
sudo apt-get install ros-kinetic-robot-state-publisher
如果显示无法定位此文件,则重新填一遍秘钥
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
-
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
记住之后一定要更新一下软件包索引
sudo apt-get update
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。