To contents
MyRobotica program

Lesson, code and robot in one window

A learning environment for autonomous robotics: an Arduino C++ editor, a simulator, live sensor readings and the course. Free.

The MyRobotica app: lesson 3.2, the P-controller code, the simulator on the course track and live sensor readings in one window
Think · codeAct · simulatorSense · readings

Everything for autonomous control

You think about the algorithm. The app takes care of the rest.

{ }

Arduino C++ editor

Hints, go to definition, line-by-line lesson code walkthroughs and version history.

↯

Builds without setup

Libraries and tools install themselves with visible progress, or from a local archive.

▶

Simulator

Runs your real firmware on a model of the field. Fields of any complexity are built in the field editor.

∿

Readings

Sensors, error, controller output and mission state on charts. Every run is saved.

kp

Controller lab

P, PI, PD and PID on the same track: compare runs and choose the best coefficient.

⌂

Offline

Lessons, builds, the simulator and recordings work locally. The school server runs on the local network.

Simulator and readings

Simulator first, then the robot

The same program drives on screen and on the real robot. The readings look the same, so mistakes are easy to find before the real run.

  1. 1

    Straight

    Both sensors see white on either side of the line. The error is near zero and the wheels turn at the same speed.

  2. 2

    Entering a turn

    The line slides under one sensor. Its reading drops and the error grows.

  3. 3

    Correction

    The P-controller multiplies the error by kp. One wheel speeds up, the other slows down, and the robot returns to the line.

Download

Free for learning

For Windows, macOS and Linux. The web version runs in the browser through the school server.

The app is in an early version: new capabilities arrive with every release.

FeatureComputerBrowser
Lessons and codeYesYes
SimulatorYesYes
Robot via USBYesYes, in Chrome and Edge
OfflineYesThrough the school server on the local network

Start with the first lesson

The app guides every step, from assembling the chassis to the first independent drive.