diff --git a/RobotMap.h b/RobotMap.h index 90aca69..0ba4d3b 100644 --- a/RobotMap.h +++ b/RobotMap.h @@ -30,7 +30,6 @@ #define COLLECTOR_LEFT_CAN 8 #define COLLECTOR_BOTTOM_CAN 10 #define COLLECTOR_RIGHT_CAN 9 -#define COLLECTOR_SONAR_DIO 6 #define COLLECTOR_SONAR_ANALOG 3 #endif diff --git a/Subsystems/Collector.cpp b/Subsystems/Collector.cpp index f585676..ad023e7 100644 --- a/Subsystems/Collector.cpp +++ b/Subsystems/Collector.cpp @@ -7,7 +7,6 @@ Collector::Collector() : Subsystem("Collector"){ collectorMotorRamp=new CANTalon(COLLECTOR_RAMP_CAN); collectorMotorRight=new CANTalon(COLLECTOR_RIGHT_CAN); sonarAnalog=new AnalogInput(COLLECTOR_SONAR_ANALOG); - sonarDigital=new DigitalOutput(COLLECTOR_RIGHT_CAN); } void Collector::InitDefaultCommand(){ }