Skip to main content

simulate_trajectory_following

Function simulate_trajectory_following 

Source
pub fn simulate_trajectory_following(
    waypoints: &[Vector3<f64>],
    config: &SimulationConfig,
) -> SimulationRecord
Expand description

Run the full trajectory-following simulation.

The quadrotor starts at the first waypoint and follows a closed loop through all waypoints for config.n_loops complete passes.

Returns a SimulationRecord containing the full state history.