From 1d416574f6feccd6f3360ffdcfc2259070191521 Mon Sep 17 00:00:00 2001 From: Kevin Allen Date: Tue, 29 May 2018 14:46:10 -0700 Subject: [PATCH] ROSAPI: fix physics reconfigure within namespace (issue #507) --- gazebo_ros/src/gazebo_ros_api_plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gazebo_ros/src/gazebo_ros_api_plugin.cpp b/gazebo_ros/src/gazebo_ros_api_plugin.cpp index 0ef482d80..eac91cbb0 100644 --- a/gazebo_ros/src/gazebo_ros_api_plugin.cpp +++ b/gazebo_ros/src/gazebo_ros_api_plugin.cpp @@ -2310,8 +2310,8 @@ void GazeboRosApiPlugin::physicsReconfigureCallback(gazebo_ros::PhysicsConfig &c void GazeboRosApiPlugin::physicsReconfigureThread() { - physics_reconfigure_set_client_ = nh_->serviceClient("/gazebo/set_physics_properties"); - physics_reconfigure_get_client_ = nh_->serviceClient("/gazebo/get_physics_properties"); + physics_reconfigure_set_client_ = nh_->serviceClient("set_physics_properties"); + physics_reconfigure_get_client_ = nh_->serviceClient("get_physics_properties"); // Wait until the rest of this plugin is loaded and the services are being offered physics_reconfigure_set_client_.waitForExistence();