-
Notifications
You must be signed in to change notification settings - Fork 1.8k
MPPI: visualize trajectory per-critic + total costs #6036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SteveMacenski
merged 26 commits into
ros-navigation:main
from
botsandus:per-critic-cost-coloring
Mar 19, 2026
+224
−56
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8ecce26
Add per-critic cost coloring
tonynajjar 8a75577
apply fixes
tonynajjar e245184
Pr comments, simplify
tonynajjar 18f0810
fix test
tonynajjar c198a95
maxGapSplit
tonynajjar ec6a54c
Revert "maxGapSplit"
tonynajjar 7444e14
Add collision detection to CriticData and update related components
tonynajjar 7348b60
replace publish_critics_stat with visualize
tonynajjar 81efc18
Enhance collision coloring for per-critic cost layers in TrajectoryVi…
tonynajjar d6dac2d
Add visualize_cost_layer parameter and update TrajectoryVisualizer to…
tonynajjar 89780d5
renaming
tonynajjar 9d7ea87
Refactor collision handling in CriticData: initialize trajectories_in…
tonynajjar bf54917
Remove show_collisions parameter from TrajectoryVisualizer and relate…
tonynajjar 202e7d4
Refactor collision tracking in CriticData: use track_collisions flag …
tonynajjar cbbd093
Refactor visualize method in MPPIController: simplify access to criti…
tonynajjar 2d5701b
Add visualize_cost_layer parameter and improve collision handling in …
tonynajjar ec0c825
more readable cost fetching
tonynajjar 8629a7e
fix
tonynajjar f66e62a
reduce the diff
tonynajjar c67d8fd
reduce more diff
tonynajjar 840878c
store clock
tonynajjar b9f792a
improve cost normalization by using numeric limits for min and max va…
tonynajjar 86a8401
rename visualize_cost_layer to critic_index_to_visualize for clarity
tonynajjar c0f6496
refactor visualize method to use critic_index_to_visualize directly
tonynajjar 4b18c4d
Apply suggestion from @SteveMacenski
tonynajjar 5904829
Update nav2_mppi_controller/src/critics/obstacles_critic.cpp
tonynajjar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.