Skip to content

Commit cdc3eff

Browse files
committed
add error identifier for stuck condition
1 parent 11119c5 commit cdc3eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bug2.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function plot_mline(bug, ls)
258258
else
259259
% we are at the end of the list of edge points, we
260260
% are back where we started. Step 2.c test.
261-
error('robot is trapped')
261+
error('RTB:bug2:noplan', 'robot is trapped')
262262
return;
263263
end
264264

0 commit comments

Comments
 (0)