mirror of
https://github.com/team2059/Zaphod
synced 2024-12-18 20:12:28 -05:00
21 lines
347 B
C++
21 lines
347 B
C++
#include <WPILib.h>
|
|
#include "../Definitions.h"
|
|
|
|
class ZaphodCollector
|
|
{
|
|
private:
|
|
Jaguar *collectorMotor;
|
|
public:
|
|
enum
|
|
{
|
|
COLLECTING,
|
|
RELEASE,
|
|
STOP
|
|
}e_CollectorState;
|
|
ZaphodCollector();
|
|
void updateCollector(bool, float);
|
|
void collectBall();
|
|
void releaseBall();
|
|
void spinWithShot(float);
|
|
};
|