Initial stab at the new WPILib.
Change-Id: Id04cc07649959566deb5b4fa637267072a5191ca
diff --git a/y2017_bot3/wpilib_interface.cc b/y2017_bot3/wpilib_interface.cc
index 8fd2488..f9457ce 100644
--- a/y2017_bot3/wpilib_interface.cc
+++ b/y2017_bot3/wpilib_interface.cc
@@ -238,7 +238,6 @@
::aos::SetCurrentThreadName("SensorReader");
my_pid_ = getpid();
- ds_ = &DriverStation::GetInstance();
dma_synchronizer_->Start();
@@ -282,7 +281,7 @@
}
void RunIteration() {
- ::frc971::wpilib::SendRobotState(my_pid_, ds_);
+ ::frc971::wpilib::SendRobotState(my_pid_);
{
auto drivetrain_message = drivetrain_queue.position.MakeMessage();
@@ -321,7 +320,6 @@
}
int32_t my_pid_;
- DriverStation *ds_;
// Mutex to manage access to the period and tick time variables.
::aos::stl_mutex tick_time_mutex_;