#include "Collector.h" #include "../RobotMap.h" Collector::Collector() : Subsystem("Collector") { windowMotorLeft=new CANTalon(COLLECTOR_WINDOW_LEFT_CAN); windowMotorRight=new CANTalon(COLLECTOR_WINDOW_RIGHT_CAN); collectorMotorLeft=new CANTalon(COLLECTOR_LEFT_CAN); collectorMotorRight=new CANTalon(COLLECTOR_RIGHT_CAN); } void Collector::InitDefaultCommand() { } void Collector::MoveArms(double a){ windowMotorLeft->Set(a); windowMotorRight->Set(-a); } void Collector::MoveRollers(double a){ printf("Collector: %f\n", a); collectorMotorLeft->Set(a); collectorMotorRight->Set(-a); } bool Collector::ArmSensor(){ // TODO: include limit switch code return false; } bool Collector::BoxCollected(){ return false; //return boxSwitch->Get(); } // vim: ts2:sw=2:et