Template Function rclcpp::create_wall_timer
Defined in File create_timer.hpp
Function Documentation
Convenience method to create a timer with node resources.
- Template Parameters:
DurationRepT –
DurationT –
CallbackT –
- Parameters:
period – period to execute callback. This duration must be 0 <= period < nanoseconds::max()
callback – callback to execute via the timer period
group –
node_base –
node_timers –
- Throws:
std::invalid – argument if either node_base or node_timers are null, or period is negative or too large
- Returns: