Skip to content

Commit

Permalink
ROSAPI: fix physics reconfigure within namespace (issue #507)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Allen committed Jun 12, 2018
1 parent cd23e3a commit 1d41657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gazebo_ros/src/gazebo_ros_api_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2310,8 +2310,8 @@ void GazeboRosApiPlugin::physicsReconfigureCallback(gazebo_ros::PhysicsConfig &c

void GazeboRosApiPlugin::physicsReconfigureThread()
{
physics_reconfigure_set_client_ = nh_->serviceClient<gazebo_msgs::SetPhysicsProperties>("/gazebo/set_physics_properties");
physics_reconfigure_get_client_ = nh_->serviceClient<gazebo_msgs::GetPhysicsProperties>("/gazebo/get_physics_properties");
physics_reconfigure_set_client_ = nh_->serviceClient<gazebo_msgs::SetPhysicsProperties>("set_physics_properties");
physics_reconfigure_get_client_ = nh_->serviceClient<gazebo_msgs::GetPhysicsProperties>("get_physics_properties");

// Wait until the rest of this plugin is loaded and the services are being offered
physics_reconfigure_set_client_.waitForExistence();
Expand Down

0 comments on commit 1d41657

Please sign in to comment.