- Ubuntu 16.04 or 18.04
- ROS Kinetic or Melodic
cd catkin_workspace/src
git clone https://github.com/amslabtech/dwa_planner.git
cd ..
catkin_make
- local planner node
- /cmd_vel (geometry_msgs/Twist)
- ~/candidate_trajectoryies (visualization_msgs/MarkerArray)
- for visualization
- ~/selected_trajectory (visualization_msgs/Marker)
- for visualization
- /local_goal (geometry_msgs/PoseStamped)
- the local goal must be in the local map
- /local_map (nav_msgs/OccupancyGrid)
- robot-centered costmap
- /odom (nav_msgs/Odometry)
- robot odometry
- HZ
- main loop rate (default: 20[Hz])
- TARGET_VELOCITY
- max velocity of robot's target velocity (default: 0.8[m/s])
- ROBOT_FRAME
- robot's coordinate frame (default: base_link)
- TF (from LocalMap_FRAME to ROBOT_FRAME) is required
- for local path planning
roslaunch dwa_planner local_planner.launch
- D. Fox, W. Burgard, and S.Thrun, "The dynamic window approach to collision avoidance", IEEE Robotics Automation Magazine, 1997.