2
0
mirror of https://github.com/team2059/Dent synced 2024-12-28 21:02:30 -05:00
dent/Subsystems/BinCollector.cpp

14 lines
426 B
C++
Raw Normal View History

#include "BinCollector.h"
#include "../RobotMap.h"
2015-07-31 12:52:15 -04:00
BinCollector::BinCollector(): Subsystem("BinCollector") {
leftBinCollectorMotor = new CANTalon(BINCOLLECTOR_LEFT_CAN);
rightBinCollectorMotor = new CANTalon(BINCOLLECTOR_RIGHT_CAN);
}
2015-09-19 17:57:42 -04:00
void BinCollector::InitDefaultCommand() {}
2015-07-31 12:52:15 -04:00
void BinCollector::MoveArms(double speed) {
leftBinCollectorMotor->Set(speed);
rightBinCollectorMotor->Set(-speed);
}
// vim: ts=2:sw=2:et