Finding your colcon built workspace's lib path using ros2
Hi,
I was wondering if there was an equivalent to `catkin_find --lib --include
in ros2.
I need this information to create a non ros package that includes ros publishers and subscribers.
Currently, I am using a workaround which is to use ros2 pkg prefix foo
to find the messages created by the workspace and then move my way up the folders using ../.
I was wondering if there was a better way of doing this.
Also, if it is not to much trouble, cmake_ament no longer uses pkg-config to find packages. How can I add my workspace's libraries to the CMakelist? This is for the case of custom msgs and services.