40 #include <rclcpp/rclcpp.hpp>
61 void setRate(
double sampling_frequency)
override;
66 void sleep()
override;
69 std::unique_ptr<rclcpp::Rate> rate_;
This class contains the ROS2 interfaces for TrajectoryMonitor. This class is useful for testing by mo...
TrajectoryMonitorMiddlewareHandle(double sampling_frequency)
Constructor for TrajectoryMonitor.
void setRate(double sampling_frequency) override
Set Rate using sampling frequency.
void sleep() override
Sleeps for time specified by sampling_frequency.
This class contains the rcl interfaces for easier testing.