0
$\begingroup$

Rosanswers logo

Hi, I'm using nav stack with both of my robot and turtlebot.
I have a question about dwa parameter.
Can I set it false ?

Without DWA, the robot moves fast(it's natural) and smoothly,
and can avoid obstacles correctly.
Also, turtlebot's dwa parameter is false(default) though wiki says nav stack uses dwa algorithm.
http://www.ros.org/wiki/base_local_planner

Don't we need to use DWA algorithm ?
If yes, what kind of algorithm is used as local planner instead of DWA?


Originally posted by moyashi on ROS Answers with karma: 721 on 2012-12-18

Post score: 2

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Hi moyashi,

if you set the dwa parameter to false, the local planner will use the Trajectory Rollout (TR) algorithm. The differences between the two are summarized here:

"DWA differs from Trajectory Rollout in how the robot's control space is sampled. Trajectory Rollout samples from the set of achievable velocities over the entire forward simulation period given the acceleration limits of the robot, while DWA samples from the set of achievable velocities for just one simulation step given the acceleration limits of the robot. This means that DWA is a more efficient algorithm because it samples a smaller space, but may be outperformed by Trajectory Rollout for robots with low acceleration limits because DWA does not forward simulate constant accelerations. In practice however, we find DWA and Trajectory Rollout to perform comparably in all our tests and recommend use of DWA for its efficiency gains."

I am using TR on the Pioneer robots in my lab, as I have found that it provides slightly better performance.

Some insightful comments on this subject, by the author of the base_local_planner package, can be found in these posts:

http://answers.ros.org/question/10035/questions-about-the-dynamic-window-approach-in-ros/

(http://answers.ros.org/question/10718/dwa_planner-vs-base_local_planner/)


Originally posted by damjan with karma: 446 on 2012-12-18

This answer was ACCEPTED on the original site

Post score: 5


Original comments

Comment by moyashi on 2013-01-29:
Thank you for your answer. I understood the difference ! My robot's acceleration limit is 1.0m/s^2 and I think it's enough high. However Trajectory Rollout showed better performance. So I set dwa parameter to false.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.