moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
planning_scene_monitor::TrajectoryMonitorMiddlewareHandle Class Reference

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>

Inheritance diagram for planning_scene_monitor::TrajectoryMonitorMiddlewareHandle:
Inheritance graph
[legend]
Collaboration diagram for planning_scene_monitor::TrajectoryMonitorMiddlewareHandle:
Collaboration graph
[legend]

Public Member Functions

 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.
 
- Public Member Functions inherited from planning_scene_monitor::TrajectoryMonitor::MiddlewareHandle
virtual ~MiddlewareHandle ()=default
 Destroys the object.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TrajectoryMonitorMiddlewareHandle()

planning_scene_monitor::TrajectoryMonitorMiddlewareHandle::TrajectoryMonitorMiddlewareHandle ( double  sampling_frequency)

Constructor for TrajectoryMonitor.

Parameters
[in]sampling_frequencyUsed to create ROS2 Rate

Definition at line 42 of file trajectory_monitor_middleware_handle.cpp.

Member Function Documentation

◆ setRate()

void planning_scene_monitor::TrajectoryMonitorMiddlewareHandle::setRate ( double  sampling_frequency)
overridevirtual

Set Rate using sampling frequency.

Implements planning_scene_monitor::TrajectoryMonitor::MiddlewareHandle.

Definition at line 47 of file trajectory_monitor_middleware_handle.cpp.

◆ sleep()

void planning_scene_monitor::TrajectoryMonitorMiddlewareHandle::sleep ( )
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.


The documentation for this class was generated from the following files: