1.3 KiB
"mr" Matlab Code Library Instructions
This is the code library for Modern Robotics: Mechanics, Planning, and Control. Here is the introduction. For more details please see the website.
Installing the Library
This code library does not need installation.
Importing the Library
To import the library, use addpath as
addpath('$FOLDER_PATH/mr')
where $FOLDER_PATH is the path to "mr" folder. This process is required for
any program using this package.
Using the Package
After importing the library, you should be able to use any function in the
library. Taking the function RotInv for example, you can check the
description and usage example of this function by running
help RotInv
As mentioned in the function usage example, you can try using this function by running
R = [0, 0, 1; 1, 0, 0; 0, 1, 0];
invR = RotInv(R);
You should get the the variable invR whose value is the same as the output
shown in the function usage example.
To check the function list and which chapter in the book do those functions
belong to, use help as
help mr
Library Information
Author: Huan Weng, Bill Hunt, Mikhail Todes, Jarvis Schultz
Contact: huanweng@u.northwestern.edu
Package Version: 1.0.0
Matlab Version: R2017b
Tested in Matlab R2017b