# CTRL ALT FTC

<figure><img src="https://2578783536-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MU2Qk3INKAMMgKbsAgJ%2Fuploads%2Ft5MGJutf3XkBJN9sVXLv%2FScreen%20Shot%202022-11-21%20at%202.32.34%20AM.png?alt=media&#x26;token=27e9e0a0-3dd4-4fe4-833d-a5235c4ee721" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Returning visitors: we are currently looking for ways to adapt in order to best assist the needs of the *FIRST* Tech Challenge community. If you have, time it would mean the world to us if you filled out this form. Any and all feedback is appreciated and can be quickly [left here](https://docs.google.com/forms/d/e/1FAIpQLScnAANnEH6ahHE7eQSAwdwcxpJuJWk-fX8zdBFKi6WB80BJfQ/viewform).
{% endhint %}

### Control System Example

{% embed url="<https://youtu.be/Z81BonVrtTw>" %}
Example of feedback control with the Pure Pursuit algorithm
{% endembed %}

## What and Who is this Guide For?

This article is an introductory guide to the beautiful world of Control Theory for those with a background in FTC programming. This guide is for those who have just learned the basics of programming but are stuck in the grey "middle area" where resources are far below your abilities or just a little above your head. Hopefully, by the end of this guide, you will have a more intuitive understanding of control topics and feel more comfortable with the implementation of advanced controls in the context of *FIRST* Tech Challenge and other fields as your STEM journey continues.

‌ This guide assumes that you have experience with the SDK. While this does make it slightly tricky for absolute beginners to follow, it also allows the knowledge to be applicable outside of *FIRST* Tech Challenge.

***Note: all of the code examples are pseudocode of how you would go about a Java implementation. Please understand that there may be a little more work to do than what is shown in the document, as these extra details would take away from the learning experience in many cases.***

If you would like to contribute information to CTRL ALT FTC, you can access the [GitHub](https://github.com/BenCaunt/CTRL-ALT-FTC) and make a pull request.

Thanks to everyone who has contributed! [![](https://contrib.rocks/image?repo=BenCaunt/CTRL-ALT-FTC)](https://github.com/BenCaunt/CTRL-ALT-FTC/graphs/contributors)

Made with [contrib.rocks](https://contrib.rocks).


---

# 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://www.ctrlaltftc.com/readme.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.
