Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

A bit late so it, unfortunately, might not help you anymore but I think the problem you're facing is that you're pausing the simulation which also pauses ROS time and ROS spinning (delivery of messages to callbacks etc.).

In short, everything is paused so your callback will not be called unless you unpause the simulation manually.