ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I think you can use a timer with the callback, that will store the last odometry message in the _last_odom_msg
class field, and then you can just retrieve that value when the service is called.