forked from merose/diff_drive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
46 lines (38 loc) · 852 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
cmake_minimum_required(VERSION 2.8.3)
project(diff_drive)
find_package(catkin REQUIRED COMPONENTS
rospy
std_msgs
nav_msgs
geometry_msgs
tf
tf2
actionlib
actionlib_msgs
)
add_action_files(
DIRECTORY action
FILES GoToPose.action
)
if (CATKIN_ENABLE_TESTING)
catkin_add_nosetests(tests)
endif()
if (CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
# add_rostest(tests/your_first_rostest.test)
# add_rostest(tests/your_second_rostest.test)
endif()
catkin_install_python(
PROGRAMS
nodes/diff_drive_odometry
nodes/diff_drive_controller
nodes/diff_drive_go_to_goal
nodes/diff_drive_mock_robot
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
catkin_python_setup()
generate_messages (
DEPENDENCIES actionlib_msgs std_msgs geometry_msgs
)
catkin_package(
CATKIN_DEPENDS actionlib_msgs
)