ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can use rosidl_target_interfaces(<target> ${PROJECT_NAME} "rosidl_typesupport_cpp")
instead of the add_dependencies(<target> ${PROJECT_NAME}_gencfg ${catkin_EXPORTED_TARGETS})
. More details in https://docs.ros.org/en/foxy/Tutorials/Single-Package-Define-And-Use-Interface.html?highlight=rosidl_target_interfaces