Skip to content

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 terminal is a window where you control the computer by typing commands.

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.

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 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.

ROS 2 is the framework that lets our programs talk to each other. ROS 2, hands on teaches the core ideas.

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.

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