Closed traversaro closed 3 years ago
fyi @drdanz @ahoarau
I believe that after some testing, if this works, we can remove the YARP_ROS2_USE_SYSTEM_map2d_nws_ros2_msgs
and just use the "regular" CMake behaviour
I believe that after some testing, if this works, we can remove the
YARP_ROS2_USE_SYSTEM_map2d_nws_ros2_msgs
and just use the "regular" CMake behaviour
Yes, this could make sense. Note that it is still perfectly possible to have the yarp-ros2
repo as an whole as a project in a colcon workspace.
Fix https://github.com/robotology-playground/yarp-ros2/issues/6 . For the time being I added this modification behind an option
YARP_ROS2_USE_SYSTEM_map2d_nws_ros2_msgs
, whose default value isON
, so the default behaviour does not change. The main use case for this modification is to eventually include this repository in the robotology-superbuild, where by the way theAMENT_PREFIX_PATH
value is already set: https://github.com/robotology/robotology-superbuild/blob/master/cmake/template/setup.sh.in#L28 .