mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
Updated defaults
This commit is contained in:
parent
f0632fe91f
commit
d876abd78a
@ -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();
|
||||||
|
@ -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();
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user