ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As far as I understand they are equivalent.

The only difference is that find_package(catkin COMPONENTS roscpp std_msgs) will consolidate all of the COMPONENTS into the catkin_* CMake variables, for instance catkin_INCLUDE_DIRS will contain roscpp_INCLUDE_DIRS and std_msgs_INCLUDE_DIRS.