moveto fix for jazzy
This commit is contained in:
parent
961dbcdfba
commit
2ae0cc134d
2 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ private:
|
||||||
rt.getRobotTrajectoryMsg(trajectory);
|
rt.getRobotTrajectoryMsg(trajectory);
|
||||||
|
|
||||||
moveit::planning_interface::MoveGroupInterface::Plan plan;
|
moveit::planning_interface::MoveGroupInterface::Plan plan;
|
||||||
plan.trajectory_ = trajectory;
|
plan.trajectory = trajectory;
|
||||||
|
|
||||||
if (fraction > 0) {
|
if (fraction > 0) {
|
||||||
RCLCPP_INFO(this->get_logger(), "Planning success");
|
RCLCPP_INFO(this->get_logger(), "Planning success");
|
||||||
|
|
|
@ -143,7 +143,7 @@ private:
|
||||||
} else {
|
} else {
|
||||||
RCLCPP_WARN_STREAM(this->get_logger(),
|
RCLCPP_WARN_STREAM(this->get_logger(),
|
||||||
"Failed to generate plan because "
|
"Failed to generate plan because "
|
||||||
<< error_code_to_string(plan_err_code));
|
<< moveit::core::errorCodeToString(plan_err_code));
|
||||||
goal_handle->abort(result);
|
goal_handle->abort(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue