cmake_minimum_required(VERSION 3.8)
project(calibration_sensor_interfaces)

find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)
find_package(action_msgs REQUIRED)
find_package(calibration_common_interfaces REQUIRED)
find_package(calibration_vehicle_profile_interfaces REQUIRED)

set(msg_files
  "msg/AppliedSensorCalibrationParametersResponse.msg"
  "msg/ArtifactType.msg"
  "msg/CalibrationArtifact.msg"
  "msg/CalibrationReferenceTarget.msg"
  "msg/CameraIntrinsicCalibrationTask.msg"
  "msg/CameraIntrinsics.msg"
  "msg/CameraModelType.msg"
  "msg/CaptureIntentType.msg"
  "msg/CommitSensorCalibrationParametersRequest.msg"
  "msg/GetAppliedSensorCalibrationParametersRequest.msg"
  "msg/HandEyeCalibrationMode.msg"
  "msg/HandEyeCalibrationTask.msg"
  "msg/IMUIntrinsicCalibrationTask.msg"
  "msg/IMUIntrinsics.msg"
  "msg/SensorCalibrationCapabilityRequest.msg"
  "msg/SensorCalibrationCapabilityResponse.msg"
  "msg/SensorCalibrationJobResult.msg"
  "msg/SensorCalibrationParameter.msg"
  "msg/SensorCalibrationParameterSet.msg"
  "msg/SensorCalibrationTaskPurpose.msg"
  "msg/SensorCalibrationTaskRequest.msg"
  "msg/SensorCalibrationTaskSubtype.msg"
  "msg/SensorCalibrationTaskType.msg"
  "msg/SensorCalibrationTelemetry.msg"
  "msg/SensorCalibrationWorkMode.msg"
  "msg/SensorCalibrationWorkModeRequest.msg"
  "msg/SensorExtrinsics.msg"
  "msg/SensorReadinessResponse.msg"
  "msg/SensorToBaseExtrinsicCalibrationTask.msg"
  "msg/SensorValidationSummary.msg"
  "msg/StreamSensorCalibrationTelemetryRequest.msg"
)

set(srv_files
  "srv/CancelSensorCalibrationJob.srv"
  "srv/CommitSensorCalibrationParameters.srv"
  "srv/EmergencyStop.srv"
  "srv/GetAppliedSensorCalibrationParameters.srv"
  "srv/GetSensorCalibrationCapability.srv"
  "srv/GetSensorCalibrationJobResult.srv"
  "srv/GetSensorCalibrationJobStatus.srv"
  "srv/GetSensorReadiness.srv"
  "srv/Heartbeat.srv"
  "srv/SetSensorCalibrationWorkMode.srv"
  "srv/StartSensorCalibrationTask.srv"
  "srv/StreamSensorCalibrationTelemetry.srv"
)

set(action_files
  "action/ExecuteSensorCalibrationTask.action"
)

rosidl_generate_interfaces(${PROJECT_NAME}
  ${msg_files}
  ${srv_files}
  ${action_files}
  DEPENDENCIES std_msgs action_msgs calibration_common_interfaces calibration_vehicle_profile_interfaces
)

ament_export_dependencies(rosidl_default_runtime)
ament_package()
