Skip to content

Commit

Permalink
ROSAPI: fix physics reconfigure within namespace (issue ros-simulatio…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Allen committed Jun 27, 2018
1 parent dd51b73 commit 4ad35fa
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 @@ -2286,8 +2286,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 4ad35fa

Please sign in to comment.