diff --git a/.travis.yml b/.travis.yml
index 76e0c8219..c81e7280f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,7 +31,7 @@ before_install:
- sudo `which rosdep` init
- rosdep update
# Use rosdep to install dependencies
- - rosdep install --default-yes --from-paths ./ --rosdistro $CI_ROS_DISTRO
+ - rosdep install --default-yes --ignore-src --from-paths ./ --rosdistro $CI_ROS_DISTRO
install:
# Create workspace
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..bd8bf5a7d
--- /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
+
+ gazebo
+ gazebo
+
+
diff --git a/gazebo_msgs/package.xml b/gazebo_msgs/package.xml
index 8f10522af..3becfd216 100644
--- a/gazebo_msgs/package.xml
+++ b/gazebo_msgs/package.xml
@@ -1,5 +1,5 @@
-
+
gazebo_msgs
2.4.11
@@ -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 d2c31c26d..3b7f7dcf2 100644
--- a/gazebo_plugins/CMakeLists.txt
+++ b/gazebo_plugins/CMakeLists.txt
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
project(gazebo_plugins)
find_package(catkin REQUIRED COMPONENTS
+ gazebo_dev
message_generation
gazebo_msgs
roscpp
@@ -38,10 +39,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(Boost REQUIRED COMPONENTS thread)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
execute_process(COMMAND
pkg-config --variable=plugindir OGRE
@@ -61,22 +59,18 @@ 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}
)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
-
if (NOT GAZEBO_VERSION VERSION_LESS 6.0)
catkin_package( INCLUDE_DIRS include LIBRARIES gazebo_ros_elevator)
endif()
@@ -117,7 +111,7 @@ catkin_package(
gazebo_ros_planar_move
CATKIN_DEPENDS
- message_generation
+ message_runtime
gazebo_msgs
roscpp
rospy
@@ -138,9 +132,6 @@ catkin_package(
rosconsole
camera_info_manager
std_msgs
- DEPENDS
- gazebo
- SDF
)
add_dependencies(${PROJECT_NAME}_gencfg ${catkin_EXPORTED_TARGETS})
@@ -152,7 +143,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)
@@ -163,7 +154,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?
@@ -171,112 +162,112 @@ 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 your new plugin here
@@ -284,7 +275,7 @@ target_link_libraries(gazebo_ros_range ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES} $
## 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 1db5e0e16..e1419c800 100644
--- a/gazebo_plugins/package.xml
+++ b/gazebo_plugins/package.xml
@@ -1,4 +1,5 @@
-
+
+
gazebo_plugins
2.4.11
@@ -17,60 +18,35 @@
catkin
- gazebo
- gazebo_msgs
- geometry_msgs
- sensor_msgs
- trajectory_msgs
- std_srvs
- roscpp
- rospy
- nodelet
- angles
- nav_msgs
- urdf
- tf
- tf2_ros
- dynamic_reconfigure
- driver_base
- rosgraph_msgs
- image_transport
- rosconsole
+ gazebo_dev
+ gazebo
+
+ gazebo_msgs
+ geometry_msgs
+ sensor_msgs
+ trajectory_msgs
+ std_srvs
+ roscpp
+ rospy
+ nodelet
+ angles
+ nav_msgs
+ urdf
+ tf
+ tf2_ros
+ dynamic_reconfigure
+ driver_base
+ rosgraph_msgs
+ image_transport
+ rosconsole
message_generation
- cv_bridge
- polled_camera
- diagnostic_updater
- camera_info_manager
- std_msgs
-
- gazebo
- gazebo_msgs
- gazebo_ros
- geometry_msgs
- sensor_msgs
- trajectory_msgs
- std_srvs
- roscpp
- rospy
- nodelet
- angles
- nav_msgs
- urdf
- tf
- tf2_ros
- dynamic_reconfigure
- driver_base
- rosgraph_msgs
- image_transport
- rosconsole
- message_generation
- cv_bridge
- polled_camera
- camera_info_manager
- std_msgs
-
-
- rostest
- rostest
+ 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 66a59c7dc..b2a78eb28 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,8 +54,6 @@ include_directories(
include
${Boost_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
- ${GAZEBO_INCLUDE_DIRS}
- ${SDFormat_INCLUDE_DIRS}
${TinyXML_INCLUDE_DIRS})
link_directories(${catkin_LIBRARY_DIRS})
@@ -75,20 +68,18 @@ 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
diff --git a/gazebo_ros/package.xml b/gazebo_ros/package.xml
index 1a6726955..ff406cbdf 100644
--- a/gazebo_ros/package.xml
+++ b/gazebo_ros/package.xml
@@ -1,5 +1,5 @@
-
+
gazebo_ros
2.4.11
@@ -23,31 +23,21 @@
catkin
cmake_modules
- gazebo
- gazebo_msgs
- roslib
- roscpp
- tf
- std_srvs
- rosgraph_msgs
- dynamic_reconfigure
- std_msgs
- geometry_msgs
- message_generation
- std_msgs
- tinyxml
-
- gazebo
- gazebo_msgs
- roslib
- roscpp
- tf
- std_srvs
- rosgraph_msgs
- dynamic_reconfigure
- geometry_msgs
- message_generation
- std_msgs
- tinyxml
+ gazebo_dev
+
+ 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 cf228b007..36201c74a 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,10 +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}")
-
catkin_package(
CATKIN_DEPENDS
roscpp
@@ -33,27 +30,23 @@ catkin_package(
angles
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME} default_robot_hw_sim
- DEPENDS gazebo
)
link_directories(
- ${GAZEBO_LIBRARY_DIRS}
${catkin_LIBRARY_DIRS}
)
include_directories(include
${Boost_INCLUDE_DIR}
${catkin_INCLUDE_DIRS}
- ${GAZEBO_INCLUDE_DIRS}
)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
## 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 e71a22981..9cc98061c 100644
--- a/gazebo_ros_control/package.xml
+++ b/gazebo_ros_control/package.xml
@@ -1,4 +1,5 @@
-
+
+
gazebo_ros_control
2.4.11
gazebo_ros_control
@@ -17,30 +18,19 @@
catkin
- roscpp
- std_msgs
- gazebo
- control_toolbox
- controller_manager
- pluginlib
- hardware_interface
- transmission_interface
- joint_limits_interface
- urdf
- angles
-
- roscpp
- std_msgs
- gazebo
- gazebo_ros
- control_toolbox
- controller_manager
- pluginlib
- hardware_interface
- transmission_interface
- joint_limits_interface
- urdf
- angles
+ gazebo_dev
+ gazebo
+ 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 7216aff1e..533e9649a 100644
--- a/gazebo_ros_pkgs/package.xml
+++ b/gazebo_ros_pkgs/package.xml
@@ -1,5 +1,5 @@
-
+
gazebo_ros_pkgs
2.4.11
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