ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You'll need to add a
find_package(image_transport REQUIRED)
and add a
ament_target_dependencies(camera
rclcpp
sensor_msgs
image_transport)
Note that it's recommended to use the ament_target_dependencies(...)
for ros2 packages vs using target_link_libraries(...)