2015-01-16 19:29:55 -05:00
|
|
|
#ifndef DRIVETRAIN_H
|
|
|
|
#define DRIVETRAIN_H
|
|
|
|
|
|
|
|
#include "WPILib.h"
|
|
|
|
class Drivetrain: public Subsystem
|
|
|
|
{
|
2015-01-16 20:12:48 -05:00
|
|
|
private:
|
2015-01-19 17:08:25 +00: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 17:08:25 +00: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
|