Skip to content
Tutorials Center
My learning

Topics

Robotics Tutorial

Learn Robotics step by step: 38 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 Introduction to Robotics Learn what a robot is, the sense-think-act loop that every robot runs, a short history of robotics, and simulate your first robot control loop in Python.
  2. 2 Types of Robots A tour of the main robot families (industrial arms, wheeled and legged robots, drones, humanoids, soft and swarm robots) and how to choose one for a task.
  3. 3 Robot Components Meet the building blocks of every robot: structure, actuators, sensors, controllers, power and communication, and estimate a robot's battery life in Python.
  4. 4 Degrees of Freedom and Workspace Understand degrees of freedom, revolute and prismatic joints, the Grubler formula, configuration space and reachable workspace, with Python plots of a two-link arm.

Kinematics

  1. 5 Rotations and Transforms Describe position and orientation with vectors, rotation matrices, homogeneous transforms, Euler angles and quaternions, and chain frames in NumPy.
  2. 6 Forward Kinematics Compute where a robot arm's end effector is from its joint angles: planar two-link and three-link arms, Denavit-Hartenberg parameters and a 3D arm in NumPy.
  3. 7 Inverse Kinematics Solve inverse kinematics for robot arms: the closed-form two-link solution with elbow up and down, reachability checks, and numerical IK with the Jacobian transpose and damped least squares.
  4. 8 Jacobian and Velocity Kinematics Relate joint speeds to tip speed with the Jacobian matrix, find singularities, measure manipulability, and map tip forces to joint torques using Python.
  5. 9 Mobile Robot Kinematics Model wheeled robots: differential-drive and bicycle kinematics, turning radius, dead-reckoning odometry from wheel encoders, and why odometry drifts, with Python plots.

Sensors and Perception

  1. 10 Sensors and Noise Learn how robot sensors work and why their data is imperfect: sensor types, accuracy versus precision, noise, bias, quantization, filtering and calibration in Python.
  2. 11 Distance Sensors: Ultrasonic, IR and Lidar How ultrasonic, infrared, time-of-flight and lidar sensors measure distance, their limits, and how to turn a lidar scan into obstacle points in Python.
  3. 12 Inertial Sensors (IMU) Learn how accelerometers, gyroscopes and magnetometers measure motion and orientation, why gyro angles drift, and compute tilt from gravity in Python.
  4. 13 Cameras and Computer Vision Understand how robot cameras work: the pinhole model, projecting 3D points, color blob detection, edge detection by convolution and depth from stereo, in NumPy.
  5. 14 Sensor Fusion Combine noisy sensors into one good estimate: weighted averaging, the complementary filter for IMU tilt and a one-dimensional Kalman filter, with runnable Python.

Actuators and Control

  1. 15 Motors and Actuators Learn how DC, servo, stepper and brushless motors work, what torque, speed and gear ratio mean, how PWM controls speed, and simulate a DC motor in Python.
  2. 16 PID Control Learn feedback control and PID: proportional, integral and derivative terms, tuning, anti-windup and derivative filtering, with a runnable motor simulation.
  3. 17 Trajectory Generation Generate smooth robot motion in time: cubic and quintic polynomials, trapezoidal velocity profiles, multi-point paths and synchronized joints, with Python plots.
  4. 18 Mobile Robot Control Control wheeled robots: go-to-goal with heading error, line following with PID, pure pursuit path tracking and a speed limiter, simulated in Python.

Path Planning

  1. 19 Configuration Space and the Planning Problem Learn what motion planning solves, how configuration space turns a robot into a point, and how obstacles grow in C-space, with runnable Python examples.
  2. 20 Grid Search: BFS and Dijkstra for Robot Paths Plan robot paths on an occupancy grid with breadth-first search and Dijkstra's algorithm, handle terrain costs and diagonal moves, in runnable Python.
  3. 21 A* Path Planning for Robots Understand A* search: the f = g + h rule, admissible heuristics, tie-breaking and weighted A*, and compare it with Dijkstra in runnable Python.
  4. 22 Potential Fields and Bug Algorithms Steer a robot with attractive and repulsive potential fields, see the local-minimum trap, and learn simple reactive Bug algorithms, with runnable Python.
  5. 23 Sampling-Based Planning: PRM and RRT Plan paths in high-dimensional spaces with random sampling. Build a Probabilistic Roadmap and an RRT in Python, and learn RRT*, bias and completeness.
  6. 24 Trajectory Generation and Path Smoothing Turn a jagged path into a smooth, timed trajectory with shortcutting, cubic and quintic polynomials and trapezoidal velocity profiles, in runnable Python.

Localization and Mapping

  1. 25 Probability and the Bayes Filter for Robots Learn why robots must reason with uncertainty, then build a discrete Bayes filter that locates a robot in a corridor from noisy door sensing, in Python.
  2. 26 The Kalman Filter for Robots Understand the Kalman filter as a Bayes filter with Gaussians. Build 1D and 2D constant-velocity filters in Python and learn about EKF and tuning Q and R.
  3. 27 Particle Filter and Monte Carlo Localization Learn Monte Carlo localization with a particle filter: sample, move, weight, resample. Build a 2D range-landmark localizer in Python and tune it.
  4. 28 Occupancy Grid Mapping Build an occupancy grid map from range scans with ray tracing and log-odds updates. Learn the inverse sensor model, resolution trade-offs and map formats.
  5. 29 SLAM Explained: Mapping While Localizing Understand Simultaneous Localization and Mapping, why odometry drifts, how loop closure fixes it, and build a tiny pose-graph optimizer in Python.

ROS and Software Architecture

  1. 30 ROS 2 Concepts: Nodes, Topics, Services, Actions Learn the core ideas of ROS 2: nodes, topics, services, actions, parameters, launch files, tf and QoS, with runnable Python stand-ins of the message patterns.
  2. 31 ROS 2 in Code: Publishers, Subscribers and Services Write ROS 2 nodes in Python with rclpy: publisher, subscriber, timer, service, parameters and a launch file. Includes a runnable mini-ROS stand-in for practice.
  3. 32 Robot Software Architecture and Behavior Design Compare sense-plan-act, subsumption and hybrid architectures, then build a finite state machine and a behavior tree in runnable Python for a patrol robot.

Applications and Safety

  1. 33 Robot Applications Across Industries Tour where robots work today: factories, warehouses, medicine, agriculture, drones, space and homes, plus how to size a robot system with simple numbers.
  2. 34 Robot Safety, Standards and Ethics Learn how to make robots safe: hazards, risk assessment, e-stops, speed and separation monitoring, watchdogs, standards such as ISO 10218, and ethics.

Projects and Practice

  1. 35 Project: A Grid Delivery Robot That Replans Build a simulated delivery robot: plan with A*, drive with a proportional heading controller, discover hidden obstacles with a short-range sensor, and replan.
  2. 36 Project: A Two-Link Arm That Avoids an Obstacle Build a motion planner for a two-link robot arm: inverse kinematics, a C-space collision map, BFS in joint space, and a smooth timed trajectory, all in Python.
  3. 37 Project: Tracking a Moving Target with a Kalman Filter Build a 2D target tracker: simulate a moving object with noisy, missing and outlier measurements, then track it with a Kalman filter, gating and tuning.
  4. 38 Robotics Practice Problems with Solutions Test yourself with robotics exercises: odometry, Jacobians, PID tuning, a complementary filter, planning questions and a review quiz, with runnable solutions.