How should I create a timer in ros2?
I am looking for the create_timer function in ros2 but I only find the rclcpp::Node::create_wall_timer.
From my understanding there should be some abstract create_timer function (instead of wall timer) to work optionally with the simulated time. Where is this function?
If that function is not there in ros2, what would be the solution to have some abstract timer that adapts to the wall or to the simulated time?