2015-01-16 19:29:55 -05:00
|
|
|
#ifndef DRIVETRAIN_H
|
|
|
|
#define DRIVETRAIN_H
|
|
|
|
|
|
|
|
#include "WPILib.h"
|
2015-01-31 12:16:02 -05:00
|
|
|
class Drivetrain: public Subsystem{
|
2015-01-16 20:12:48 -05:00
|
|
|
private:
|
2015-01-19 12:08:25 -05:00
|
|
|
CANTalon *rightFront, *leftFront, *rightRear, *leftRear;
|
2015-01-17 10:34:08 -05:00
|
|
|
RobotDrive *drive;
|
2015-01-16 20:12:48 -05:00
|
|
|
public:
|
|
|
|
Drivetrain();
|
|
|
|
void InitDefaultCommand();
|
2015-01-19 12:08:25 -05:00
|
|
|
void DriveMecanum(float,float,float,float,float);
|
2015-01-17 10:34:08 -05:00
|
|
|
void DriveArcade(float, float);
|
2015-01-16 19:29:55 -05:00
|
|
|
};
|
|
|
|
#endif
|