ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
Fixed by adding obstacle_detector_core to the install target, and adding the libraries names in catkin_package LIBRARIES field.
catkin_package(
INCLUDE_DIRS
include
LIBRARIES
obstacle_detector
obstacle_detector_core
obstacle_detector_single_scan
collision_avoidance
CATKIN_DEPENDS
roscpp
sensor_msgs
shape_msgs
DEPENDS
)
install(TARGETS
obstacle_detector
obstacle_detector_core
obstacle_detector_single_scan
collision_avoidance
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)