Add Limits to SmartDashboard

This commit is contained in:
Adam Goldsmith 2016-03-05 14:16:42 -05:00
parent af2ba558f1
commit 8ac21a9058

View File

@ -82,6 +82,10 @@ private:
SmartDashboard::PutBoolean("log A", logA.is_open()); SmartDashboard::PutBoolean("log A", logA.is_open());
SmartDashboard::PutBoolean("log B", logB.is_open()); SmartDashboard::PutBoolean("log B", logB.is_open());
SmartDashboard::PutBoolean("log C", logC.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()) if (!logA.is_open() && !logB.is_open() && !logC.is_open())
{ {