2015-04-06 20:36:35 -04:00
|
|
|
#include "BinCollector.h"
|
|
|
|
#include "../RobotMap.h"
|
|
|
|
|
2015-07-31 12:52:15 -04:00
|
|
|
BinCollector::BinCollector(): Subsystem("BinCollector") {
|
2015-04-18 05:03:06 -04:00
|
|
|
leftBinCollectorMotor = new CANTalon(BINCOLLECTOR_LEFT_CAN);
|
|
|
|
rightBinCollectorMotor = new CANTalon(BINCOLLECTOR_RIGHT_CAN);
|
2015-04-06 20:36:35 -04:00
|
|
|
}
|
2015-07-31 12:52:15 -04:00
|
|
|
void BinCollector::InitDefaultCommand() {
|
2015-04-06 20:36:35 -04:00
|
|
|
}
|
2015-07-31 12:52:15 -04:00
|
|
|
void BinCollector::MoveArms(double speed) {
|
2015-04-18 05:03:06 -04:00
|
|
|
leftBinCollectorMotor->Set(speed);
|
|
|
|
rightBinCollectorMotor->Set(-speed);
|
2015-04-06 20:36:35 -04:00
|
|
|
}
|
|
|
|
// vim: ts=2:sw=2:et
|