|
nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
|
rclcpp::Timer — periodic callback driven by the executor. More...
#include <cstdint>#include <cstddef>#include "rclcpp/result.hpp"#include "rclcpp/detail/hosted_block.hpp"#include "rclcpp/duration.hpp"#include "rclcpp/detail/nros_cpp_ffi.h"#include "rclcpp/clock.hpp"#include "rclcpp/inplace_fn.hpp"

Go to the source code of this file.
Classes | |
| class | Timer |
| class | rclcpp::TimerHandle |
| struct | rclcpp::TimerInfo |
| class | rclcpp::TimerOps |
Namespaces | |
| namespace | rclcpp |
| namespace | rclcpp::detail |
Typedefs | |
| using | rclcpp::TimerBase = ::rclcpp::Timer |
| using | rclcpp::TimerInfoCallbackType = InplaceFn<void(const TimerInfo&)> |
Functions | |
| **timer | cancel () |
| * | RCLCPP_TRY (node.create_wall_timer(timer, 1000, on_timer)) |
| *timer | reset () |
| ClockValuePtr | rclcpp::detail::timer_clock (void *executor, size_t handle_id) |
Variables | |
| **rclcpp::Timer | timer |
rclcpp::Timer — periodic callback driven by the executor.
| **timer cancel | ( | ) |
| * RCLCPP_TRY | ( | node. | create_wall_timertimer, 1000, on_timer | ) |
| *timer reset | ( | ) |
| * * rclcpp::Timer timer |