What to learn
Do Set up your computer and Run the simulator first: they teach the terminal by using it. Come back here when something doesn’t make sense. Every resource here is free.
The basics everyone needs
Section titled “The basics everyone needs”The terminal
Section titled “The terminal”The terminal is a window where you control the computer by typing commands.
- Start with Ubuntu’s The Linux command line for beginners.
- The Missing Semester from MIT goes further.
You know enough when you can move between folders with cd, list files with ls, create and delete files, search with grep, stop a running program with Ctrl-C, and open a second terminal.
Git keeps the history of the code and lets many people work on it at once. GitHub is the website where our code lives.
- Start with Learn Git Branching, an interactive game.
- Pro Git is the full book. Chapters 1 to 3 cover what you need.
You know enough when you can create a branch, commit a change and push it. Your first pull request does this on our code.
Python
Section titled “Python”Python is our easiest language. The vision code, launch files and test scripts use it.
- If you have programmed a little: the official Python tutorial.
- If you have never programmed: any beginner Python course. Ask a teammate what they used.
You know enough when you can write a function and a class, and import a module. Write a ROS 2 node only needs that much.
What you can learn as you go
Section titled “What you can learn as you go”ROS 2 is the framework that lets our programs talk to each other. ROS 2, hands on teaches the core ideas.
- The official ROS 2 tutorials go deeper, starting with Beginner: CLI tools. Skip their installation steps: pixi has already installed ROS 2.
Our control, mission and driver code is C++. It is harder than Python, and you can do a lot before you need it: missions are XML, and vision is Python.
- learncpp.com, a free course.
You know enough to start when you can read a class with a constructor and member functions, and understand what a reference (&) is. Change the C++ needs only that, since you copy the code around it.
High school math is enough for most of the code.
| Topic | Where it comes up | Learn it from |
|---|---|---|
| Trigonometry and radians | Every angle in the code. See Coordinates | Khan Academy |
| Vectors and matrices | Rotations, sharing force between thrusters | 3Blue1Brown’s linear algebra series |
| Force, velocity, acceleration | The controller | Your physics class |
| Rates of change and integrals | The D and I in PID. Control and PID explains them without calculus |
Once you pick an area
Section titled “Once you pick an area”| Area | Learn from |
|---|---|
| Missions | BehaviorTree.CPP’s tutorials |
| Control | Understanding PID Control, a short video series by MathWorks |
| Vision | OpenCV-Python tutorials and the Ultralytics docs for YOLO models |
| State estimation | Kalman Filter from the Ground Up, the basis of the EKF |
| Coordinate frames | Introducing tf2 |