pub fn simulate_lap_race(
config: RacingMppi3DConfig,
dynamics: RacingDroneDynamics3D,
lap: &RacingGateLap3D,
start: RacingDroneState3D,
max_steps: usize,
target_laps: usize,
) -> RoboticsResult<RacingLapReport3D>Expand description
Drive the racing MPPI controller around a lap and report lap-progress metrics.
The rollout runs for at most max_steps control steps and stops early once
target_laps whole laps have been completed. Everything is deterministic
for a fixed config.seed.