mppi-critics

Tune MPPI critic parameters to optimize trajectory costs for ROS 2 navigation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MPPI critics provide a structured way to tune multiple trajectory-cost components so ROS 2 navigation can be safe and efficient.

Core Features & Use Cases

  • Highly configurable critic plugins (ConstraintCritic, CostCritic, GoalCritic, GoalAngleCritic, PathAlignCritic, PathFollowCritic, PathAngleCritic, PreferForwardCritic, VelocityDeadbandCritic) with per-critic knobs like cost_weight, cost_power, thresholds.
  • Path-following fidelity: PathAlignCritic and PathFollowCritic balance staying on the plan and making progress, with options for footprint checks and path occupancy constraints.
  • Goal-oriented behavior: GoalCritic and GoalAngleCritic influence arrival and final orientation, with disengagement handoffs to GoalCritic when near the goal.
  • Real-world tuning guidance for open indoor, narrow hallway, and cluttered environments.

Quick Start

Load the MPPI Critics configuration and begin adjusting weights while visualizing trajectories.

Frequently Asked Questions about mppi-critics

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

FAQPage Schema
How do I tune MPPI critics for safe navigation in narrow corridors?

Tuning MPPI critics for narrow corridors involves adjusting critic plugins like PathAlignCritic and CostCritic to balance path fidelity and obstacle avoidance. Configure cost_weight, cost_power, and footprint considerations to ensure safe trajectory generation in constrained spaces.

What is the role of cost_weight and cost_power when configuring MPPI trajectory critics?

The cost_weight and cost_power parameters define the influence and scaling of individual MPPI critics on the overall trajectory cost. Adjusting these per-critic knobs allows you to prioritize specific behaviors like path following, safety, or goal convergence during navigation.

Can I configure MPPI critics to handle dynamic environments and cluttered indoor spaces in ROS 2?

Yes, you can configure MPPI critics for dynamic environments and cluttered indoor spaces in ROS 2. By tuning multiple trajectory-cost components such as ConstraintCritic and CostCritic, you optimize path following and safety where obstacles frequently change.

How do I stop my robot from overshooting the goal when using MPPI navigation?

To prevent overshooting the goal during MPPI navigation, tune the GoalCritic and GoalAngleCritic parameters. These critics influence arrival behavior and final orientation, managing disengagement handoffs to ensure accurate goal convergence.

What's the best way to balance path following and obstacle avoidance in MPPI?

The best way to balance path following and obstacle avoidance in MPPI is by tuning PathAlignCritic and PathFollowCritic against CostCritic. Adjusting their respective cost_weight values and threshold_to_consider settings allows you to prioritize staying on the plan while maintaining safety.

Why does my robot struggle to navigate cluttered environments with multiple MPPI critics active?

Struggling to navigate cluttered environments with multiple MPPI critics usually indicates conflicting cost_weight values or improper threshold_to_consider settings. Tuning trajectory_point_step and footprint considerations helps reconcile multiple critics influencing path safety and progress.