forked from tork-a/hakuto
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add gazebo_ros_diff_drive until ros-simulation/gazebo_ros_pkgs#298 is…
… merged
- Loading branch information
Showing
5 changed files
with
612 additions
and
2 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
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,10 +1,35 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(tetris_gazebo) | ||
|
||
find_package(catkin REQUIRED COMPONENTS) | ||
find_package(catkin REQUIRED COMPONENTS gazebo_plugins) | ||
|
||
# Depend on system install of Gazebo and SDFormat | ||
find_package(gazebo REQUIRED) | ||
find_package(Boost REQUIRED COMPONENTS thread) | ||
|
||
include_directories( | ||
${Boost_INCLUDE_DIRS} | ||
${catkin_INCLUDE_DIRS} | ||
${GAZEBO_INCLUDE_DIRS} | ||
) | ||
|
||
link_directories( | ||
${catkin_LIBRARY_DIRS} | ||
${GAZEBO_LIBRARY_DIRS} | ||
) | ||
|
||
|
||
catkin_package() | ||
|
||
add_library(gazebo_ros_diff_drive_fixed src/gazebo_ros_diff_drive.cpp) | ||
target_link_libraries(gazebo_ros_diff_drive_fixed gazebo_ros_utils ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES}) | ||
|
||
install(TARGETS | ||
gazebo_ros_diff_drive_fixed | ||
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
) | ||
|
||
install(DIRECTORY launch worlds models | ||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
USE_SOURCE_PERMISSIONS) |
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.