2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00
dent/Subsystems/Drivetrain.h

24 lines
503 B
C++

#ifndef DRIVETRAIN_H
#define DRIVETRAIN_H
#include "WPILib.h"
class Drivetrain: public Subsystem{
private:
CANTalon *rightFront, *leftFront, *rightRear, *leftRear;
RobotDrive *drive;
public:
Drivetrain();
enum e_motors{
FRONTRIGHT,
FRONTLEFT,
BACKRIGHT,
BACKLEFT
};
void InitDefaultCommand();
void DriveMecanum(float,float,float,float,float);
void DriveArcade(float, float);
void TestMotor(e_motors,float);
};
#endif
// vim: ts=2:sw=2:et