moveto fix for jazzy

This commit is contained in:
Игорь Брылёв 2024-10-30 11:54:46 +03:00
parent 961dbcdfba
commit 2ae0cc134d
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ private:
rt.getRobotTrajectoryMsg(trajectory);
moveit::planning_interface::MoveGroupInterface::Plan plan;
plan.trajectory_ = trajectory;
plan.trajectory = trajectory;
if (fraction > 0) {
RCLCPP_INFO(this->get_logger(), "Planning success");

View file

@ -143,7 +143,7 @@ private:
} else {
RCLCPP_WARN_STREAM(this->get_logger(),
"Failed to generate plan because "
<< error_code_to_string(plan_err_code));
<< moveit::core::errorCodeToString(plan_err_code));
goal_handle->abort(result);
}