Skip to content

Conversation

@Alessio-Parmeggiani
Copy link


Basic Info

Info Please fill out this column
Ticket(s) this addresses -
Primary OS tested on Ubuntu
Robotic platform tested on Custom simulation
Does this PR contain AI generated software? No
Was this PR description generated by AI software? No

Description of contribution in a few bullet points

This PR backports #5485 to humble_main branch.
It allow to publish statistics about each MPPI critic's cost contributions in a /critic_stats topic featuring a new message type: nav2_msgs/CritiicStats

Description of documentation updates required from your changes

Changed the nav2_mppi_controller readme to describe the new feature. Changes were copied from #5485.

Description of how this change was tested

I tested with different critics (also custom ones) if the topic was behaving correctly: I verified that it publishes coherent data, respecting score magnitude and disabled critics.

I wrote a simple program to visualize the data in a plot to validate the changes. This is a test output.
Screenshot from 2026-01-12 12-26-58

For Maintainers:

  • Check that any new parameters added are updated in docs.nav2.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists
  • Should this be backported to current distributions? If so, tag with backport-*.

Backporting  ros-navigation#5485 to humble_main branch
Allow to publish statistics about each MPPI critic's cost contributions

Signed-off-by: Alessio Parmeggiani <[email protected]>
@mergify
Copy link
Contributor

mergify bot commented Jan 12, 2026

@Alessio-Parmeggiani, all pull requests must be targeted towards the main development branch.
Once merged into main, it is possible to backport to @humble_main, but it must be in main
to have these changes reflected into new distributions.

Copy link
Collaborator

@mini-1235 mini-1235 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SteveMacenski SteveMacenski merged commit 08067a1 into ros-navigation:humble_main Jan 12, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants