ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

can you overwrite ros :: Timer to restart the counter?

asked 2017-10-12 16:48:52 -0600

mag.rod gravatar image

I would like to restart an accountant if a circumstance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-13 03:02:01 -0600

gvdhoorn gravatar image

updated 2017-10-13 03:02:33 -0600

I think a combination of .stop() and .start() would do what you want.

See also the ros::Timer docs.

Older question / duplicate: #q11308.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-10-12 16:48:52 -0600

Seen: 450 times

Last updated: Oct 13 '17