ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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

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

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
1

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

gvdhoorn gravatar image

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

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

Question Tools

1 follower

Stats

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

Seen: 665 times

Last updated: Oct 13 '17