mirror of
https://github.com/team2059/Zaphod
synced 2024-12-28 20:12:29 -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);
|
|
};
|