ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If it is a CMake project you can just find_package(roscpp REQUIRED)
, find_package(std_msgs REQUIRED)
, and so on. Then use the resulting _INCLUDE_DIRS
and _LIBRARIES
CMake variables to integrate it into your project. You'll start to have issues when you want to generate custom messages.
2 | No.2 Revision |
If it is a CMake project you can just find_package(roscpp REQUIRED)
, find_package(std_msgs REQUIRED)
, and so on. Then use the resulting _INCLUDE_DIRS
and _LIBRARIES
CMake variables to integrate it into your project. You'll start to have issues when you want to generate custom messages.
From @arennuit
Interesting... Can I generate the custom messages in a separate package inside catkin and use the generated msg from my complex application?
Sure. The reason the messages need to be generated within a catkin package is that the fully qualified name of messages includes the package they are from. Other than message, service, action, and dynamic reconfigure generation, the rest (I think) can be done outside of a catkin package.