Skip to content

Commit edbd117

Browse files
committed
update fail messages
1 parent 8e3f5cb commit edbd117

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

costar_robot/costar_robot_manager/src/costar_robot/costar_arm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ def smartmove_release_cb(self, req):
11421142
stamp = self.acquire()
11431143
list_of_waypoints = self.query(req, True)
11441144
if len(list_of_waypoints) == 0:
1145-
return "FAILURE -- no suitable points found"
1145+
return "FAILURE -- no suitable waypoints found for release"
11461146
distance = req.backoff
11471147
return self.smartmove_release(stamp, list_of_waypoints, distance, req.vel, req.accel)
11481148

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

0 commit comments

Comments
 (0)