mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
15 lines
427 B
C++
15 lines
427 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
|