dwb-critics

Tune DWB critic plugins for trajectory selection in ROS 2 navigation.

18|2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill dwb-critics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dwb-critics
Source: https://github.com/wimblerobotics/ros2-copilot-skills/tree/main/dwb-critics
Command: npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill dwb-critics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure and tune DWB critic plugins to improve trajectory scoring, safety, and navigation performance in ROS 2.

Core Features & Use Cases

  • Parameterize and tune each DWB critic: PathDist, GoalDist, PathAlign, GoalAlign, ObstacleFootprint, RotateToGoal, Oscillation, and MapGrid, with per-critic scales and behaviors.
  • Guidance on critic ordering and short-circuiting to optimize planning speed and safety.
  • Use cases include aligning trajectories in narrow corridors, avoiding obstacles, achieving correct final orientation, and reducing oscillations during transit.

Quick Start

Update the DWB critic scales in your YAML and execute the planner to see how trajectories are scored and selected.

Frequently Asked Questions about dwb-critics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I tune DWB critics in ROS 2 navigation for safer trajectories?

Tune DWB critics by adjusting per-critic scale parameters in your YAML configuration file to influence trajectory scoring and selection in ROS 2 Nav2. This directly impacts how the local planner evaluates path costs, alignment, and obstacle avoidance.

What is the best way to configure DWB critic ordering for narrow corridors?

Configure DWB critic ordering and short-circuiting in your Nav2 YAML to optimize planning speed and safety. Proper critic sequencing ensures trajectories are efficiently aligned and scored for narrow corridor navigation without unnecessary computational overhead.

Why does my differential-drive robot fail to achieve correct final orientation with Nav2?

Final orientation failures in differential-drive robots often stem from improperly tuned RotateToGoal critic scales in DWB. Adjusting the RotateToGoal critic parameters in your YAML configuration ensures the planner correctly scores and executes the final rotation behavior.

How do I reduce oscillations during transit in ROS 2 Nav2?

Reduce navigation oscillations by tuning the Oscillation critic parameters within your DWB YAML configuration. Adjusting the critic scale helps the ROS 2 local planner penalize repeating back-and-forth movements, stabilizing trajectory selection during transit.

Can I use DWB critic tuning for indoor differential-drive robots using Nav2?

Yes, DWB critic tuning is designed for indoor differential-drive robots using the ROS 2 navigation stack. It parameterizes PathDist, GoalDist, PathAlign, GoalAlign, and ObstacleFootprint critics to optimize trajectory scoring for indoor environments.

What DWB critic parameters should I adjust for obstacle avoidance in ROS 2?

Adjust the ObstacleFootprint critic scale and related parameters in your DWB YAML configuration to improve obstacle avoidance. Tuning this critic influences how heavily the ROS 2 planner penalizes trajectories near obstacles, ensuring safer navigation paths.