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 | Q&A answers.ros.org |
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2017-10-12 16:48:52 -0600
Seen: 450 times
Last updated: Oct 13 '17
Do Timers run in different threads? [roscpp]
How can we know the frequency at which messages are being published in ROS2 ?
Combination of timer and subscriber
How to use timer callback in ROS?
How to call a service with begin and end time as request/input
I want to reset ros::time::now [closed]
ros::duration does not sleep the desired amount of time [closed]