From d876abd78a75f89ad70cb8d4a27bcaaa955adc4d Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Fri, 6 Feb 2015 22:44:16 -0500 Subject: [PATCH] Updated defaults --- Commands/Collector/CloseCollector.cpp | 2 +- Commands/Collector/OpenCollector.cpp | 2 +- RobotMap.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Commands/Collector/CloseCollector.cpp b/Commands/Collector/CloseCollector.cpp index 5dc5e07..ffebfb3 100644 --- a/Commands/Collector/CloseCollector.cpp +++ b/Commands/Collector/CloseCollector.cpp @@ -6,7 +6,7 @@ void CloseCollector::Initialize(){ SetTimeout(0.5); } void CloseCollector::Execute(){ - DentRobot::collector->MoveArms(0.1f); + DentRobot::collector->MoveArms(0.2f); } bool CloseCollector::IsFinished(){ return DentRobot::collector->ArmSensor(); diff --git a/Commands/Collector/OpenCollector.cpp b/Commands/Collector/OpenCollector.cpp index 6e41cd4..27e94ed 100644 --- a/Commands/Collector/OpenCollector.cpp +++ b/Commands/Collector/OpenCollector.cpp @@ -7,7 +7,7 @@ void OpenCollector::Initialize(){ } void OpenCollector::Execute(){ //TODO check this value to move the motors in the right direction - DentRobot::collector->MoveArms(-0.1f); + DentRobot::collector->MoveArms(-0.2f); } bool OpenCollector::IsFinished(){ return DentRobot::collector->ArmSensor(); diff --git a/RobotMap.h b/RobotMap.h index bd596cf..90b38e1 100644 --- a/RobotMap.h +++ b/RobotMap.h @@ -17,7 +17,7 @@ #define COLLECTOR_WINDOW_RIGHT_CAN 7 #define COLLECTOR_LEFT_CAN 8 #define COLLECTOR_RIGHT_CAN 9 -#define COLLECTOR_BOXSWITCH_DIO 9 +#define COLLECTOR_CALIBRATOR_DIO 0 // Compressor #define COMPRESSOR_CAN 10