MCPcopy Index your code
hub / github.com/NxRLab/ModernRobotics

github.com/NxRLab/ModernRobotics @v1.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.1 ↗ · + Follow
47 symbols 126 edges 4 files 47 documented · 100%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Modern Robotics: Mechanics, Planning, and Control

Code Library

This repository contains the code library accompanying Modern Robotics: Mechanics, Planning, and Control (Kevin Lynch and Frank Park, Cambridge University Press 2017). The user manual is in the doc directory.

The functions are available in:

  • Python
  • MATLAB
  • Mathematica

Each function has a commented section above it explaining the inputs required for its use as well as an example of how it can be used and what the output will be. This repository also contains a pdf document that provides an overview of the available functions using MATLAB syntax. Functions are organized according to the chapter in which they are introduced in the book. Basic functions, such as functions to calculate the magnitude of a vector, normalize a vector, test if the value is near zero, and perform matrix operations such as multiplication and inverses, are not documented here.

The primary purpose of the provided software is to be easy to read and educational, reinforcing the concepts in the book. The code is optimized neither for efficiency nor robustness.

Some unofficial versions in other languages are being developed: * C++ version * Julia version * Nim version

Some libraries built on ours: * KinematicsFromDescriptionTool, which calculates the kinematics input parameters from a robot's URDF or robot_description parameter using ROS and Python3. * mr_urdf_loader, which generates M, Slist, Blist, Mlist and Glist parameters for kinematics and dynamics. It also provides UR5 simulation using PyBullet. * tf_rbdl, which refactors the Python version using the package tensorflow.

Any contribution is welcomed but the maintenance team for this library here doesn't vouch for the reliability of those projects.

Core symbols most depended-on inside this repo

TransInv
called by 8
packages/Python/modern_robotics/core.py
Adjoint
called by 7
packages/Python/modern_robotics/core.py
MatrixExp6
called by 6
packages/Python/modern_robotics/core.py
InverseDynamics
called by 6
packages/Python/modern_robotics/core.py
NearZero
called by 5
packages/Python/modern_robotics/core.py
VecToso3
called by 5
packages/Python/modern_robotics/core.py
TransToRp
called by 5
packages/Python/modern_robotics/core.py
VecTose3
called by 5
packages/Python/modern_robotics/core.py

Shape

Function 47

Languages

Python100%

Modules by API surface

packages/Python/modern_robotics/core.py47 symbols

For agents

$ claude mcp add ModernRobotics \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact