mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-09-27 00:29:13 +08:00
MoveRelative: provide failure message
This commit is contained in:
parent
f262d3058f
commit
1610f5ab1d
@ -257,7 +257,8 @@ bool MoveRelative::compute(const InterfaceState& state, planning_scene::Planning
|
||||
}
|
||||
} else if (min_distance == 0.0) { // if min_distance is zero, we succeed in any case
|
||||
success = true;
|
||||
}
|
||||
} else if (!success)
|
||||
solution.setComment("failed to move full distance");
|
||||
|
||||
// add an arrow marker
|
||||
visualization_msgs::Marker m;
|
||||
|
Loading…
Reference in New Issue
Block a user