43 arcade(cont.Axis3.position(), cont.Axis1.position());
48 arcade(cont.Axis3.position() * cont.Axis3.position() * cont.Axis3.position() * 0.01 * 0.01,
49 cont.Axis1.position() * cont.Axis1.position() * cont.Axis1.position() * 0.01 * 0.01);
Header containing the TankDrive class.
void set(double cmd)
Sets the motor to spin at the specified command.
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.