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

If I understood well what you need to do is having some c++ class that you need to use in your node. If this is the case simply use add_library in your CMakeList.txt to define your library with a name. Then, make sure you like your library to your node using target link libraries command.

If you need to share a C++ library in your environment so other packages can use it as well, u need to export your library.