代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 2.8.3)
project(adlink_ddsbot)
## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)
## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
roscpp
costmap_2d
std_msgs
geometry_msgs
message_generation
dynamic_reconfigure
)
## dynamic reconfigure config
generate_dynamic_reconfigure_options(
cfg/SwarmLayer.cfg
)
## custom message
add_message_files(
FILES
Robot.msg
MultiRobots.msg
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
catkin_package(
CATKIN_DEPENDS std_msgs geometry_msgs message_runtime costmap_2d dynamic_reconfigure
)
## Specify additional locations of header files
include_directories(
include ${catkin_INCLUDE_DIRS}
)
## add cpp library
add_library(swarm_layers src/swarm_layer.cpp)
## Add cmake target dependencies of the executable/library
add_dependencies(swarm_layers
${PROJECT_NAME}_gencfg ${${PROJECT_NAME}_EXPORTED_TARGETS} ${PROJECT_NAME}_generate_messages_cpp)
## Install costmap plugin
install(FILES costmap_plugins.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(TARGETS swarm_layers
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。