Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Everything builds with catkin. A bit more cleanup is needed.
- Loading branch information
1 parent
178cebd
commit ec34bf7
Showing
14 changed files
with
158 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,85 @@ | ||
cmake_minimum_required(VERSION 2.4.6) | ||
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) | ||
rosbuild_init() | ||
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) | ||
subdirs(standalone ros) | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(sicktoolbox_wrapper) | ||
|
||
find_package(catkin REQUIRED COMPONENTS roscpp sensor_msgs sicktoolbox rosconsole diagnostic_updater) | ||
|
||
## System dependencies are found with CMake's conventions | ||
#find_package(Threads) | ||
|
||
################################### | ||
## catkin specific configuration ## | ||
################################### | ||
## The catkin_package macro generates cmake config files for your package | ||
## Declare things to be passed to dependent projects | ||
## LIBRARIES: libraries you create in this project that dependent projects also need | ||
## CATKIN_DEPENDS: catkin_packages dependent projects also need | ||
## DEPENDS: system dependencies of this project that dependent projects also need | ||
catkin_package( | ||
INCLUDE_DIRS | ||
LIBRARIES | ||
CATKIN_DEPENDS roscpp sensor_msgs sicktoolbox rosconsole diagnostic_updater | ||
DEPENDS | ||
) | ||
|
||
########### | ||
## Build ## | ||
########### | ||
|
||
## Specify additional locations of header files | ||
## Your package locations should be listed before other locations | ||
include_directories(${catkin_INCLUDE_DIRS}) | ||
|
||
add_executable(sickld ros/sickld/sickld.cpp) | ||
target_link_libraries(sickld ${catkin_LIBRARIES}) | ||
|
||
add_executable(sicklms ros/sicklms/sicklms.cpp) | ||
target_link_libraries(sicklms ${catkin_LIBRARIES}) | ||
|
||
add_executable(print_scans standalone/print_scans.cpp) | ||
target_link_libraries(print_scans ${catkin_LIBRARIES}) | ||
|
||
add_executable(time_scans standalone/time_scans.cpp) | ||
target_link_libraries(time_scans ${catkin_LIBRARIES}) | ||
|
||
add_executable(log_scans standalone/log_scans.cpp) | ||
target_link_libraries(log_scans ${catkin_LIBRARIES}) | ||
|
||
############# | ||
## Install ## | ||
############# | ||
|
||
# all install targets should use catkin DESTINATION variables | ||
# See http://ros.org/doc/groovy/api/catkin/html/adv_user_guide/variables.html | ||
|
||
## Mark executable scripts (Python etc.) for installation | ||
## in contrast to setup.py, you can choose the destination | ||
# install(PROGRAMS | ||
# scripts/my_python_script | ||
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
# ) | ||
|
||
## Mark executables and/or libraries for installation | ||
#install(TARGETS SickLD SickLMS1xx SickLMS2xx LDConfigLib ld_config | ||
# ld_more_config ld_multi_sector ld_single_sector lms1xx_simple_app | ||
# lms2xx_config lms2xx_mean_values lms2xx_partial_scan lms2xx_real_time_indices | ||
# lms2xx_set_variant lms2xx_simple_app lms2xx_stream_range_and_reflect lms2xx_subrange | ||
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
#) | ||
|
||
## TODO Move headers that aren't needed externally back into the source | ||
## Mark cpp header files for installation | ||
#install(DIRECTORY include/${PROJECT_NAME}/ | ||
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} | ||
# FILES_MATCHING PATTERN "*.hh" | ||
# PATTERN ".svn" EXCLUDE | ||
#) | ||
|
||
## TODO There are readmes, etc, create install rules for these | ||
## Mark other files for installation (e.g. launch and bag files, etc.) | ||
# install(FILES | ||
# # myfile1 | ||
# # myfile2 | ||
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
# ) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<name>sicktoolbox_wrapper</name> | ||
<version>2.5.0</version> | ||
<description>sicktoolbox_wrapper is a ROS wrapper for the outstanding <a href="http://www.ros.org/wiki/sicktoolbox">sicktoolbox</a> | ||
library for interfacing with the SICK LMS2xx lasers. | ||
</description> | ||
|
||
<maintainer email="chadrockey@willowgarage.com">Chad Rockey</maintainer> | ||
|
||
<license>BSD</license> | ||
|
||
<url type="website">http://ros.org/wiki/sicktoolbox_wrapper</url> | ||
<url type="bugtracker">https://github.com/ros-drivers/sicktoolbox_wrapper/issues</url> | ||
<url type="repository">https://github.com/ros-drivers/sicktoolbox_wrapper</url> | ||
|
||
<author email="mquigley@cs.stanford.edu">Morgan Quigley</author> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
|
||
<build_depend>roscpp</build_depend> | ||
<build_depend>rosconsole</build_depend> | ||
<build_depend>sensor_msgs</build_depend> | ||
<build_depend>sicktoolbox</build_depend> | ||
<build_depend>diagnostic_updater</build_depend> | ||
|
||
<run_depend>roscpp</run_depend> | ||
<run_depend>rosconsole</run_depend> | ||
<run_depend>sensor_msgs</run_depend> | ||
<run_depend>sicktoolbox</run_depend> | ||
<run_depend>diagnostic_updater</run_depend> | ||
|
||
<export> | ||
</export> | ||
</package> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.