> For the complete documentation index, see [llms.txt](https://docs.launchboard.app/cxd/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.launchboard.app/cxd/cxd-2022-summer-workshops/programming-workshops/robotics/program-a-robot.md). Agents can also search and read this documentation through its [MCP server](https://docs.launchboard.app/cxd/~gitbook/mcp).

# Program a Robot ⏱

#### **👉 As you work through the following activities don't hesitate posting questions on Slack and include a link to your Arduino code when needed (or even a short video).**&#x20;

{% embed url="<https://www.loom.com/share/b079435e11a3485d92de4d24267ef674>" %}

## 1 Complete Tutorials A & B to Get Started with the Robot

{% embed url="<https://docs.idew.org/code-robotics/tutorials/meet-your-robot>" %}

{% embed url="<https://docs.idew.org/code-robotics/tutorials/hello-world-test>" %}

## 2 Complete Tutorials C, D & E to Practice Three Key Modes of Operation

{% embed url="<https://docs.idew.org/code-robotics/tutorials/driving-and-turning>" %}

{% embed url="<https://docs.idew.org/code-robotics/tutorials/detect-objects-in-path>" %}

{% embed url="<https://docs.idew.org/code-robotics/tutorials/detect-lines-on-surface>" %}

## Optional: Learn How to Program for More Scenarios

{% embed url="<https://docs.idew.org/code-robotics/tutorials/detect-other-conditions>" %}

{% hint style="success" %}

## Well done! Feel free to share code or video on Slack of what you have created!

{% endhint %}

## Planning for Student Success

Now that you have experience with programming for this project...

* **Consider how you will approach classroom management when students are completing a tutorial like this one.**&#x20;
  * What will be your expectations?&#x20;
  * How much will be individual work versus team work?
  * Will you assign any code champions to help you support students with questions?
* **How will you supplement it with other programming content or experiences?**
  * Will you use any online tutorials?
  * Will you supplement with any CS unplugged activities?
  * Will you create any custom programming exercises yourself?


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.launchboard.app/cxd/cxd-2022-summer-workshops/programming-workshops/robotics/program-a-robot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
