diff --git a/gazebo_dev/CMakeLists.txt b/gazebo_dev/CMakeLists.txt
new file mode 100644
index 000000000..563a8e74d
--- /dev/null
+++ b/gazebo_dev/CMakeLists.txt
@@ -0,0 +1,8 @@
+cmake_minimum_required(VERSION 2.8.3)
+project(gazebo_dev)
+
+find_package(catkin REQUIRED)
+
+catkin_package(
+ CFG_EXTRAS gazebo_dev-extras.cmake
+)
diff --git a/gazebo_dev/cmake/gazebo_dev-extras.cmake b/gazebo_dev/cmake/gazebo_dev-extras.cmake
new file mode 100644
index 000000000..d4bdd3b81
--- /dev/null
+++ b/gazebo_dev/cmake/gazebo_dev-extras.cmake
@@ -0,0 +1,13 @@
+# Depend on system install of Gazebo
+find_package(gazebo REQUIRED)
+
+message(STATUS "Gazebo version: ${GAZEBO_VERSION}")
+
+# The following lines will tell catkin to add the Gazebo directories and libraries to the
+# respective catkin_* cmake variables.
+set(gazebo_dev_INCLUDE_DIRS ${GAZEBO_INCLUDE_DIRS})
+set(gazebo_dev_LIBRARY_DIRS ${GAZEBO_LIBRARY_DIRS})
+set(gazebo_dev_LIBRARIES ${GAZEBO_LIBRARIES})
+
+# Append gazebo CXX_FLAGS to CMAKE_CXX_FLAGS (c++11)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
diff --git a/gazebo_dev/package.xml b/gazebo_dev/package.xml
new file mode 100644
index 000000000..d34ca7ffc
--- /dev/null
+++ b/gazebo_dev/package.xml
@@ -0,0 +1,25 @@
+
+
+ gazebo_dev
+ 0.0.0
+
+ Provides a cmake config for the default version of Gazebo for the ROS distribution.
+
+
+ John Hsu
+ Dave Coleman
+
+ Apache 2.0
+
+ http://gazebosim.org/tutorials?cat=connect_ros
+ https://github.com/ros-simulation/gazebo_ros_pkgs/issues
+ https://github.com/ros-simulation/gazebo_ros_pkgs
+
+ Johannes Meyer
+
+ catkin
+
+ libgazebo7-dev
+ gazebo
+
+
diff --git a/gazebo_msgs/package.xml b/gazebo_msgs/package.xml
index b58d59f09..0f87a659d 100644
--- a/gazebo_msgs/package.xml
+++ b/gazebo_msgs/package.xml
@@ -1,5 +1,5 @@
-
+
gazebo_msgs
2.5.12
@@ -25,12 +25,12 @@
std_srvs
message_generation
- geometry_msgs
- sensor_msgs
- trajectory_msgs
- std_msgs
- message_runtime
- std_srvs
+ geometry_msgs
+ sensor_msgs
+ trajectory_msgs
+ std_msgs
+ message_runtime
+ std_srvs
diff --git a/gazebo_plugins/CMakeLists.txt b/gazebo_plugins/CMakeLists.txt
index 042603cb5..23c38523a 100644
--- a/gazebo_plugins/CMakeLists.txt
+++ b/gazebo_plugins/CMakeLists.txt
@@ -4,6 +4,7 @@ project(gazebo_plugins)
option(ENABLE_DISPLAY_TESTS "Enable the building of tests that requires a display" OFF)
find_package(catkin REQUIRED COMPONENTS
+ gazebo_dev
message_generation
gazebo_msgs
roscpp
@@ -39,11 +40,7 @@ else()
message(FATAL_ERROR "pkg-config is required; please install it")
endif()
-# Depend on system install of Gazebo and SDFormat
-find_package(GAZEBO REQUIRED)
-find_package(SDFormat REQUIRED)
find_package(Boost REQUIRED COMPONENTS thread)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
execute_process(COMMAND
pkg-config --variable=plugindir OGRE
@@ -63,18 +60,16 @@ generate_dynamic_reconfigure_options(
include_directories(include
${Boost_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
- ${GAZEBO_INCLUDE_DIRS}
${OGRE_INCLUDE_DIRS}
${OGRE-Terrain_INCLUDE_DIRS}
${OGRE-Paging_INCLUDE_DIRS}
)
link_directories(
- ${GAZEBO_LIBRARY_DIRS}
+ ${catkin_LIBRARY_DIRS}
${OGRE_LIBRARY_DIRS}
${OGRE-Terrain_LIBRARY_DIRS}
${OGRE-Paging_LIBRARY_DIRS}
- ${catkin_LIBRARY_DIRS}
)
if (NOT GAZEBO_VERSION VERSION_LESS 6.0)
@@ -119,7 +114,7 @@ catkin_package(
gazebo_ros_vacuum_gripper
CATKIN_DEPENDS
- message_generation
+ message_runtime
gazebo_msgs
roscpp
rospy
@@ -139,10 +134,7 @@ catkin_package(
rosconsole
camera_info_manager
std_msgs
- DEPENDS
- gazebo
- SDF
- )
+)
add_dependencies(${PROJECT_NAME}_gencfg ${catkin_EXPORTED_TARGETS})
## Executables
@@ -153,7 +145,7 @@ target_link_libraries(hokuyo_node
)
add_library(gazebo_ros_utils src/gazebo_ros_utils.cpp)
-target_link_libraries(gazebo_ros_utils ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_utils ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(vision_reconfigure src/vision_reconfigure.cpp)
add_dependencies(vision_reconfigure ${PROJECT_NAME}_gencfg)
@@ -164,7 +156,7 @@ add_dependencies(camera_synchronizer ${PROJECT_NAME}_gencfg)
target_link_libraries(camera_synchronizer vision_reconfigure ${catkin_LIBRARIES})
add_executable(pub_joint_trajectory_test test/pub_joint_trajectory_test.cpp)
-target_link_libraries(pub_joint_trajectory_test ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(pub_joint_trajectory_test ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_dependencies(pub_joint_trajectory_test ${catkin_EXPORTED_TARGETS}) # don't build until gazebo_msgs is done
add_definitions(-fPIC) # what is this for?
@@ -172,115 +164,115 @@ add_definitions(-fPIC) # what is this for?
## Plugins
add_library(gazebo_ros_camera_utils src/gazebo_ros_camera_utils.cpp)
add_dependencies(gazebo_ros_camera_utils ${PROJECT_NAME}_gencfg)
-target_link_libraries(gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_camera_utils ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(MultiCameraPlugin src/MultiCameraPlugin.cpp)
-target_link_libraries(MultiCameraPlugin ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(MultiCameraPlugin ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_camera src/gazebo_ros_camera.cpp)
add_dependencies(gazebo_ros_camera ${PROJECT_NAME}_gencfg)
-target_link_libraries(gazebo_ros_camera gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} CameraPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_camera gazebo_ros_camera_utils CameraPlugin ${catkin_LIBRARIES})
if (NOT GAZEBO_VERSION VERSION_LESS 6.0)
add_library(gazebo_ros_elevator src/gazebo_ros_elevator.cpp)
add_dependencies(gazebo_ros_elevator ${PROJECT_NAME}_gencfg)
- target_link_libraries(gazebo_ros_elevator ${GAZEBO_LIBRARIES} ElevatorPlugin ${catkin_LIBRARIES})
+ target_link_libraries(gazebo_ros_elevator ElevatorPlugin ${catkin_LIBRARIES})
endif()
add_library(gazebo_ros_multicamera src/gazebo_ros_multicamera.cpp)
add_dependencies(gazebo_ros_multicamera ${PROJECT_NAME}_gencfg)
-target_link_libraries(gazebo_ros_multicamera gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} MultiCameraPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_multicamera gazebo_ros_camera_utils MultiCameraPlugin ${catkin_LIBRARIES})
add_library(gazebo_ros_depth_camera src/gazebo_ros_depth_camera.cpp)
add_dependencies(gazebo_ros_depth_camera ${PROJECT_NAME}_gencfg)
-target_link_libraries(gazebo_ros_depth_camera gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} DepthCameraPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_depth_camera gazebo_ros_camera_utils DepthCameraPlugin ${catkin_LIBRARIES})
add_library(gazebo_ros_openni_kinect src/gazebo_ros_openni_kinect.cpp)
add_dependencies(gazebo_ros_openni_kinect ${PROJECT_NAME}_gencfg)
-target_link_libraries(gazebo_ros_openni_kinect gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} DepthCameraPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_openni_kinect gazebo_ros_camera_utils DepthCameraPlugin ${catkin_LIBRARIES})
add_library(gazebo_ros_gpu_laser src/gazebo_ros_gpu_laser.cpp)
-target_link_libraries(gazebo_ros_gpu_laser ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES} GpuRayPlugin)
+target_link_libraries(gazebo_ros_gpu_laser ${catkin_LIBRARIES} GpuRayPlugin)
if (NOT GAZEBO_VERSION VERSION_LESS 7.3)
add_library(gazebo_ros_harness src/gazebo_ros_harness.cpp)
add_dependencies(gazebo_ros_harness ${catkin_EXPORTED_TARGETS})
- target_link_libraries(gazebo_ros_harness ${GAZEBO_LIBRARIES}
+ target_link_libraries(gazebo_ros_harness
${Boost_LIBRARIES} HarnessPlugin ${catkin_LIBRARIES})
endif()
add_library(gazebo_ros_laser src/gazebo_ros_laser.cpp)
-target_link_libraries(gazebo_ros_laser ${GAZEBO_LIBRARIES} RayPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_laser RayPlugin ${catkin_LIBRARIES})
add_library(gazebo_ros_block_laser src/gazebo_ros_block_laser.cpp)
-target_link_libraries(gazebo_ros_block_laser ${GAZEBO_LIBRARIES} RayPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_block_laser RayPlugin ${catkin_LIBRARIES})
add_library(gazebo_ros_p3d src/gazebo_ros_p3d.cpp)
-target_link_libraries(gazebo_ros_p3d ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_p3d ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_imu src/gazebo_ros_imu.cpp)
-target_link_libraries(gazebo_ros_imu ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_imu ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_f3d src/gazebo_ros_f3d.cpp)
-target_link_libraries(gazebo_ros_f3d ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_f3d ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_bumper src/gazebo_ros_bumper.cpp)
add_dependencies(gazebo_ros_bumper ${catkin_EXPORTED_TARGETS})
-target_link_libraries(gazebo_ros_bumper ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} ContactPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_bumper ${Boost_LIBRARIES} ContactPlugin ${catkin_LIBRARIES})
add_library(gazebo_ros_projector src/gazebo_ros_projector.cpp)
-target_link_libraries(gazebo_ros_projector ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_projector ${Boost_LIBRARIES} ${catkin_LIBRARIES})
add_library(gazebo_ros_prosilica src/gazebo_ros_prosilica.cpp)
add_dependencies(gazebo_ros_prosilica ${PROJECT_NAME}_gencfg)
-target_link_libraries(gazebo_ros_prosilica gazebo_ros_camera_utils ${GAZEBO_LIBRARIES} CameraPlugin ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_prosilica gazebo_ros_camera_utils CameraPlugin ${catkin_LIBRARIES})
add_library(gazebo_ros_force src/gazebo_ros_force.cpp)
-target_link_libraries(gazebo_ros_force ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_force ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_joint_trajectory src/gazebo_ros_joint_trajectory.cpp)
add_dependencies(gazebo_ros_joint_trajectory ${catkin_EXPORTED_TARGETS})
-target_link_libraries(gazebo_ros_joint_trajectory ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_joint_trajectory ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_joint_state_publisher src/gazebo_ros_joint_state_publisher.cpp)
set_target_properties(gazebo_ros_joint_state_publisher PROPERTIES LINK_FLAGS "${ld_flags}")
set_target_properties(gazebo_ros_joint_state_publisher PROPERTIES COMPILE_FLAGS "${cxx_flags}")
add_dependencies(gazebo_ros_joint_state_publisher ${catkin_EXPORTED_TARGETS})
-target_link_libraries(gazebo_ros_joint_state_publisher ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_joint_state_publisher ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_joint_pose_trajectory src/gazebo_ros_joint_pose_trajectory.cpp)
add_dependencies(gazebo_ros_joint_pose_trajectory ${catkin_EXPORTED_TARGETS})
-target_link_libraries(gazebo_ros_joint_pose_trajectory ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_joint_pose_trajectory ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_diff_drive src/gazebo_ros_diff_drive.cpp)
-target_link_libraries(gazebo_ros_diff_drive gazebo_ros_utils ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_diff_drive gazebo_ros_utils ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_tricycle_drive src/gazebo_ros_tricycle_drive.cpp)
-target_link_libraries(gazebo_ros_tricycle_drive gazebo_ros_utils ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} ${catkin_LIBRARIES})
+target_link_libraries(gazebo_ros_tricycle_drive gazebo_ros_utils ${Boost_LIBRARIES} ${catkin_LIBRARIES})
add_library(gazebo_ros_skid_steer_drive src/gazebo_ros_skid_steer_drive.cpp)
-target_link_libraries(gazebo_ros_skid_steer_drive ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_skid_steer_drive ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_video src/gazebo_ros_video.cpp)
-target_link_libraries(gazebo_ros_video ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${OGRE_LIBRARIES})
+target_link_libraries(gazebo_ros_video ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${OGRE_LIBRARIES})
add_library(gazebo_ros_planar_move src/gazebo_ros_planar_move.cpp)
-target_link_libraries(gazebo_ros_planar_move ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_planar_move ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_hand_of_god src/gazebo_ros_hand_of_god.cpp)
set_target_properties(gazebo_ros_hand_of_god PROPERTIES LINK_FLAGS "${ld_flags}")
set_target_properties(gazebo_ros_hand_of_god PROPERTIES COMPILE_FLAGS "${cxx_flags}")
-target_link_libraries(gazebo_ros_hand_of_god ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_hand_of_god ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_ft_sensor src/gazebo_ros_ft_sensor.cpp)
-target_link_libraries(gazebo_ros_ft_sensor ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_ft_sensor ${catkin_LIBRARIES} ${Boost_LIBRARIES})
add_library(gazebo_ros_range src/gazebo_ros_range.cpp)
-target_link_libraries(gazebo_ros_range ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES} RayPlugin)
+target_link_libraries(gazebo_ros_range ${catkin_LIBRARIES} ${Boost_LIBRARIES} RayPlugin)
add_library(gazebo_ros_vacuum_gripper src/gazebo_ros_vacuum_gripper.cpp)
-target_link_libraries(gazebo_ros_vacuum_gripper ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_vacuum_gripper ${catkin_LIBRARIES} ${Boost_LIBRARIES})
##
## Add your new plugin here
@@ -288,7 +280,7 @@ target_link_libraries(gazebo_ros_vacuum_gripper ${GAZEBO_LIBRARIES} ${catkin_LIB
## Template
add_library(gazebo_ros_template src/gazebo_ros_template.cpp)
-target_link_libraries(gazebo_ros_template ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_template ${catkin_LIBRARIES} ${Boost_LIBRARIES})
install(TARGETS
hokuyo_node
diff --git a/gazebo_plugins/package.xml b/gazebo_plugins/package.xml
index 65de5fdee..d5a38d640 100644
--- a/gazebo_plugins/package.xml
+++ b/gazebo_plugins/package.xml
@@ -1,4 +1,5 @@
-
+
+
gazebo_plugins
2.5.12
@@ -17,62 +18,38 @@
catkin
- gazebo_msgs
- geometry_msgs
- libgazebo7-dev
- sensor_msgs
- trajectory_msgs
- std_srvs
- roscpp
- rospy
- nodelet
- angles
- nav_msgs
- urdf
- tf
- tf2_ros
- dynamic_reconfigure
- rosgraph_msgs
- image_transport
- rosconsole
- message_generation
- cv_bridge
- polled_camera
- diagnostic_updater
- camera_info_manager
- std_msgs
-
- gazebo_msgs
- gazebo_ros
- geometry_msgs
+ gazebo_dev
- libgazebo7-dev
- sensor_msgs
- trajectory_msgs
- std_srvs
- roscpp
- rospy
- nodelet
- angles
- nav_msgs
- urdf
- tf
- tf2_ros
- dynamic_reconfigure
- rosgraph_msgs
- image_transport
- rosconsole
- message_generation
- cv_bridge
- polled_camera
- camera_info_manager
- std_msgs
-
-
- rostest
- rostest
+ gazebo_dev
+
+ gazebo_msgs
+ geometry_msgs
+ sensor_msgs
+ trajectory_msgs
+ std_srvs
+ roscpp
+ rospy
+ nodelet
+ angles
+ nav_msgs
+ urdf
+ tf
+ tf2_ros
+ dynamic_reconfigure
+ rosgraph_msgs
+ image_transport
+ rosconsole
+ message_generation
+ message_runtime
+ cv_bridge
+ polled_camera
+ diagnostic_updater
+ camera_info_manager
+ std_msgs
+
+ rostest
diff --git a/gazebo_ros/CMakeLists.txt b/gazebo_ros/CMakeLists.txt
index 66222a070..eb19170b6 100644
--- a/gazebo_ros/CMakeLists.txt
+++ b/gazebo_ros/CMakeLists.txt
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
project(gazebo_ros)
find_package(catkin REQUIRED COMPONENTS
+ gazebo_dev
cmake_modules
roslib
roscpp
@@ -10,7 +11,6 @@ find_package(catkin REQUIRED COMPONENTS
tf
rosgraph_msgs
dynamic_reconfigure
- message_generation
std_msgs
gazebo_msgs
)
@@ -22,10 +22,6 @@ else()
message(FATAL_ERROR "pkg-config is required; please install it")
endif()
-# Depend on system install of Gazebo
-find_package(gazebo REQUIRED)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
-
find_package(Boost REQUIRED COMPONENTS thread)
find_package(TinyXML REQUIRED)
@@ -47,7 +43,6 @@ catkin_package(
tf
rosgraph_msgs
dynamic_reconfigure
- message_generation
std_msgs
gazebo_msgs
@@ -59,10 +54,7 @@ include_directories(
include
${Boost_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
- ${GAZEBO_INCLUDE_DIRS}
- ${SDFormat_INCLUDE_DIRS}
- ${TinyXML_INCLUDE_DIRS}
-)
+ ${TinyXML_INCLUDE_DIRS})
link_directories(${catkin_LIBRARY_DIRS})
@@ -76,25 +68,23 @@ foreach (item ${GAZEBO_LDFLAGS})
set(ld_flags "${ld_flags} ${item}")
endforeach ()
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
-
## Plugins
add_library(gazebo_ros_api_plugin src/gazebo_ros_api_plugin.cpp)
add_dependencies(gazebo_ros_api_plugin ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
set_target_properties(gazebo_ros_api_plugin PROPERTIES LINK_FLAGS "${ld_flags}")
set_target_properties(gazebo_ros_api_plugin PROPERTIES COMPILE_FLAGS "${cxx_flags}")
-target_link_libraries(gazebo_ros_api_plugin ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${TinyXML_LIBRARIES})
+target_link_libraries(gazebo_ros_api_plugin ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${TinyXML_LIBRARIES})
add_library(gazebo_ros_paths_plugin src/gazebo_ros_paths_plugin.cpp)
add_dependencies(gazebo_ros_paths_plugin ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
set_target_properties(gazebo_ros_paths_plugin PROPERTIES COMPILE_FLAGS "${cxx_flags}")
set_target_properties(gazebo_ros_paths_plugin PROPERTIES LINK_FLAGS "${ld_flags}")
-target_link_libraries(gazebo_ros_paths_plugin ${GAZEBO_LIBRARIES} ${SDFormat_LIBRARIES} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
+target_link_libraries(gazebo_ros_paths_plugin ${catkin_LIBRARIES} ${Boost_LIBRARIES})
# Install Gazebo System Plugins
install(TARGETS gazebo_ros_api_plugin gazebo_ros_paths_plugin
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
-)
+ )
# Install Gazebo Scripts
install(PROGRAMS scripts/gazebo
diff --git a/gazebo_ros/package.xml b/gazebo_ros/package.xml
index f45e79296..bce866a09 100644
--- a/gazebo_ros/package.xml
+++ b/gazebo_ros/package.xml
@@ -1,5 +1,5 @@
-
+
gazebo_ros
2.5.12
@@ -22,38 +22,21 @@
catkin
cmake_modules
- gazebo_msgs
- libgazebo7-dev
- roslib
- roscpp
- tf
- std_srvs
- rosgraph_msgs
- dynamic_reconfigure
- std_msgs
- geometry_msgs
- message_generation
- std_msgs
- tinyxml
-
- gazebo_msgs
-
- gazebo
+ gazebo_dev
- libgazebo7-dev
- roslib
- roscpp
- tf
- std_srvs
- rosgraph_msgs
- dynamic_reconfigure
- geometry_msgs
- message_generation
- std_msgs
- tinyxml
-
+ gazebo_dev
+ gazebo_msgs
+ roslib
+ roscpp
+ tf
+ std_srvs
+ rosgraph_msgs
+ dynamic_reconfigure
+ std_msgs
+ geometry_msgs
+ tinyxml
diff --git a/gazebo_ros_control/CMakeLists.txt b/gazebo_ros_control/CMakeLists.txt
index 7ae5da1dc..58304f320 100644
--- a/gazebo_ros_control/CMakeLists.txt
+++ b/gazebo_ros_control/CMakeLists.txt
@@ -3,6 +3,7 @@ project(gazebo_ros_control)
# Load catkin and all dependencies required for this package
find_package(catkin REQUIRED COMPONENTS
+ gazebo_dev
roscpp
std_msgs
control_toolbox
@@ -15,12 +16,6 @@ find_package(catkin REQUIRED COMPONENTS
angles
)
-# Depend on system install of Gazebo
-find_package(GAZEBO REQUIRED)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
-
-find_package(Boost REQUIRED COMPONENTS thread)
-
catkin_package(
CATKIN_DEPENDS
roscpp
@@ -33,33 +28,25 @@ catkin_package(
joint_limits_interface
urdf
angles
- DEPENDS
- #GAZEBO # Re-enable after issue resolved:
- # https://bitbucket.org/osrf/gazebo/issues/2198/gazebo7-linking-error-with-cmake-catkin
- INCLUDE_DIRS
- include
- LIBRARIES
- ${PROJECT_NAME}
- default_robot_hw_sim
+ INCLUDE_DIRS include
+ LIBRARIES ${PROJECT_NAME} default_robot_hw_sim
)
link_directories(
- ${GAZEBO_LIBRARY_DIRS}
${catkin_LIBRARY_DIRS}
)
include_directories(include
${Boost_INCLUDE_DIR}
${catkin_INCLUDE_DIRS}
- ${GAZEBO_INCLUDE_DIRS}
)
## Libraries
add_library(${PROJECT_NAME} src/gazebo_ros_control_plugin.cpp)
-target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
+target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
add_library(default_robot_hw_sim src/default_robot_hw_sim.cpp)
-target_link_libraries(default_robot_hw_sim ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
+target_link_libraries(default_robot_hw_sim ${catkin_LIBRARIES})
## Install
install(TARGETS ${PROJECT_NAME} default_robot_hw_sim
diff --git a/gazebo_ros_control/package.xml b/gazebo_ros_control/package.xml
index 4a3593dec..c7623f303 100644
--- a/gazebo_ros_control/package.xml
+++ b/gazebo_ros_control/package.xml
@@ -1,4 +1,5 @@
-
+
+
gazebo_ros_control
2.5.12
gazebo_ros_control
@@ -16,34 +17,18 @@
catkin
- roscpp
- std_msgs
- control_toolbox
- controller_manager
- libgazebo7-dev
- pluginlib
- hardware_interface
- transmission_interface
- joint_limits_interface
- urdf
- angles
-
- roscpp
- std_msgs
- gazebo_ros
-
- libgazebo7-dev
- control_toolbox
- controller_manager
- pluginlib
- hardware_interface
- joint_limits_interface
- transmission_interface
- urdf
- angles
+ gazebo_dev
+ gazebo_ros
+ roscpp
+ std_msgs
+ control_toolbox
+ controller_manager
+ pluginlib
+ hardware_interface
+ transmission_interface
+ joint_limits_interface
+ urdf
+ angles
diff --git a/gazebo_ros_pkgs/package.xml b/gazebo_ros_pkgs/package.xml
index 0abb2288f..6b5fab12f 100644
--- a/gazebo_ros_pkgs/package.xml
+++ b/gazebo_ros_pkgs/package.xml
@@ -1,5 +1,5 @@
-
+
gazebo_ros_pkgs
2.5.12
Interface for using ROS with the Gazebo simulator.
@@ -16,9 +16,10 @@
catkin
- gazebo_msgs
- gazebo_plugins
- gazebo_ros
+ gazebo_dev
+ gazebo_msgs
+ gazebo_plugins
+ gazebo_ros