Error in Peter Corke RTB Tool Box, AStar.path() Function.

56 views
Skip to first unread message

Ahmed Hassan

unread,
Mar 26, 2021, 3:15:50 PM3/26/21
to Robotics & Machine Vision Toolboxes
Error in Peter Corke RTB Tool Box, AStar.path() Function.

Code
goal = [99;99];
start = [1;1];
as = Astar(map);
as.plan(goal, 2, 1, 0);
%as.plot();
%as.reset();
%as.path(start);
%p = path(as, start);
p = as.path(start);

Error::::

'path' is not an accessible method of base class 'Navigation'.

Error in Astar/path (line 314)
                P = pathNavigation(as, start);

Error in Robotics (line 110)
p = as.path(start);





Capture.PNG

Peter Corke

unread,
Mar 27, 2021, 1:14:44 AM3/27/21
to Robotics & Machine Vision Toolboxes
Hi, this was a contributed function and has not been maintained.  It might be the method is now called query.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages