2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00

Updated defaults

This commit is contained in:
Austen Adler 2015-02-06 22:44:16 -05:00
parent f0632fe91f
commit d876abd78a
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ void CloseCollector::Initialize(){
SetTimeout(0.5); SetTimeout(0.5);
} }
void CloseCollector::Execute(){ void CloseCollector::Execute(){
DentRobot::collector->MoveArms(0.1f); DentRobot::collector->MoveArms(0.2f);
} }
bool CloseCollector::IsFinished(){ bool CloseCollector::IsFinished(){
return DentRobot::collector->ArmSensor(); return DentRobot::collector->ArmSensor();

View File

@ -7,7 +7,7 @@ void OpenCollector::Initialize(){
} }
void OpenCollector::Execute(){ void OpenCollector::Execute(){
//TODO check this value to move the motors in the right direction //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(){ bool OpenCollector::IsFinished(){
return DentRobot::collector->ArmSensor(); return DentRobot::collector->ArmSensor();

View File

@ -17,7 +17,7 @@
#define COLLECTOR_WINDOW_RIGHT_CAN 7 #define COLLECTOR_WINDOW_RIGHT_CAN 7
#define COLLECTOR_LEFT_CAN 8 #define COLLECTOR_LEFT_CAN 8
#define COLLECTOR_RIGHT_CAN 9 #define COLLECTOR_RIGHT_CAN 9
#define COLLECTOR_BOXSWITCH_DIO 9 #define COLLECTOR_CALIBRATOR_DIO 0
// Compressor // Compressor
#define COMPRESSOR_CAN 10 #define COMPRESSOR_CAN 10