ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
![]() | 1 | initial version |
The values "on the topic" will not be 0 when the topic is not active and will not stay at the last value when de-activated again. When a topic is not active (this is also the way to check) it will not send any data.
So the very likely explanation for the values being 0 and staying at their value is that this is a logic that you do in you subscriber node. Here, you can change everything to your intended behavior.