mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
24 lines
508 B
C++
24 lines
508 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
|