Expand description
Reference-free racing MPPI through 3-D gate planes.
This extends the 2-D gate-progress objective in crate::mppi to a 3-D
drone-racing setting:
RacingGatePlane3Dis a rectangular gate aperture in 3-D defined by a center, a race-direction normal, and an in-plane up axis. A rollout passes the gate when a segment crosses the gate plane from behind to in front and the crossing point lies inside the rectangular aperture.RacingDroneDynamics3Dis a point-mass drone with linear aerodynamic drag, optional gravity, a speed cap, and an acceleration-magnitude cap — richer than the pure 2-D double integrator.RacingGateLap3Darranges gates into an open course or a closed lap and scores reference-free gate progress.simulate_lap_racedrives a deterministic, seeded MPPI controller around the lap and reportsRacingLapReport3Dlap-progress metrics.
Structs§
- Racing
Drone Control3D - Commanded acceleration [m/s^2] for the drone model.
- Racing
Drone Dynamics3D - Point-mass drone dynamics with linear drag, gravity, and actuation limits.
- Racing
Drone State3D - State for a 3-D point-mass drone: position [m] and velocity [m/s].
- Racing
Gate Lap3D - A sequence of gates forming an open course or a closed racing lap.
- Racing
Gate Plane3D - A rectangular racing gate plane in 3-D.
- Racing
LapReport3D - Lap-progress metrics from a closed-loop racing rollout.
- Racing
Mppi3D Config - Configuration for the deterministic 3-D racing MPPI controller.
- Racing
Mppi3D Controller - Deterministic, seeded MPPI controller for 3-D gate racing.
- Racing
Mppi3D Plan - Result of one
plancall.
Functions§
- simulate_
lap_ race - Drive the racing MPPI controller around a lap and report lap-progress metrics.