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

transport::Publisher occasionally fails to send messages #2724

Closed
nlamprian opened this issue May 2, 2020 · 1 comment
Closed

transport::Publisher occasionally fails to send messages #2724

nlamprian opened this issue May 2, 2020 · 1 comment

Comments

@nlamprian
Copy link

nlamprian commented May 2, 2020

When calling the delete_model service of gazebo_ros_api_plugin, sometimes the service fails to delete the model. If the service fails once, it never works again after that point. Looking further into it, it seems there is a problem with the request_pub_ publisher. The publisher never publishes the messages. I confirmed that by subscribing to /gazebo/default/request. Also, request_pub_->HasConnections() always returns true, and request_pub_->GetOutgoingCount() shows that the messages are accumulating.

To reproduce this:

  1. roslaunch gazebo_ros empty_world.launch
  2. rosrun gazebo_ros spawn_model -sdf -file <path_to_model> -model model0
  3. rosservice call /gazebo/delete_model "model_name: model0"

and repeat until the problem shows up.

I'm using gazebo 9.13.0

nlamprian added a commit to nlamprian/gazebo that referenced this issue May 3, 2020
nlamprian added a commit to nlamprian/gazebo that referenced this issue May 3, 2020
nlamprian added a commit to nlamprian/gazebo that referenced this issue Jun 26, 2020
nlamprian added a commit to nlamprian/gazebo that referenced this issue Aug 10, 2020
nlamprian added a commit to nlamprian/gazebo that referenced this issue Aug 10, 2020
nlamprian added a commit to nlamprian/gazebo that referenced this issue Sep 27, 2020
nlamprian added a commit to nlamprian/gazebo that referenced this issue Sep 27, 2020
@nlamprian
Copy link
Author

Fixed in gazebo 9.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant