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-02 12:14:27 -05:00
|
|
|
CANTalon *windowMotorLeft, *windowMotorRight, *collectorMotorLeft, *collectorMotorRight;
|
|
|
|
DigitalInput *boxSwitch;
|
|
|
|
int a,r;
|
2015-01-16 20:12:48 -05:00
|
|
|
public:
|
|
|
|
Collector();
|
|
|
|
void InitDefaultCommand();
|
2015-02-02 12:14:27 -05:00
|
|
|
void MoveArms(float);
|
|
|
|
void MoveRollers(float);
|
|
|
|
bool ArmsDoneMoving();
|
|
|
|
bool BoxCollected();
|
2015-01-11 16:02:49 -05:00
|
|
|
};
|
|
|
|
#endif
|