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

15 lines
427 B
C++
Raw Permalink 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-07-31 12:52:15 -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