SMACC2
|
#include <cp_trajectory_history.hpp>
Public Member Functions | |
bool | getLastTrajectory (int backIndex, moveit_msgs::msg::RobotTrajectory &trajectory) |
bool | getLastTrajectory (moveit_msgs::msg::RobotTrajectory &trajectory) |
void | pushTrajectory (std::string name, const moveit_msgs::msg::RobotTrajectory &trajectory, moveit_msgs::msg::MoveItErrorCodes result) |
Public Member Functions inherited from smacc2::ISmaccComponent | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Private Attributes | |
std::vector< TrajectoryHistoryEntry > | trajectoryHistory_ |
Definition at line 37 of file cp_trajectory_history.hpp.
bool cl_moveit2z::CpTrajectoryHistory::getLastTrajectory | ( | int | backIndex, |
moveit_msgs::msg::RobotTrajectory & | trajectory | ||
) |
Definition at line 25 of file cp_trajectory_history.cpp.
References smacc2::ISmaccComponent::getLogger(), smacc2::ISmaccComponent::getName(), and trajectoryHistory_.
Referenced by getLastTrajectory(), cl_moveit2z::CbExecuteLastTrajectory::onEntry(), cl_moveit2z::CbMoveLastTrajectoryInitialState::onEntry(), and cl_moveit2z::CbUndoLastTrajectory::onEntry().
bool cl_moveit2z::CpTrajectoryHistory::getLastTrajectory | ( | moveit_msgs::msg::RobotTrajectory & | trajectory | ) |
Definition at line 53 of file cp_trajectory_history.cpp.
References getLastTrajectory().
void cl_moveit2z::CpTrajectoryHistory::pushTrajectory | ( | std::string | name, |
const moveit_msgs::msg::RobotTrajectory & | trajectory, | ||
moveit_msgs::msg::MoveItErrorCodes | result | ||
) |
Definition at line 58 of file cp_trajectory_history.cpp.
References smacc2::ISmaccComponent::getLogger(), smacc2::ISmaccComponent::getName(), cl_moveit2z::TrajectoryHistoryEntry::trajectory, and trajectoryHistory_.
Referenced by cl_moveit2z::CbMoveEndEffectorTrajectory::onEntry().
|
private |
Definition at line 49 of file cp_trajectory_history.hpp.
Referenced by getLastTrajectory(), and pushTrajectory().