Closed acxz closed 2 years ago
controller_manager_msgs
is included transitively through controller_manager
. Importantly, controller_manager
is only used in tests, and the find_package
is therefore wrapped in a if (CATKIN_ENABLE_TESTING)
in the CMakeLists and in a <test_depend>
in the package.xml.
See https://github.com/ros-controls/ros_controllers/blob/aa9c32b8ea8f83cb578cde82619f78e720fef89c/diff_drive_controller/CMakeLists.txt#L67-L68 and https://github.com/ros-controls/ros_controllers/blob/aa9c32b8ea8f83cb578cde82619f78e720fef89c/diff_drive_controller/package.xml#L41
Sounds most likely to me that test dependencies are not installed - Perhaps the arch packaging isn't handling test dependencies?
Looking into controller_manager
I see the following:
Yep looks like the arch packaging is not considering the build_export_depend
tag properly.
I see. Is CATKIN_ENABLE_TESTING
true by default?
Is
CATKIN_ENABLE_TESTING
true by default?
I believe so. From the Catkin docs, "All configuration steps related to testing should be only done conditionally when CATKIN_ENABLE_TESTING
is set, which is true by default." I don't think catkin_tools
or colcon
disables it, so I think it's default true with all build tools.
looks like the arch packaging is not considering the
build_export_depend
tag properly.
👍
Thanks for your help!
Obtaining the following error:
og issue: https://github.com/ros-noetic-arch/ros-noetic-diff-drive-controller/issues/3