Go to the documentation of this file.
42 #include <boost/thread.hpp>
52 class TrajectoryMonitor
57 TrajectoryMonitor(
const CurrentStateMonitorConstPtr& state_monitor,
double sampling_frequency = 0.0);
std::unique_ptr< boost::thread > record_states_thread_
ros::Time last_recorded_state_time_
ros::Time trajectory_start_time_
const robot_trajectory::RobotTrajectory & getTrajectory()
CurrentStateMonitorConstPtr current_state_monitor_
double sampling_frequency_
void stopTrajectoryMonitor()
boost::function< void(const moveit::core::RobotStateConstPtr &, const ros::Time &)> TrajectoryStateAddedCallback
void swapTrajectory(robot_trajectory::RobotTrajectory &other)
void setOnStateAddCallback(const TrajectoryStateAddedCallback &callback)
TrajectoryMonitor(const CurrentStateMonitorConstPtr &state_monitor, double sampling_frequency=0.0)
Constructor.
robot_trajectory::RobotTrajectory trajectory_
MOVEIT_CLASS_FORWARD(CurrentStateMonitor)
TrajectoryStateAddedCallback state_add_callback_
void startTrajectoryMonitor()
double getSamplingFrequency() const
void setSamplingFrequency(double sampling_frequency)
void swap(robot_trajectory::RobotTrajectory &other)
planning
Author(s): Ioan Sucan
, Sachin Chitta
autogenerated on Thu Nov 21 2024 03:24:18