65 TankDrive(vex::motor_group left, vex::motor_group right);
81 void arcade(
double x,
double y,
double rot);
90 void arcade(
double drive,
double rot);
101 void tank(
double left,
double right);
Header containing a simple motor_group wrapper class.
A Simple Motor_Group Wrapper Class.
A Simple TankDrive class.
SimpleMotorGroup m_left
a SimpleMotorGroup for the left side
double m_cmdY
The Stored command for the Y-direction.
TankDrive(vex::motor_group left, vex::motor_group right)
Construct a new Tank Drive object.
void LeftSplitArcade(const vex::controller &cont)
Commands the TankDrive using arcade inputs directly from a controller.
void arcade(double x, double y, double rot)
Commands the TankDrive using arcade inputs.
void tank(double left, double right)
Commands the TankDrive using tank inputs.
SimpleMotorGroup m_right
a SimpleMotorGroup for the right side
void update()
Uses the stored commands to command the motors.
double m_cmdRot
The Stored command for rotation.
double m_cmdX
The Stored command for the X-direction.
void LeftSplitArcadeCurved(const vex::controller &cont)
Commands the TankDrive using arcade inputs directly from a controller.