40 if (trajectoryHistory !=
nullptr)
42 moveit_msgs::msg::RobotTrajectory trajectory;
48 trajectory_msgs::msg::JointTrajectoryPoint & initialPoint =
49 trajectory.joint_trajectory.points.front();
52 for (
size_t i = 0; i < trajectory.joint_trajectory.joint_names.size(); i++)
54 auto & name = trajectory.joint_trajectory.joint_names[i];
59 RCLCPP_INFO_STREAM(
getLogger(),
"[" << this->
getName() <<
"]" << std::endl << ss.str());
61 RCLCPP_INFO_STREAM(
getLogger(),
"[" << this->
getName() <<
"] move joint onEntry");
63 RCLCPP_INFO_STREAM(
getLogger(),
"[" << this->
getName() <<
"] move joint onEntry finished");
bool getLastTrajectory(int backIndex, moveit_msgs::msg::RobotTrajectory &trajectory)