commit | fae69172c9e672d9272fe0d0d393d76ffe60629b | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Fri Feb 20 22:11:26 2015 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Fri Feb 20 22:56:12 2015 -0800 |
tree | 5b50e27459d773f7e3f77eeb1b7e16844c39156c | |
parent | 0d33816927b78f5369ba72f1fc959be3f8e39c96 [diff] [blame] |
Fixed WPILib restart bug by adding WPILib PID. Change-Id: Ie51e7911e43f3b8b8055784097d2baba2e0eef1e
diff --git a/frc971/wpilib/wpilib_interface.cc b/frc971/wpilib/wpilib_interface.cc index d7c23ce..5315b08 100644 --- a/frc971/wpilib/wpilib_interface.cc +++ b/frc971/wpilib/wpilib_interface.cc
@@ -235,6 +235,7 @@ { auto new_state = ::aos::robot_state.MakeMessage(); + new_state->reader_pid = my_pid_; new_state->outputs_enabled = ds_->IsSysActive(); new_state->browned_out = ds_->IsSysBrownedOut();