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:
- C++
- 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.
- Eigen Library: On Linux and Mac
foo@bar:~$ sudo apt-get install libeigen3-dev- Eigen Libray: Mac
foo@bar:~$ brew install eigen- cmake: On Linux
foo@bar:~$ sudo apt-get install cmakefoo@bar:~$ mkdir build && cd build- Download Repo:
foo@bar:~$ - Extract Repo:
foo@bar:~$ sudo unzip foo@bar:~$ mkdir build && cd buildOr just configure with defaults
foo@bar:build $ cmake ..Building library
foo@bar:build $ sudo makeInstalling library
foo@bar:build $ sudo make installfoo@bar:build $ ./lib_test