Updated default controller

This commit is contained in:
Connor Johnstone
2023-03-14 17:06:20 -06:00
parent feb5a34975
commit ebf0233b4f
3 changed files with 7 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ let y0 = Vector3::new(1.0, 1.0, 1.0);
let ode = ODE::new(&derivative, 0.0, 5.0, y0);
let dp45 = DormandPrince45::new(1e-12_f64, 1e-5_f64);
let controller = PIController::new(0.17, 0.04, 10.0, 0.2, 0.1, 0.9, 1e-8);
let controller = PIController::new();
let value_too_high = Callback {
event: &|_: f64, y: SVector<f64,3>| { 10.0 - y[0] },