This repository has been archived on 2020-09-21. You can view files and clone it, but cannot push or open issues or pull requests.
FRC2016-old/DriveBase/src/Shooter.h
2016-02-02 10:18:19 -05:00

25 lines
382 B
C++

/*
* Shooter.h
*
* Created on: Feb 2, 2016
* Author: Jason
*/
#ifndef SRC_SHOOTER_H_
#define SRC_SHOOTER_H_
class Shooter {
RobotDrive shooterDrive;
public:
Shooter(CANTalon *s1, CANTalon *s2) {
shooterDrive = RobotDrive(s1, s2);
}
virtual ~Shooter();
void SetPower(float power) {
shooterDrive.ArcadeDrive(power, 0, false);
}
};
#endif /* SRC_SHOOTER_H_ */