Class Rate

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class Rate : public rclcpp::RateBase

Subclassed by rclcpp::WallRate

Public Functions

explicit Rate(const double rate, Clock::SharedPtr clock = std::make_shared<Clock>(RCL_SYSTEM_TIME))
explicit Rate(const Duration &period, Clock::SharedPtr clock = std::make_shared<Clock>(RCL_SYSTEM_TIME))
virtual bool sleep()
virtual rcl_clock_type_t get_type() const
virtual void reset()
std::chrono::nanoseconds period() const