2
0
mirror of https://github.com/team2059/Dent synced 2025-01-07 22:14:14 -05:00
dent/Subsystems/BinCollector.cpp

15 lines
424 B
C++
Raw Normal View History

#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