ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Are you using C++? You can simply copy the data into a new object? Like
FooMsg copy = callbackMsg;
It would look a bit different if you use pointer instead of references in your callbacks. Can you edit your question to include some sample code (at least one of the callbacks)?