can you overwrite ros :: Timer to restart the counter?
I would like to restart an accountant if a circumstance
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I would like to restart an accountant if a circumstance
I think a combination of .stop()
and .start()
would do what you want.
See also the ros::Timer docs.
Older question / duplicate: #q11308.
Asked: 2017-10-12 16:48:52 -0500
Seen: 653 times
Last updated: Oct 13 '17
Do Timers run in different threads? [roscpp]
How to use timer callback in ROS?
I want to reset ros::time::now [closed]
How can we know the frequency at which messages are being published in ROS2 ?
How to call a service with begin and end time as request/input
ros::duration does not sleep the desired amount of time [closed]