Skip to content

[codex] Add CUDA MPPI diagnostics and benchmark scenarios#199

Merged
rsasaki0109 merged 1 commit into
masterfrom
codex/cuda-mppi-diagnostics-benchmarks
Jun 11, 2026
Merged

[codex] Add CUDA MPPI diagnostics and benchmark scenarios#199
rsasaki0109 merged 1 commit into
masterfrom
codex/cuda-mppi-diagnostics-benchmarks

Conversation

@rsasaki0109

Copy link
Copy Markdown
Owner

Summary

  • Add CUDA MPPI per-cycle diagnostics for solve time, rollout costs, valid rollout counts, and retreat state, with periodic ROS logging and optional CSV output.
  • Expose the new MPPI diagnostics through the Python binding info dictionary.
  • Add double_gap and moving_crossing controller benchmark scenarios, plus quick/cpu_gpu benchmark presets for faster local checks.

Impact

This makes Nav2 CUDA MPPI tuning easier to diagnose and makes benchmark iteration faster when adding new scenarios. The new moving-crossing benchmark gives a lightweight dynamic-obstacle smoke case without requiring a full simulator.

Validation

  • colcon build --packages-select cuda_mppi_controller --cmake-args -DCMAKE_BUILD_TYPE=Release
  • ros2 run cuda_mppi_controller parameter_validation_test
  • ros2 run cuda_mppi_controller mppi_gpu_standalone 2048 diff
  • python -m pytest python/tests -q in an isolated venv: 8 passed, 1 skipped
  • ros2 run cuda_mppi_controller controller_benchmark /tmp/cuda_mppi_double_gap_quick double_gap quick
  • ros2 run cuda_mppi_controller controller_benchmark /tmp/cuda_mppi_double_gap_cpu_gpu double_gap cpu_gpu
  • ros2 run cuda_mppi_controller controller_benchmark /tmp/cuda_mppi_moving_crossing_quick moving_crossing quick
  • ros2 run cuda_mppi_controller controller_benchmark /tmp/cuda_mppi_moving_crossing_cpu_gpu moving_crossing cpu_gpu

@rsasaki0109 rsasaki0109 marked this pull request as ready for review June 11, 2026 21:59
@rsasaki0109 rsasaki0109 merged commit 2998fac into master Jun 11, 2026
5 checks passed
@rsasaki0109 rsasaki0109 deleted the codex/cuda-mppi-diagnostics-benchmarks branch June 11, 2026 22:03
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
…benchmarks

[codex] Add CUDA MPPI diagnostics and benchmark scenarios
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
…benchmarks

[codex] Add CUDA MPPI diagnostics and benchmark scenarios
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
…benchmarks

[codex] Add CUDA MPPI diagnostics and benchmark scenarios
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
…benchmarks

[codex] Add CUDA MPPI diagnostics and benchmark scenarios
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
…benchmarks

[codex] Add CUDA MPPI diagnostics and benchmark scenarios
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.

1 participant