NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Haneetha
Posts: 8
0 Kudos

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

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page