-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
44 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,37 +1,4 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
cmake_minimum_required(VERSION 3.5) | ||
project(sciurus17_tools) | ||
|
||
add_compile_options(-std=c++11) | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
roscpp | ||
) | ||
|
||
find_package(realsense2) | ||
if(NOT realsense2_FOUND) | ||
message(FATAL_ERROR "\n\n Intel RealSense SDK 2.0 is missing, please install it from https://github.com/IntelRealSense/librealsense/releases\n\n") | ||
endif() | ||
|
||
catkin_package( | ||
CATKIN_DEPENDS | ||
roscpp | ||
) | ||
|
||
include_directories( | ||
${catkin_INCLUDE_DIRS} | ||
${realsense_INCLUDE_DIR} | ||
) | ||
|
||
add_executable(realsense_hwreset src/realsense_hwreset.cpp) | ||
target_link_libraries(realsense_hwreset | ||
${realsense2_LIBRARY} | ||
${catkin_LIBRARIES} | ||
${CMAKE_THREAD_LIBS_INIT} | ||
) | ||
|
||
install(TARGETS realsense_hwreset | ||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
|
||
install(DIRECTORY scripts rules DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) | ||
|
||
find_package(ament_cmake REQUIRED) | ||
ament_package() |
Empty file.
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,18 +1,27 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>sciurus17_tools</name> | ||
<version>2.0.0</version> | ||
<description>The sciurus17_tools package</description> | ||
|
||
<description>ROS 2 package suite of Sciurus17</description> | ||
<maintainer email="[email protected]">RT Corporation</maintainer> | ||
|
||
<license>Apache License 2.0</license> | ||
|
||
<author email="[email protected]">Hiroyuki Nomura</author> | ||
<author email="[email protected]">Shota Hirama</author> | ||
<license>Apache License 2.0</license> | ||
<author email="[email protected]">Atsushi Kuwagata</author> | ||
|
||
<url type="website">http://wiki.ros.org/sciurus17_ros</url> | ||
<url type="bugtracker">https://github.com/rt-net/sciurus17_ros/issues</url> | ||
<url type="repository">https://github.com/rt-net/sciurus17_ros</url> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
<build_depend>roscpp</build_depend> | ||
<build_depend>realsense2_camera</build_depend> | ||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
|
||
<run_depend>roscpp</run_depend> | ||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>ament_lint_common</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |