Skip to content

Modern Robotics code library

  • Software
  • Robot arms and industry
  • Library

A code library accompanying the book Modern Robotics, offering educational functions for robot mechanics, planning, and control in Python, MATLAB, and Mathematica.

Made by NxRLab, United States (checked on github.com/NxRLab (opens in a new tab)).

Source on GitHub: github.com/NxRLab/ModernRobotics (opens in a new tab). Facts read at commit cbd41fd (opens in a new tab).

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit cbd41fd (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • Provides functions for robot kinematics, dynamics, motion planning, and control, organized by the chapter of the book where each is introduced.
  • Each function includes comments explaining its inputs and an example with the expected output.
  • A user manual in the doc directory gives an overview of the functions using MATLAB syntax.
  • Designed to be easy to read and to reinforce the book's concepts, not optimized for efficiency or robustness.
  • Unofficial ports exist in C++, Julia, Nim, PyTorch, and Rust, plus several libraries built on it, which the maintainers do not vouch for.

Written by Robotheca from the project's README (opens in a new tab) at commit cbd41fd.

Getting started

Difficulty
Beginner

Maintenance

Status
Maintained: a commit in the last 12 months
Newest commit
18 Feb 2026 on master
Latest release
Modern Robotics Code Library, Version 1.1.1 (3 Feb 2023)

Checked on GitHub on 16 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.