ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ROS doesn't have any concept of calling a callback only when the data changes; callbacks are called whenever a new message is published, and the publisher is responsible for the semantics of when new messages are published.

If you want to detect when the data changes, you'll have to implement that yourself.