编译时找不到ros/ros.h标准头文件

解决方法

在cmakelist.txt里添加绝对路径

include_directories(include
 ${catkin_INCLUDE_DIRS}
        /usr/include/eigen3
        /opt/ros/kinetic/include
)

你可能感兴趣的:(ros,ubuntu)