Source: https://mokxi.com/learn/path/robot-kinematics
Updated: 2026-11-20

All paths

# Robot kinematics

The geometry of robots that move: frames and transforms, differential drive and odometry on a 2WD rover, forward and inverse kinematics on a two-link arm, trajectories, and an arm that draws.

Arduino Uno R3 Free 7 lessons 7 h 3 chapters 2,516 XP Robotics · Advanced +250 XP

0 of 7 done

Start the course free Frames and angles Lesson plan for teachers

What you will build

## 2 projects, built step by step

7 lessons in 3 chapters, about 7 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

### Odometry

Count encoder edges into a pose with the midpoint method. Drive and turn by odometry, compare it with where the car really is, close a square, and watch a Monte Carlo of wheel slip show error growing faster than the distance.
Open it in the simulator

Chapter 2 project

### Trajectories

Getting from here to there: a joint-space move that bows 36 mm off the line, a Cartesian move that stays within a tenth of a millimeter, a cubic time scaling that starts and ends at rest, and a singularity where the joints have to race.
Open it in the simulator

The map

## Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

## Wheeled robots

Frames and angles, two wheels turned into a speed and a turn rate, and a pose counted from encoder edges.

Open 288 XP

### Frames and angles

The world frame and the robot frame, and the rotation that moves a point between them. atan2 instead of atan, angles wrapped to plus or minus 180, range and bearing to a target, and a sensor reading carried through two frames to the floor.

0 of 6 steps

Start What is in it

Locked 288 XP

### Differential drive

Two wheels and no steering: wheel speeds to a forward speed and a turn rate, a spin on the spot, the turning radius, and the other way around, an arc turned into two wheel speeds, a pivot, and what to do when the outer wheel cannot go that fast.

0 of 6 steps

Project Locked 500 XP

### Odometry

Count encoder edges into a pose with the midpoint method. Drive and turn by odometry, compare it with where the car really is, close a square, and watch a Monte Carlo of wheel slip show error growing faster than the distance.

0 of 5 steps

5 questions, graded as you go.

Chapter 2

## Arms

Joint angles to the claw and back, both elbows, the workspace, and moves that draw the line.

Locked 288 XP

### Forward kinematics

A two-link arm of two servos: joint angles to the claw by adding two vectors, the closest the claw can come with joint limits, and the Jacobian’s first idea, how far the claw moves for one degree at each joint.

0 of 6 steps

Locked 288 XP

### Inverse kinematics

Say where the claw should go and solve for the joints: the law of cosines for the elbow, both elbow solutions, targets out of reach and too close, targets that only break a joint limit, and a round trip through forward kinematics.

0 of 6 steps

Project Locked 500 XP

### Trajectories

Getting from here to there: a joint-space move that bows 36 mm off the line, a Cartesian move that stays within a tenth of a millimeter, a cubic time scaling that starts and ends at rest, and a singularity where the joints have to race.

0 of 5 steps

5 questions, graded as you go.

Chapter 3

## Boss build

A four-servo arm that holds a pen and draws on the table.

Locked 364 XP

### Boss: an arm that draws

The gallery’s four-servo arm on a PCA9685 holds a pen and draws on the table: the base angle from above, two-link IK from the side, a line solved every 5 mm, the edge of the workspace, a circle of chords, and a whole drawing.

0 of 8 steps

3 questions, graded as you go.

Syllabus

## Every lesson in the course

All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

### Wheeled robots

- Frames and angles The world frame and the robot frame, and the rotation that moves a point between them. atan2 instead of atan, angles wrapped to plus or minus 180, range and bearing to a target, and a sensor reading carried through two frames to the floor.
- Differential drive Two wheels and no steering: wheel speeds to a forward speed and a turn rate, a spin on the spot, the turning radius, and the other way around, an arc turned into two wheel speeds, a pivot, and what to do when the outer wheel cannot go that fast.
- Odometry Count encoder edges into a pose with the midpoint method. Drive and turn by odometry, compare it with where the car really is, close a square, and watch a Monte Carlo of wheel slip show error growing faster than the distance.

Chapter 2

### Arms

- Forward kinematics A two-link arm of two servos: joint angles to the claw by adding two vectors, the closest the claw can come with joint limits, and the Jacobian’s first idea, how far the claw moves for one degree at each joint.
- Inverse kinematics Say where the claw should go and solve for the joints: the law of cosines for the elbow, both elbow solutions, targets out of reach and too close, targets that only break a joint limit, and a round trip through forward kinematics.
- Trajectories Getting from here to there: a joint-space move that bows 36 mm off the line, a Cartesian move that stays within a tenth of a millimeter, a cubic time scaling that starts and ends at rest, and a singularity where the joints have to race.

Chapter 3

### Boss build

- Boss: an arm that draws The gallery’s four-servo arm on a PCA9685 holds a pen and draws on the table: the base angle from above, two-link IK from the side, a line solved every 5 mm, the edge of the workspace, a circle of chords, and a whole drawing.

Kits

## Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

### Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kit

Questions

## About Robot kinematics

Is Robot kinematics free?

Yes. All 7 lessons of Robot kinematics are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Robot kinematics take?

About 7 hours: 7 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Odometry and Trajectories.

Where do I start?

With "Frames and angles", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
