Skip to content

Commit

Permalink
update fail messages
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaxton committed Mar 14, 2018
1 parent 8e3f5cb commit edbd117
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ def smartmove_release_cb(self, req):
stamp = self.acquire()
list_of_waypoints = self.query(req, True)
if len(list_of_waypoints) == 0:
return "FAILURE -- no suitable points found"
return "FAILURE -- no suitable waypoints found for release"
distance = req.backoff
return self.smartmove_release(stamp, list_of_waypoints, distance, req.vel, req.accel)

Expand All @@ -1153,7 +1153,7 @@ def smartmove_grasp_cb(self, req):
stamp = self.acquire()
list_of_waypoints = self.query(req, True)
if len(list_of_waypoints) == 0:
return "FAILURE -- no suitable points found"
return "FAILURE -- no suitable waypoints found for grasp"
distance = req.backoff
return self.smartmove_grasp(stamp, list_of_waypoints, distance, req.vel, req.accel)

Expand Down

0 comments on commit edbd117

Please sign in to comment.