Drivetrains

Drivetrain types and game-specific decisions.

How an X-drive moves

The basic movement of an X-drive and how it works.

Drive it yourself

Pick a drivetrain and drive it around the field to see which ways it can and can't move.

Click the field, then drive with the keyboard

On a phone or tablet, drag the robot to drive it and drag the yellow handle to turn it. The orange arrows show which ways this drivetrain can move.

X and asterisk drives only.

  • WForward
  • SBack
  • AStrafe left
  • DStrafe right
  • ←Turn left
  • →Turn right

Tank drive

Forward, backward, and turning in place.

All of its wheels point the same way as the robot, so they can only push it forward or backward. Turning comes from running the left and right sides in opposite directions.

Control styles

How drivers map joysticks to the drivetrain. The demo uses keys in place of sticks.

Split arcade W A S D move · ← → turn
One stick moves the robot (forward, back and, if the drivetrain can, sideways) and the other stick turns it. W A S D are the moving stick and the left and right arrows are the turning stick.
Tank W S left side · ↑ ↓ right side
Each stick drives one side of the robot. Push both forward to drive straight, push one forward and one back to spin in place, or push one more than the other to curve.
Single-stick arcade ↑ ↓ forward and back · ← → turn
One stick does everything: up and down drive forward and back, and left and right turn the robot. It is easy to learn, but you can't strafe with it.
Box W S left side · ↑ ↓ right side · A ← strafe left · D → strafe right
Tank control with strafing added: W and S drive the left side, the up and down arrows drive the right side, and A or ← strafes left while D or → strafes right. It only works on drivetrains that can move in any direction.
Field-centric X and asterisk drives
Normally, forward means the way the robot is facing (robot-centric). With field-centric on, forward always means the top of the field: press W and the robot drives up the field even while it is turned sideways. Moving and turning become independent, so a driver can face one way while driving another. Real robots do this by reading their heading from a gyro or inertial sensor. It only makes sense on drivetrains that can move in any direction, like X and asterisk drives.

Why each drivetrain moves that way

The wheels decide which directions a robot can be pushed.

Tank drive · Forward, backward, and turning in place.
All of its wheels point the same way as the robot, so they can only push it forward or backward. Turning comes from running the left and right sides in opposite directions.
H-drive · Forward and backward, or side to side, plus turning.
It is a tank-style base with one extra wheel mounted sideways in the middle. The side wheels drive it forward and back, and the middle wheel pushes it sideways.
Mecanum drive · Forward and backward, or side to side, plus turning.
Each mecanum wheel has rollers set at 45°. Spinning the wheels in different combinations makes the angled rollers push the robot forward or sideways.
X-drive · Any direction at once, plus turning.
Four omni wheels sit at the corners, angled 45° to the frame. Because every wheel pushes partly forward and partly sideways, mixing their speeds can move the robot in any direction while it turns.
Asterisk drive · Any direction at once, plus turning.
It is an X-drive with one extra wheel added in the middle of the left and right sides, pointing forward. The four angled corner wheels still let it move in any direction, and the two straight side wheels add forward pushing power and help it drive straight.

Decision matrix

How each drivetrain compares, from 1 (weakest) to 5 (strongest), assuming the same gear ratio and the same number of 5.5W motors. The best choice depends on the game: weigh the categories that matter most for this season.

CategoryTank driveH-driveMecanum driveX-driveAsterisk drive
Straight-line speed
Turning speed
Turning consistency
Maneuverability
Torque / push power
Size & weight
Simple to build
Total28 / 3521 / 3520 / 3525 / 3526 / 35

Why these ratings

Straight-line speed
X and asterisk drives are fastest: with wheels angled at 45°, every wheel adds speed in the direction of travel, so the robot moves faster than its wheels alone would carry it. Tank drive is close behind. H-drive and mecanum are slowest, because the H-drive's sideways wheel adds weight without helping forward, and mecanum rollers slip and lose speed.
Turning speed
X and asterisk wheels point along the circle the robot turns on, so all of their effort goes into turning. Tank and H-drives turn quickly too, but their straight wheels have to scrub sideways. Mecanum rollers lose some speed when turning.
Turning consistency
An X-drive turns the same way every time because all four wheels sit at the same angle and distance from the center. The asterisk's extra side wheels add a little drag. Tank, H and mecanum drives depend more on wheel grip and how the robot's weight sits, so their turns vary more.
Maneuverability
X and asterisk drives can move in any direction while turning. The asterisk is a step lower because its straight side wheels resist sideways motion. Tank, H and mecanum drives can still reach anywhere on the field, but they need extra turns or can only slide along one direction at a time.
Torque / push power
Tank drive pushes hardest because every wheel pushes straight forward and grips the field. Mecanum and asterisk drives keep a fair amount of pushing power. X-drives push less because each angled wheel only pushes partly forward, and their omni wheels are easy to shove sideways. The H-drive's sideways wheel and motor don't help push forward.
Size & weight
Tank drives are compact and light. The H-drive adds a wheel and motor in the middle, and the asterisk adds two side wheels. X-drives need the corners for angled wheels, which makes them wide, and mecanum wheels are heavy.
Simple to build
Tank drive is the simplest: straight wheels on straight rails. H-drive and mecanum use a normal rectangular frame with one change each. X and asterisk drives need accurate 45° wheel mounts and more careful tuning.