ROS Answers: Open Source Q&A Forum - RSS feedhttps://answers.ros.org/questions/Open source question and answer forum written in Python and DjangoenROS Answers is licensed under Creative Commons Attribution 3.0Sun, 20 Nov 2016 06:28:38 -0600Optimize path for time not for distance?https://answers.ros.org/question/72625/optimize-path-for-time-not-for-distance/Hi folks,
is there a way to tell a planner not to generate the shortest path but instead the fastest (regarding required time) to get from point A to point B?
At the moment my robot always attempts to take the shortest path to point B which sometimes leads him through narrow spaces where he slows down to a minimum speed. Instead there would have been another path (taking any known obstacle into account) that would have been much more secure and much faster to reach the goal while reducing the risk of colliding with obstacles.
So how do I tell my robot to take the fastest path instead of the shortest?
Thanks a lot!Tue, 13 Aug 2013 04:32:17 -0500https://answers.ros.org/question/72625/optimize-path-for-time-not-for-distance/Comment by Abdul Mannan for <p>Hi folks,</p>
<p>is there a way to tell a planner not to generate the shortest path but instead the fastest (regarding required time) to get from point A to point B? </p>
<p>At the moment my robot always attempts to take the shortest path to point B which sometimes leads him through narrow spaces where he slows down to a minimum speed. Instead there would have been another path (taking any known obstacle into account) that would have been much more secure and much faster to reach the goal while reducing the risk of colliding with obstacles. </p>
<p>So how do I tell my robot to take the fastest path instead of the shortest?</p>
<p>Thanks a lot!</p>
https://answers.ros.org/question/72625/optimize-path-for-time-not-for-distance/?comment=246458#post-id-246458Did you get the solution? I shall be interested in knowing that.Wed, 26 Oct 2016 02:16:09 -0500https://answers.ros.org/question/72625/optimize-path-for-time-not-for-distance/?comment=246458#post-id-246458Comment by Hendrik Wiese for <p>Hi folks,</p>
<p>is there a way to tell a planner not to generate the shortest path but instead the fastest (regarding required time) to get from point A to point B? </p>
<p>At the moment my robot always attempts to take the shortest path to point B which sometimes leads him through narrow spaces where he slows down to a minimum speed. Instead there would have been another path (taking any known obstacle into account) that would have been much more secure and much faster to reach the goal while reducing the risk of colliding with obstacles. </p>
<p>So how do I tell my robot to take the fastest path instead of the shortest?</p>
<p>Thanks a lot!</p>
https://answers.ros.org/question/72625/optimize-path-for-time-not-for-distance/?comment=248501#post-id-248501Nope, sorry... also lost its relevance to me quite a while ago...Sun, 20 Nov 2016 06:28:38 -0600https://answers.ros.org/question/72625/optimize-path-for-time-not-for-distance/?comment=248501#post-id-248501