cmake_minimum_required(VERSION 3.0.2)

project(rr_msgs)

add_compile_options(-ggdb)

find_package(catkin REQUIRED COMPONENTS 
	message_generation
	std_msgs
	geometry_msgs
	dynamic_reconfigure
	actionlib_msgs
  sensor_msgs
	)

## Generate messages in the 'msg' folder
add_message_files(
  FILES
  WhyconDebug.msg
  WhyconDebugArray.msg
  BeePosition.msg
  BeePositionArray.msg
  ScanPosition.msg
  ScanPositionArray.msg
  Statistics.msg
  QueenDetectionStatistics.msg
  Tweet.msg
  ActuatorStatus.msg
  IlluminationReport.msg
  LensZoom.msg
  LensFocus.msg
  LensIris.msg
  Tracker.msg
  LensIRSwitch.msg
  LensStatus.msg
  Court.msg
  LostBee.msg
)

#add_action_files(
#  DIRECTORY action
#  FILES
#  dataset.action
#)


## Generate services in the 'srv' folder
add_service_files(
   FILES
   SetCaptureInterval.srv
   SetFocus.srv
   ResetPosition.srv
)

generate_dynamic_reconfigure_options(
	cfg/Cropper.cfg
	cfg/Collector.cfg
	cfg/XYMonitor.cfg
)


## Generate added messages and services with any dependencies listed here
generate_messages(
  DEPENDENCIES
  std_msgs
  geometry_msgs
  sensor_msgs
#  actionlib_msgs 
)

catkin_package(
#  INCLUDE_DIRS include
#  LIBRARIES get_distance
  CATKIN_DEPENDS std_msgs actionlib_msgs sensor_msgs
#  DEPENDS system_lib
)

