cmake_minimum_required(VERSION 3.5) project(yolov3_msg) # Find dependencies #find_package(ament_cmake REQUIRED) find_package(rclpy REQUIRED) find_package(std_msgs REQUIRED) # Create the executable #add_executable(yolov3_msg yolov3_msg.py) # Set the permissions of the Python script to be executable find_package(rosidl_default_generators REQUIRED) rosidl_generate_interfaces(yolov3_msg "msg/BoundingBox.msg" "msg/BoundingBoxes.msg" DEPENDENCIES builtin_interfaces std_msgs ) # Link the executable with the necessary libraries #ament_target_dependencies(yolov3_msg rclpy) # Install the executable #install(TARGETS yolov3_msg DESTINATION lib/yolov3_msg) # Install the script, setup.py, and package.xml files #install(PROGRAMS yolov3_msg.py # DESTINATION lib/yolov3_on_bag) #install(FILES package.xml # DESTINATION share/yolov3_on_bag) # Export the package dependencies #ament_export_dependencies(rclpy) # Package information #ament_package() #add_executable(yolov3_msg yolov3_msg.py) ament_export_dependencies(rosidl_default_runtime) ament_package()