2015-04-06 20:36:35 -04:00
|
|
|
#ifndef BinCollector_H
|
|
|
|
#define BinCollector_H
|
|
|
|
|
|
|
|
#include "WPILib.h"
|
|
|
|
/**
|
|
|
|
* @brief Collects bins
|
2015-04-18 05:03:06 -04:00
|
|
|
*
|
2015-04-06 20:36:35 -04:00
|
|
|
* Collects bins with a servo
|
|
|
|
*/
|
2015-07-31 12:52:15 -04:00
|
|
|
class BinCollector: public Subsystem {
|
|
|
|
private:
|
|
|
|
CANTalon *leftBinCollectorMotor, //<<! Left bin collector motor
|
|
|
|
*rightBinCollectorMotor; //<<! Right bin collector motor
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* @brief Constructs BinCollector
|
|
|
|
*/
|
|
|
|
BinCollector();
|
|
|
|
/**
|
|
|
|
* @brief No action
|
|
|
|
*/
|
|
|
|
void InitDefaultCommand();
|
|
|
|
/**
|
|
|
|
* @brief Moves bin collector arms at given speed
|
|
|
|
*
|
|
|
|
* @param speed the speed to move the bin collector arms
|
|
|
|
*/
|
|
|
|
void MoveArms(double speed);
|
2015-04-06 20:36:35 -04:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
// vim: ts=2:sw=2:et
|