-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
40 lines (34 loc) · 1.54 KB
/
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
# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html
cmake_minimum_required(VERSION 2.8.3)
project(segbot_bringup)
find_package(catkin REQUIRED)
catkin_package()
# Install all udev files
install(DIRECTORY udev/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/udev)
# Install all launch files
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch)
catkin_install_python(PROGRAMS scripts/get_addr scripts/teleop_twist_keyboard
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
# Install the teleoperation script for rosrun
install(PROGRAMS
scripts/udev_install
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
# unit tests are enabled selectively
if (CATKIN_ENABLE_TESTING)
find_package(roslaunch REQUIRED)
## Test individual files that do work, restore testing of the
# rest when segway_v3 packages have been released.
#roslaunch_add_file_check(launch)
roslaunch_add_file_check(launch/segbot_v1.launch)
roslaunch_add_file_check(launch/segbot_v2.launch)
#roslaunch_add_file_check(launch/segbot_v3.launch)
roslaunch_add_file_check(launch/segway_base.launch)
roslaunch_add_file_check(launch/includes)
roslaunch_add_file_check(launch/includes/auxiliary.segbot_v1.hokuyo_only.launch.xml)
roslaunch_add_file_check(launch/includes/auxiliary.segbot_v1.launch.xml)
roslaunch_add_file_check(launch/includes/auxiliary.segbot_v1.no_sensors.launch.xml)
roslaunch_add_file_check(launch/includes/auxiliary.segbot_v2.launch.xml)
#roslaunch_add_file_check(launch/includes/auxiliary.segbot_v3.launch.xml)
endif()