rclcpp icon indicating copy to clipboard operation
rclcpp copied to clipboard

Modifies timers API to select autostart state

Open Voldivh opened this issue 1 year ago • 1 comments

Signed-off-by: Voldivh [email protected]

This PR addresses the issue #1980. Basically it gives the timers API a variable that enables or disables the start of the timer at initialization. The variable autostart is defaulted to True in order to avoid any breaks in current use of the API. In order to start the timer if autostart = false you can simply call the method timer->reset(). This PR is dependant on modifications on this PR at the RCL package and should be merged after that one.

Voldivh avatar Aug 26 '22 13:08 Voldivh