15#include <ros_timer_client/cl_ros_timer.hpp>
20: duration_(duration), oneshot_(oneshot)
28 auto clock = this->
getNode()->get_clock();
30 timer_ = rclcpp::create_timer(
rclcpp::Duration duration_
virtual void onInitialize() override
smacc2::SmaccSignal< void()> onTimerTick_
rclcpp::TimerBase::SharedPtr timer_
std::function< void()> postTimerEvent_
ClRosTimer(rclcpp::Duration duration, bool oneshot=false)
rclcpp::Node::SharedPtr getNode()