Skip to content

Modern Robotics: Mechanics, Planning, and Control C++ Library --- 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. https://modernrobotics.org/

Notifications You must be signed in to change notification settings

jia-xinyu/ModernRoboticsCpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modern Robotics: Mechanics, Planning, and Control

C++ 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 of main repository.

The functions are available in:

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.

Installation

1. Install Eigen library.

  • On Mac
brew install eigen
  • On Linux
sudo apt-get install libeigen3-dev

2. Prepare build

Creat a folder and Open

mkdir build && cd build

Configure with defaults for only building a library

cmake ..

Or configure with googletest test. The catch.hpp has been in the repo.

cmake .. -DLIBRARY_TEST=1

Build library

make all

Install library in your local paths (optional)

make install

Test the library

The step including googletest is necessary.

./lib_test

About

Modern Robotics: Mechanics, Planning, and Control C++ Library --- 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. https://modernrobotics.org/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.1%
  • CMake 1.9%