ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Dynamic Window Approach(dwa) parameter should be false ? true ?

asked 2012-12-18 15:14:29 -0600

moyashi gravatar image

updated 2012-12-18 16:04:34 -0600

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2012-12-18 21:22:21 -0600

damjan gravatar image

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/)

edit flag offensive delete link more

Comments

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.

moyashi gravatar image moyashi  ( 2013-01-29 14:09:56 -0600 )edit

Question Tools

Stats

Asked: 2012-12-18 15:14:29 -0600

Seen: 1,587 times

Last updated: Dec 18 '12