Run superstructure and drivetrain realtime
The runtime realtime priority got lost in the conversion.
Change-Id: I3885ea7d3facab45f695d184bf170c0c131095eb
diff --git a/y2019/control_loops/superstructure/superstructure.cc b/y2019/control_loops/superstructure/superstructure.cc
index 91e1704..4246397 100644
--- a/y2019/control_loops/superstructure/superstructure.cc
+++ b/y2019/control_loops/superstructure/superstructure.cc
@@ -25,7 +25,9 @@
elevator_(constants::GetValues().elevator.subsystem_params),
wrist_(constants::GetValues().wrist.subsystem_params),
intake_(constants::GetValues().intake),
- stilts_(constants::GetValues().stilts.subsystem_params) {}
+ stilts_(constants::GetValues().stilts.subsystem_params) {
+ event_loop->SetRuntimeRealtimePriority(30);
+}
void Superstructure::RunIteration(const Goal *unsafe_goal,
const Position *position,