You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bench reports mpc_rollout_ns 0 (optimised away); rollout is candidate selection, not MPC #3
physkernel bench prints "mpc_rollout_ns":0. The loop calls rolloutPlan with identical, constant inputs 10,000 times, so ReleaseFast hoists or folds the work. The number is not a measurement.
Also, rolloutPlan scores a caller-supplied list of candidate control sequences on a point-mass model and picks the cheapest one that does not collide. That is candidate selection, not an MPC optimiser. Collisions are checked only at step endpoints, so a fast trajectory can tunnel through an obstacle.
Fix: vary the inputs per iteration (or use doNotOptimizeAway on the inputs), and rename the docs accordingly.
Activity