Skip to content

Instantly share code, notes, and snippets.

@anlif
Created November 15, 2016 09:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anlif/e4f57820dc1cc09d32f1142425d83fcf to your computer and use it in GitHub Desktop.
cmake_minimum_required(VERSION 2.8.3)
project(autosea_msgs)
## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
geometry_msgs
message_generation
)
add_definitions(-std=c++11)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
################################################
## Declare ROS messages, services and actions ##
################################################
## Generate messages in the 'msg' folder
add_message_files(
FILES
AisDynamic.msg
AisStatic.msg
AisFiltered.msg # the culprit
RadarParameters.msg
RadarSpoke.msg
RadarCluster.msg
RadarPoints.msg
RadarScan.msg
KinematicEstimate.msg
Vector2.msg
Covariance2.msg
RadarMeasurement.msg
RadarEstimate.msg
RadarTrackStatus.msg
)
## Generate service files in the 'srv' folder
add_service_files(
FILES
AisPredictionService.srv
)
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
###################################
## catkin specific configuration ##
###################################
catkin_package(
CATKIN_DEPENDS std_msgs geometry_msgs message_runtime
)
###########
## Build ##
###########
## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment