# Mecanum Wheel Setup and Behaviour

Mecanum wheels, when properly set up on a drivetrain, allow for omni-directional movement. Each Mecanum Wheel Set ([REV-45-1655](https://www.revrobotics.com/rev-45-1655/)) comes with a two right (REV-41-1656) and two left (REV-41-1657) mecanum wheels. This is determined by the direction of the leading edge of the rollers. If the rollers point left it is a left wheel and if they point right it is a right wheel.&#x20;

<figure><img src="https://756878072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH9K1InCLC1ZxIkdPJt31%2Fuploads%2Fo3qcxo6YWx9j7TY9BxnM%2F1655%20Mecanum%20Whel%20Set%20pic.png?alt=media&#x26;token=3b30f157-5f19-4ce0-9129-3011f9c1e831" alt=""><figcaption></figcaption></figure>

Each side of the chassis needs one left and one right wheel. Mecanum Chassis also require four motors for operation.‌

<figure><img src="https://756878072-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH9K1InCLC1ZxIkdPJt31%2Fuploads%2FC8ejfYJbe7Cg7qStNVHK%2Fmecanumalignment.png?alt=media&#x26;token=240cd163-c6d5-4a85-b06c-8457f7d50ca7" alt=""><figcaption></figcaption></figure>

To know if your Mecanum Wheels are properly configured look from the top down on the drivetrain. Following diagonal lines created from the angle of the rollers should form an "X" as shown above.‌

### Mecanum Wheel Drivetrain Behavior

Running all four wheels in the same direction at the same speed will result in a forward/backward movement, as the longitudinal force vectors add up but the transverse vectors cancel each other out, as shown below.‌

![](https://756878072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M5yw0n8IneF5-9ybLjT%2F-MGAlk3hA20qNrkaOKFl%2F-MGElkhKXVl-5E9PyleO%2FMVD_Forward_Reverse_GB%20REDo.svg?alt=media\&token=40fe8463-8f23-4136-a639-99bf049a1577)

When both wheels on one side of the drivetrain are moving in one direction while the other side is moving in the opposite direction results in stationary rotation of the drivetrain. The transverse vectors cancel out but the longitudinal vectors combine to generate rotation around the central vertical axis of the drivetrain, as shown below.‌

![](https://756878072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M5yw0n8IneF5-9ybLjT%2F-MGAlk3hA20qNrkaOKFl%2F-MGElp8x9TzAzBG5F_NH%2FMVD_Spin_GB%20Redo.svg?alt=media\&token=6877456d-f1c9-4ec9-af3d-e1582c81abe2)

When the right mecanum wheels run in one direction while the left mecanum wheels run in the opposite direction allows for a strafing movement, as the transverse vectors add up but the longitudinal vectors cancel out.‌

![](https://756878072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M5yw0n8IneF5-9ybLjT%2F-MGAlk3hA20qNrkaOKFl%2F-MGEo9JBskv1dec5kwjH%2FMVD_Strafe_GB%20Redo.svg?alt=media\&token=f5bd20a9-662a-4489-9791-6c3227f2ab63)

Using the above concepts in tandem through varying motor power to each wheel type allows for the drivetrain to move in different, angled vectors.

![](https://756878072-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M5yw0n8IneF5-9ybLjT%2F-MGEuHO5rL_qf6RIPAes%2F-MGEy5xLE0nUJxvnvdtc%2FMVD_Vector_GB%20redo.svg?alt=media\&token=d793e5b0-2c99-4929-b220-7781c66d54c2)

{% hint style="info" %}
Need help programming your mecanum drivetrain? Check out our [Mecanum Drive Example Code Template and Configuration](https://docs.revrobotics.com/duo-control/hello-robot-blocks/part-4-going-beyond/programming-mecanum-refined) page!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.revrobotics.com/duo-build/ftc-starter-kit-mecanum-drivetrain/mecanum-wheel-setup-and-behavior.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
