pub fn simulate_quadrotor_race(
config: QuadrotorMppiConfig,
params: QuadrotorParams,
lap: &RacingGateLap3D,
start: QuadrotorState,
max_steps: usize,
target_laps: usize,
) -> RoboticsResult<QuadrotorLapReport>Expand description
Drive the quadrotor racing MPPI controller around a lap and report lap-progress and attitude 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.