mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
Fixed elevator sensors, removed sonar DIO
This commit is contained in:
parent
fd144410a9
commit
324ae06417
@ -30,7 +30,6 @@
|
|||||||
#define COLLECTOR_LEFT_CAN 8
|
#define COLLECTOR_LEFT_CAN 8
|
||||||
#define COLLECTOR_BOTTOM_CAN 10
|
#define COLLECTOR_BOTTOM_CAN 10
|
||||||
#define COLLECTOR_RIGHT_CAN 9
|
#define COLLECTOR_RIGHT_CAN 9
|
||||||
#define COLLECTOR_SONAR_DIO 6
|
|
||||||
#define COLLECTOR_SONAR_ANALOG 3
|
#define COLLECTOR_SONAR_ANALOG 3
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,7 +7,6 @@ Collector::Collector() : Subsystem("Collector"){
|
|||||||
collectorMotorRamp=new CANTalon(COLLECTOR_RAMP_CAN);
|
collectorMotorRamp=new CANTalon(COLLECTOR_RAMP_CAN);
|
||||||
collectorMotorRight=new CANTalon(COLLECTOR_RIGHT_CAN);
|
collectorMotorRight=new CANTalon(COLLECTOR_RIGHT_CAN);
|
||||||
sonarAnalog=new AnalogInput(COLLECTOR_SONAR_ANALOG);
|
sonarAnalog=new AnalogInput(COLLECTOR_SONAR_ANALOG);
|
||||||
sonarDigital=new DigitalOutput(COLLECTOR_RIGHT_CAN);
|
|
||||||
}
|
}
|
||||||
void Collector::InitDefaultCommand(){
|
void Collector::InitDefaultCommand(){
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user