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

The frame id still exists but the data is older. If you care about the specific time at which a frame is available you can quiet for a transform between it and it's parent using a timestamp of zero. This will return the latest valid transform with the timestamp associated with that value. Then you can test for how old that transform is to determine if you consider it to have been stopped publishing.

The age at which something is determined to be not publishing anymore is application and situation specific.

I don't know your use case, but I suspect that you will be better served using canTransform queries than frameExists

The frame id still exists but the data is older. If you care about the specific time at which a frame is available you can quiet query for a transform between it and it's its parent using a timestamp of zero. This will return the latest valid transform with the timestamp associated with that value. Then you can test for how old that transform is to determine if you consider it to have been stopped publishing.

The age at which something is determined to be not publishing anymore is application and situation specific.

I don't know your use case, but I suspect that you will be better served using canTransform queries than frameExists