mirror of
https://github.com/team2059/Dent
synced 2024-12-28 21:02:30 -05:00
17 lines
399 B
C++
17 lines
399 B
C++
#include "BinCollector.h"
|
|
#include "../RobotMap.h"
|
|
|
|
BinCollector::BinCollector(): Subsystem("BinCollector"){
|
|
binCollectorMotor = new Servo(BINCOLLECTOR);
|
|
}
|
|
void BinCollector::InitDefaultCommand(){
|
|
}
|
|
void BinCollector::Set(double pos){
|
|
binCollectorMotor->Set(pos);
|
|
printf("BinCollector angle: %f\n", pos);
|
|
}
|
|
double BinCollector::Get(){
|
|
return binCollectorMotor->Get();
|
|
}
|
|
// vim: ts=2:sw=2:et
|