commit | 59dddaca102aa859f0449c7d6e19c347d9db6056 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sun Dec 22 16:44:49 2019 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Sun Dec 22 16:45:34 2019 -0800 |
tree | 873fcab343cf5345ead0e3457c3229c45d17df31 | |
parent | 5a069f28141406d7e74bcf7ee3e0454c82469295 [diff] [blame] |
Run superstructure and drivetrain realtime The runtime realtime priority got lost in the conversion. Change-Id: I3885ea7d3facab45f695d184bf170c0c131095eb
diff --git a/frc971/control_loops/drivetrain/drivetrain.cc b/frc971/control_loops/drivetrain/drivetrain.cc index 78cb378..42f0935 100644 --- a/frc971/control_loops/drivetrain/drivetrain.cc +++ b/frc971/control_loops/drivetrain/drivetrain.cc
@@ -54,6 +54,7 @@ right_high_requested_(dt_config_.default_high_gear) { ::aos::controls::HPolytope<0>::Init(); down_U_.setZero(); + event_loop->SetRuntimeRealtimePriority(30); } int DrivetrainLoop::ControllerIndexFromGears() {