cmake_minimum_required(VERSION 3.8)
project(saltybot_calibration)

find_package(ament_cmake REQUIRED)
find_package(ament_cmake_python REQUIRED)
find_package(rclpy REQUIRED)

ament_python_install_package(${PROJECT_NAME})

install(PROGRAMS
  scripts/capture_calibration_images.py
  scripts/calibrate_camera.py
  scripts/calibrate_extrinsics.py
  scripts/preview_undistorted.py
  scripts/generate_static_transforms.py
  DESTINATION lib/${PROJECT_NAME}
)

install(DIRECTORY
  launch config
  DESTINATION share/${PROJECT_NAME}
)

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  ament_lint_auto_find_test_dependencies()
endif()

ament_package()
