From 8ac21a905809612b66a1bba242825370d7ad7957 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 5 Mar 2016 14:16:42 -0500 Subject: [PATCH] Add Limits to SmartDashboard --- src/Robot.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Robot.cpp b/src/Robot.cpp index d66a28d..6303a61 100644 --- a/src/Robot.cpp +++ b/src/Robot.cpp @@ -82,6 +82,10 @@ private: SmartDashboard::PutBoolean("log A", logA.is_open()); SmartDashboard::PutBoolean("log B", logB.is_open()); SmartDashboard::PutBoolean("log C", logC.is_open()); + SmartDashboard::PutBoolean("Ramp Limit F", ramp.GetForwardLimitOK()); + SmartDashboard::PutBoolean("Ramp Limit R", ramp.GetReverseLimitOK()); + SmartDashboard::PutBoolean("Arms Limit F", arms.GetForwardLimitOK()); + SmartDashboard::PutBoolean("Arms Limit R", arms.GetReverseLimitOK()); if (!logA.is_open() && !logB.is_open() && !logC.is_open()) {