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 20:43:22 -05:00
|
|
|
CANTalon *windowMotorLeft, *windowMotorRight, *collectorMotorLeft, *collectorMotorRight;
|
|
|
|
DigitalInput *boxSwitch;
|
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);
|
2015-02-02 19:56:27 -05:00
|
|
|
bool ArmSensor();
|
2015-02-02 12:14:27 -05:00
|
|
|
bool BoxCollected();
|
2015-01-11 16:02:49 -05:00
|
|
|
};
|
|
|
|
#endif
|