2
0
mirror of https://github.com/team2059/Zaphod synced 2024-12-28 20:12:29 -05:00
zaphod/Subsystems/Collector.cpp

23 lines
319 B
C++

#include "Collector.h"
ZaphodCollector::ZaphodCollector()
{
collectorMotor = new Jaguar(COLLECTOR_SIDECAR, COLLECTOR_MOTOR);
}
void ZaphodCollector::collectBall()
{
}
void ZaphodCollector::releaseBall()
{
}
void ZaphodCollector::spinWithShot(float angle)
{
if(angle <= 80)
{
collectorMotor->Set(1);
}
}