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

14 lines
268 B
C++
Raw Normal View History

2015-01-16 19:29:55 -05:00
#include "Collector.h"
#include "../RobotMap.h"
2015-01-16 19:29:55 -05:00
Collector::Collector() : Subsystem("Collector") {
2015-01-17 12:21:16 -05:00
motor1=new Talon(0);
motor2=new Talon(1);
}
2015-01-16 19:29:55 -05:00
void Collector::InitDefaultCommand() {
}
2015-01-17 12:21:16 -05:00
void Collector::Set(float power){
motor1->Set(power);
motor2->Set(power);
}