Robotics StackExchange | Archived questions

ROS2 timer: one shot and additional arguments

Hello,

Where to pass the one shot property and additionall callback arguments to a ROS2 timer? By default it accepts function<void(void)> as a callback. I have found only answers for ROS1. I guess it is something connected to C++ templates, but I do not have much idea here.

Asked by uthinu on 2018-11-07 08:47:23 UTC

Comments

Answers