> For the complete documentation index, see [llms.txt](https://docs.wcproducts.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wcproducts.com/welcome/electronics/wcp-throughbore-by-cancoder-1-2-hex/applications/swerve-x2s.md).

# Swerve X2S

The Swerve X2S module was designed to take advantage of the new WCP ThroughBore by CANcoder (1/2" Hex). This encoder fits inside the module on-axis and, when assembly instructions are followed, results in no need for setting the zero position of the module. This means that swapping modules does not require resetting the zero position.\
\
Utilize WCP-1617 (WCP Swerve X2S Hex Encoder Hat) on the module to engage with the 1/2" hex bore on the encoder, and bolt the encoder to the top plate of the module.

{% hint style="warning" %}
Do not overtighten the Throughbore Encoder mounting bolt. Excessive torque may deform or compress the encoder housing
{% endhint %}

<figure><img src="/files/lmwBYEilqLU2EKyMaLVb" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.wcproducts.com/welcome/electronics/wcp-throughbore-by-cancoder-1-2-hex/applications/swerve-x2s.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
