2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/Subsystems/BinCollector.cpp
2015-09-19 21:57:42 +00:00

14 lines
426 B
C++

#include "BinCollector.h"
#include "../RobotMap.h"
BinCollector::BinCollector(): Subsystem("BinCollector") {
leftBinCollectorMotor = new CANTalon(BINCOLLECTOR_LEFT_CAN);
rightBinCollectorMotor = new CANTalon(BINCOLLECTOR_RIGHT_CAN);
}
void BinCollector::InitDefaultCommand() {}
void BinCollector::MoveArms(double speed) {
leftBinCollectorMotor->Set(speed);
rightBinCollectorMotor->Set(-speed);
}
// vim: ts=2:sw=2:et