From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

Shortest path

I have programmed by robot to explore the maze using the left wall follower algorithm. Program is working properly but I want to add extra bits like returning to the start point from the end point by remembering the path it came.

 

In the bottom pic, robot is starting from the start position, and following the left wall as shown with the arrow and comes to end. What I wanted is once it gets to end I want to robot to get back to home without rounding the whole maze. I heard this can be done using some shortest path algorithm. But I don't how to use that for my program. Can someone help me with this please.

 

 

 

Map.png

0 Kudos
Message 1 of 1
(5,682 Views)