2015-01-11 16:02:49 -05:00
|
|
|
#ifndef COLLECTOR_H
|
|
|
|
#define COLLECTOR_H
|
|
|
|
|
|
|
|
#include "WPILib.h"
|
|
|
|
class Collector: public Subsystem
|
|
|
|
{
|
2015-01-16 20:12:48 -05:00
|
|
|
private:
|
2015-02-14 17:12:58 -05:00
|
|
|
CANTalon *collectorMotorLeft, *collectorMotorBottom, *collectorMotorRamp, *collectorMotorRight;
|
2015-02-15 07:53:19 -05:00
|
|
|
AnalogInput *sonarAnalog;
|
|
|
|
DigitalOutput *sonarDigital;
|
2015-01-16 20:12:48 -05:00
|
|
|
public:
|
|
|
|
Collector();
|
|
|
|
void InitDefaultCommand();
|
2015-02-04 20:57:33 -05:00
|
|
|
void MoveRollers(double);
|
2015-02-15 17:10:20 -05:00
|
|
|
double GetSonarDistance();
|
2015-01-11 16:02:49 -05:00
|
|
|
};
|
|
|
|
#endif
|
2015-02-08 12:26:15 -05:00
|
|
|
// vim: ts=2:sw=2:et
|