From 91124a0ff09ac89ecd583d9e2ab716aea3bb607e Mon Sep 17 00:00:00 2001 From: Aidan Ferguson Date: Wed, 10 Feb 2016 21:19:18 -0500 Subject: [PATCH] more of LogData(). still not done, but I'm tired. --- src/Robot.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Robot.cpp b/src/Robot.cpp index c4aff98..d6cf381 100644 --- a/src/Robot.cpp +++ b/src/Robot.cpp @@ -59,6 +59,15 @@ private: { static PowerDistributionPanel pdp; static DriverStation* ds = DriverStation::GetInstance(); + static DriverStation* ds = DriverStation::GetInstance(); + static std::vector motors; + + static std::ofstream logA, logB, logC; + timeval tm; + + SmartDashboard::PutBoolean("log A", logA.is_open()); + SmartDashboard::PutBoolean("log B", logB.is_open()); + SmartDashboard::PutBoolean("log C", logC.is_open()); } void RobotInit()