MoveRelative: provide failure message

This commit is contained in:
Robert Haschke 2020-06-13 00:46:15 +02:00 committed by v4hn
parent f262d3058f
commit 1610f5ab1d

View File

@ -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;