Update README.md

added complete first run test for users new to python, making the start as easy as possible
This commit is contained in:
Alex Ponomarev 2019-02-10 00:32:31 +01:00 committed by GitHub
parent db51102bf7
commit 06adbf03e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 1 deletions

View File

@ -56,6 +56,17 @@ invR = mr.RotInv(R)
You should get the variable `invR` whose value is the same as the output
shown in the function usage example.
Your complete first test code that will return invR could be as follows:
```
import modern_robotics as mr
import numpy as np
R = np.array([[0, 0, 1],
[1, 0, 0],
[0, 1, 0]])
invR = mr.RotInv(R)
print invR
```
## Using the Package Locally ##
It is possible to use the package locally without installation. Download and