robot_state_publisher启动失败处理方法

rosrun  robot_state_publisher robot_state_publisher 
/opt/ros/hydro/lib/robot_state_publisher/robot_state_publisher: error while loading shared libraries: liborocos-kdl.so.1.2: cannot open shared object file: No such file or directory


处理方法:



sudo apt-get install --reinstall ros-hydro-robot-state-publisher
sudo apt-get install --reinstall ros-hydro-orocos-kdl
cd /opt/ros/hydro/lib/
sudo ln -s /opt/ros/hydro/lib/liborocos-kdl.so.1.3.0 /opt/ros/hydro/lib/liborocos-kdl.so.1.2

你可能感兴趣的:(ROS)