ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I guess the best way would be to make the library standalone and create an additional ros interface for it like mylib and mylib_ros.
I am not sure, but for the library's cmake file it might even be OK to use a plain (without ros_...) commands even in a ros package as you don't have an ros dependencies.