tf2_ros
master
This package contains the ROS bindings for the tf2 library, for both Python and C++.
|
Go to the documentation of this file.
30 #ifndef TF2_ROS__CREATE_TIMER_ROS_H
31 #define TF2_ROS__CREATE_TIMER_ROS_H
34 #include <unordered_map>
36 #include <rclcpp/rclcpp.hpp>
54 rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base,
55 rclcpp::node_interfaces::NodeTimersInterface::SharedPtr node_timers);
71 rclcpp::Clock::SharedPtr clock,
72 const tf2::Duration & period,
121 rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base_;
122 rclcpp::node_interfaces::NodeTimersInterface::SharedPtr node_timers_;
130 #endif // TF2_ROS__CREATE_TIMER_INTERFACE_H
virtual TF2_ROS_PUBLIC void remove(const TimerHandle &timer_handle) override
Remove a timer.
virtual TF2_ROS_PUBLIC void cancel(const TimerHandle &timer_handle) override
Cancel a timer.
Abstract interface for creating timers.
Definition: create_timer_interface.h:70
virtual TF2_ROS_PUBLIC TimerHandle createTimer(rclcpp::Clock::SharedPtr clock, const tf2::Duration &period, TimerCallbackType callback) override
Create a new timer.
TF2_ROS_PUBLIC CreateTimerROS(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base, rclcpp::node_interfaces::NodeTimersInterface::SharedPtr node_timers)
uint64_t TimerHandle
Definition: create_timer_interface.h:44
Create and manage ROS timers.
Definition: create_timer_ros.h:49
virtual TF2_ROS_PUBLIC void reset(const TimerHandle &timer_handle) override
Reset the timer.
virtual ~CreateTimerROS()=default
Definition: async_buffer_interface.h:41
#define TF2_ROS_PUBLIC
Definition: visibility_control.h:58