Skip to content
Snippets Groups Projects
Commit 98918ead authored by Tommy Persson's avatar Tommy Persson
Browse files

Adding test data.

parent 1bb57795
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,16 @@ cmake_minimum_required(VERSION 2.8.3)
project(axis_imu)
## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)
add_compile_options(-std=c++11)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED)
find_package(catkin REQUIRED
roscpp
sensor_msgs
)
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
......@@ -112,8 +116,8 @@ catkin_package(
## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(
# include
# ${catkin_INCLUDE_DIRS}
src
${catkin_INCLUDE_DIRS}
)
## Declare a C++ library
......@@ -131,6 +135,10 @@ include_directories(
## The recommended prefix ensures that target names across packages don't collide
# add_executable(${PROJECT_NAME}_node src/axis_imu_node.cpp)
add_executable(axis_imu
src/axis_imu.cc
)
## Rename C++ executable without prefix
## The above recommended prefix causes long target names, the following renames the
## target back to the shorter version for ease of user use
......@@ -146,6 +154,10 @@ include_directories(
# ${catkin_LIBRARIES}
# )
target_link_libraries(axis_imu
${catkin_LIBRARIES}
)
#############
## Install ##
#############
......
File added
......@@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="jane.doe@example.com">Jane Doe</maintainer> -->
<maintainer email="tompe@todo.todo">tompe</maintainer>
<maintainer email="tommy.persson@liu.se">Tommy Persson</maintainer>
<!-- One license tag required, multiple allowed, one license per tag -->
......@@ -49,7 +49,8 @@
<!-- Use doc_depend for packages you need only for building documentation: -->
<!-- <doc_depend>doxygen</doc_depend> -->
<buildtool_depend>catkin</buildtool_depend>
<depend>sensor_msgs</depend>
<depend>roscpp</depend>
<!-- The export tag contains other, unspecified, tags -->
<export>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment