shortest_path() in MotionPlanner was actually correctly named shortest_path()

This commit is contained in:
Alessandro Ranellucci committed 2013-02-05 19:41:56 +01:00
1 parent 090e3b1fe3
commit 73a661e6c1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -270,7 +270,7 @@ sub travel_to {
my $mp = shift;
return join '',
map $self->G0($_->[B], undef, 0, $comment || ""),
$mp->chained_path($self->last_pos, $point)->lines;
$mp->shortest_path($self->last_pos, $point)->lines;
};
if ($self->new_object) {
+1 -1
View File
@@ -217,7 +217,7 @@ sub find_node {
}
}
sub chained_path {
sub shortest_path {
my $self = shift;
my ($from, $to) = @_;