moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
This class contains the ROS2 interfaces for TrajectoryMonitor. This class is useful for testing by mocking the functions in the class below. More...
#include <trajectory_monitor_middleware_handle.hpp>
Public Member Functions | |
TrajectoryMonitorMiddlewareHandle (double sampling_frequency) | |
Constructor for TrajectoryMonitor. More... | |
void | setRate (double sampling_frequency) override |
Set Rate using sampling frequency. More... | |
void | sleep () override |
Sleeps for time specified by sampling_frequency . More... | |
Public Member Functions inherited from planning_scene_monitor::TrajectoryMonitor::MiddlewareHandle | |
virtual | ~MiddlewareHandle ()=default |
Destroys the object. More... | |
This class contains the ROS2 interfaces for TrajectoryMonitor. This class is useful for testing by mocking the functions in the class below.
Definition at line 48 of file trajectory_monitor_middleware_handle.hpp.
planning_scene_monitor::TrajectoryMonitorMiddlewareHandle::TrajectoryMonitorMiddlewareHandle | ( | double | sampling_frequency | ) |
Constructor for TrajectoryMonitor.
[in] | sampling_frequency | Used to create ROS2 Rate |
Definition at line 42 of file trajectory_monitor_middleware_handle.cpp.
|
overridevirtual |
Set Rate using sampling frequency.
Implements planning_scene_monitor::TrajectoryMonitor::MiddlewareHandle.
Definition at line 47 of file trajectory_monitor_middleware_handle.cpp.
|
overridevirtual |
Sleeps for time specified by sampling_frequency
.
Implements planning_scene_monitor::TrajectoryMonitor::MiddlewareHandle.
Definition at line 55 of file trajectory_monitor_middleware_handle.cpp.