mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 11:20:02 +08:00
updated scout description, still working on scout gazebo sim control
This commit is contained in:
49
scout_gazebo_sim/CMakeLists.txt
Normal file
49
scout_gazebo_sim/CMakeLists.txt
Normal file
@@ -0,0 +1,49 @@
|
||||
cmake_minimum_required(VERSION 2.8.3)
|
||||
project(scout_gazebo_sim)
|
||||
|
||||
add_compile_options(-std=c++11)
|
||||
|
||||
find_package(catkin REQUIRED COMPONENTS
|
||||
roslaunch
|
||||
roslint
|
||||
roscpp
|
||||
sensor_msgs
|
||||
std_msgs
|
||||
geometry_msgs
|
||||
scout_msgs
|
||||
scout_sdk
|
||||
tf2
|
||||
tf2_ros
|
||||
)
|
||||
catkin_package(
|
||||
INCLUDE_DIRS include
|
||||
# LIBRARIES
|
||||
CATKIN_DEPENDS roscpp sensor_msgs
|
||||
# DEPENDS Boost
|
||||
)
|
||||
|
||||
###########
|
||||
## Build ##
|
||||
###########
|
||||
|
||||
include_directories(
|
||||
include
|
||||
${catkin_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_library(scout_gazebo STATIC src/scout_skid_steer.cpp)
|
||||
target_link_libraries(scout_gazebo ${catkin_LIBRARIES})
|
||||
|
||||
add_executable(scout_skid_steer_controller src/scout_skid_steer_controller.cpp)
|
||||
target_link_libraries(scout_skid_steer_controller scout_gazebo ${catkin_LIBRARIES})
|
||||
|
||||
#############
|
||||
## Install ##
|
||||
#############
|
||||
|
||||
roslaunch_add_file_check(launch)
|
||||
|
||||
install(
|
||||
DIRECTORY launch worlds
|
||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||
)
|
||||
Reference in New Issue
Block a user