Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespacing causes sigterm on exit #507

Closed
el3ment opened this issue Nov 4, 2016 · 1 comment
Closed

Namespacing causes sigterm on exit #507

el3ment opened this issue Nov 4, 2016 · 1 comment
Labels

Comments

@el3ment
Copy link

el3ment commented Nov 4, 2016

physics_reconfigure_set_client_ = nh_->serviceClient<gazebo_msgs::SetPhysicsProperties>("/gazebo/set_physics_properties");

I think this line (and the next) are supposed to use the gazebo_namespace, not just be hardcoded to /gazebo

The issue is that when using a namespace, we get this

waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...

Because it will never be advertised. When killing the agent, gazebo waits for a long time, and eventually raises a sigterm and dies

kev-the-dev pushed a commit to kev-the-dev/gazebo_ros_pkgs that referenced this issue May 29, 2018
@kev-the-dev
Copy link
Collaborator

Good catch. This actually would break the physics reconfigure feature when in a namespace. Fixed in #732

@j-rivero j-rivero added the in pr label May 30, 2018
kev-the-dev pushed a commit to kev-the-dev/gazebo_ros_pkgs that referenced this issue Jun 12, 2018
scpeters added a commit that referenced this issue Jun 26, 2018
ROSAPI: fix physics reconfigure within namespace (issue #507)
kev-the-dev pushed a commit to kev-the-dev/gazebo_ros_pkgs that referenced this issue Jun 27, 2018
kev-the-dev pushed a commit to kev-the-dev/gazebo_ros_pkgs that referenced this issue Jun 27, 2018
kev-the-dev pushed a commit to kev-the-dev/gazebo_ros_pkgs that referenced this issue Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants