Nav2 MPPI not following the SMAC path #5998
Unanswered
BLUEEAGLE271
asked this question in
Q&A
Replies: 2 comments
-
|
Try tuning critic weights especially the PathFollowCritic and PathAlignCritic so they heavily reward trajectories closer to the global path. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Maybe you can try:
For a more detailed discussion, please consider posting on Robotics Stack Exchange with your configuration files, images, and more details. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've been trying to implement nav2 MPPI controller for my project. However, the MPPI is failing to stay on the global path from SMAC.
I am using a Jetson nano orin to run the Nav2 stack, and I'm using the Humble branch.
I have adjusted many parameters, including the costs for critic. I have also changed the linear, angular velocities and turning radius, giving it a higher leeway to turn, or adjust itself. However none of them work.
It seems that the MPPI is somehow only choosing the middle trajectory, (the trajectory halfway between all sampled trajectories).
I recognise that my batch sizes might be much lower to hit the desired controller frequency, but I can see that the sampled trajectories are overlapping the global path, but the controller doesn't pick those trajectories instead. The goal poses are all at least 1 meter away.
Here are some images of what it generated


Any diagnostic steps would be hugely appreciated! I have already tried changing weights of most critics from 5 - 15
Here are my MPPI params
controller_server:
ros__parameters:
use_sim_time: False
controller_frequency: 20.0
min_x_velocity_threshold: 0.001
min_y_velocity_threshold: 0.001
min_theta_velocity_threshold: 0.001
failure_tolerance: 0.3
progress_checker_plugin: "progress_checker"
goal_checker_plugins: ["general_goal_checker"]
controller_plugins: ["FollowPath"]
Beta Was this translation helpful? Give feedback.
All reactions