From 324ae0641752074d2d12c03d55f05185e6c996e8 Mon Sep 17 00:00:00 2001 From: Adam Long Date: Sun, 15 Feb 2015 14:14:04 +0000 Subject: [PATCH] Fixed elevator sensors, removed sonar DIO --- RobotMap.h | 1 - Subsystems/Collector.cpp | 1 - 2 files changed, 2 deletions(-) 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(){ }