Monitors the joint_states topic and tf to record the trajectory of the robot.
More...
#include <trajectory_monitor.h>
Monitors the joint_states topic and tf to record the trajectory of the robot.
Definition at line 56 of file trajectory_monitor.h.
◆ TrajectoryMonitor() [1/2]
planning_scene_monitor::TrajectoryMonitor::TrajectoryMonitor |
( |
const CurrentStateMonitorConstPtr & |
state_monitor, |
|
|
double |
sampling_frequency = 0.0 |
|
) |
| |
◆ TrajectoryMonitor() [2/2]
planning_scene_monitor::TrajectoryMonitor::TrajectoryMonitor |
( |
const CurrentStateMonitorConstPtr & |
state_monitor, |
|
|
std::unique_ptr< MiddlewareHandle > |
middleware_handle, |
|
|
double |
sampling_frequency = 0.0 |
|
) |
| |
Constructor with middleware handle as input parameter.
- Parameters
-
[in] | state_monitor | |
[in] | sampling_frequency | |
◆ ~TrajectoryMonitor()
planning_scene_monitor::TrajectoryMonitor::~TrajectoryMonitor |
( |
| ) |
|
◆ clearTrajectory()
void planning_scene_monitor::TrajectoryMonitor::clearTrajectory |
( |
| ) |
|
◆ getSamplingFrequency()
double planning_scene_monitor::TrajectoryMonitor::getSamplingFrequency |
( |
| ) |
const |
|
inline |
◆ getTrajectory()
Return the current maintained trajectory. This function is not thread safe (hence NOT const), because the trajectory could be modified.
Definition at line 113 of file trajectory_monitor.h.
◆ isActive()
bool planning_scene_monitor::TrajectoryMonitor::isActive |
( |
| ) |
const |
◆ setOnStateAddCallback()
◆ setSamplingFrequency()
void planning_scene_monitor::TrajectoryMonitor::setSamplingFrequency |
( |
double |
sampling_frequency | ) |
|
◆ startTrajectoryMonitor()
void planning_scene_monitor::TrajectoryMonitor::startTrajectoryMonitor |
( |
| ) |
|
◆ stopTrajectoryMonitor()
void planning_scene_monitor::TrajectoryMonitor::stopTrajectoryMonitor |
( |
| ) |
|
◆ swapTrajectory()
The documentation for this class was generated from the following files: