> For the complete documentation index, see [llms.txt](https://docs.angelbotics.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angelbotics.org/programming-resources/general-resources.md).

# General Resources

We use java for all of our robot code, but we use a special library called WPILib that allows us to do most of our robot code. \
WPILib has docs at <https://docs.wpilib.org/en/stable/> which walk you through how to write a simple robot from scratch. In the advanced programming section, it explains how to do more complicated things such as vision, but also explains [command-based programming](https://docs.wpilib.org/en/stable/docs/software/commandbased/index.html).&#x20;

Command based is the structure we use for our code, the idea is to have each part of the robot be its own section in the code, and have commands that do individual tasks such as raise the elevator or intake a game piece.&#x20;

Reading through these sections will give you a good understanding of how we program our robots. If you want example code, our codebases from the last few years are available at <https://angelbotics.org/github>

If you want full documentation of everything in WPILib, their docs are at <https://github.wpilib.org/allwpilib/docs/release/java/index.html>.


---

# 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.angelbotics.org/programming-resources/general-resources.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.
