> For the complete documentation index, see [llms.txt](https://docs.yagsl.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yagsl.com/bringing-up-swerve/check-your-gyroscope.md).

# Check your gyroscope

## Define a front and expect to change it.

It's easiest to define a front, maybe it's one that you want but expect to change it. Relative locations of modules are determined by the gyroscope. If your gyroscope is installed in the wrong orientation and can't be changed you WILL have to compensate for it in code that is not in any existing examples or apart of YAGSL.&#x20;

{% hint style="warning" %}
FRONT is determined by gyroscope `0`!
{% endhint %}

## Calibrate your gyroscope...

If you are using a NavX or any gyroscope I would highly recommend that you calibrate it at least once especially at tournaments. NavX's are calibrated to the humidity of their factory (in Hawaii) and you should definitely recalibrate it when it gets to your shop. I have more documentation on this for specific gyroscopes here.

{% content-ref url="/pages/nEGjJWQbq59bdD018IBm" %}
[Gyroscope](/devices/gyroscope.md)
{% endcontent-ref %}

## Why should you invert your gyorscope?

Gyrscope's should be inverted ONLY if they do not increase their yaw while moving counterclockwise!


---

# 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:

```
GET https://docs.yagsl.com/bringing-up-swerve/check-your-gyroscope.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.
