-
Notifications
You must be signed in to change notification settings - Fork 94
Fix sphinx automation #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
myeatman-bdai
wants to merge
11
commits into
master
Choose a base branch
from
fix-sphinx-automation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
826e6aa
Try replaceing github/petercorke with github/bdaiinstitute
myeatman-bdai 797a8a6
Trying to figure out how to trigger the job.
myeatman-bdai 2676c1a
...
myeatman-bdai 8503e18
...
myeatman-bdai a3b850b
Okay I think this should work.
myeatman-bdai db451dc
...
myeatman-bdai c1315c9
Re-add don't trigger on PR.
myeatman-bdai ab1453a
Revert erenouius blanket replace of "github.com/petercorke" with "git…
myeatman-bdai aa0102b
Grammar.
myeatman-bdai 062468a
Test sphinx auto run update from peter's repo.
myeatman-bdai 3c87247
Merge branch 'master' into fix-sphinx-automation
myeatman-bdai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Spatial Maths for Python | ||
|
||
[](https://github.com/petercorke/robotics-toolbox-python) | ||
[](https://github.com/bdaiinstitute/robotics-toolbox-python) | ||
[](https://qcr.github.io) | ||
|
||
[](https://badge.fury.io/py/spatialmath-python) | ||
|
@@ -20,7 +20,7 @@ | |
<td style="border:0px"> | ||
<img src="https://github.com/bdaiinstitute/spatialmath-python/raw/master/docs/figs/CartesianSnakes_LogoW.png" width="200"></td> | ||
<td style="border:0px"> | ||
A Python implementation of the <a href="https://github.com/petercorke/spatial-math">Spatial Math Toolbox for MATLAB<sup>®</sup></a> | ||
A Python implementation of the <a href="https://github.com/bdaiinstitute/spatial-math">Spatial Math Toolbox for MATLAB<sup>®</sup></a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. revert, it refers to the MATLAB ancestor which is surely not at BDAI. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, sorry about that! |
||
<ul> | ||
<li><a href="https://github.com/bdaiinstitute/spatialmath-python">GitHub repository </a></li> | ||
<li><a href="https://bdaiinstitute.github.io/spatialmath-python">Documentation</a></li> | ||
|
@@ -45,8 +45,8 @@ space: | |
| ------------ | ---------------- | -------- | | ||
| pose | ``SE3`` ``Twist3`` ``UnitDualQuaternion`` | ``SE2`` ``Twist2`` | | ||
| orientation | ``SO3`` ``UnitQuaternion`` | ``SO2`` | | ||
|
||
|
||
More specifically: | ||
|
||
* `SE3` matrices belonging to the group $\mathbf{SE}(3)$ for position and orientation (pose) in 3-dimensions | ||
|
@@ -80,7 +80,7 @@ The class, method and functions names largely mirror those of the MATLAB toolbox | |
|
||
# Citing | ||
|
||
Check out our ICRA 2021 paper on [IEEE Xplore](https://ieeexplore.ieee.org/document/9561366) or get the PDF from [Peter's website](https://bit.ly/icra_rtb). This describes the [Robotics Toolbox for Python](https://github.com/petercorke/robotics-toolbox-python) as well Spatial Maths. | ||
Check out our ICRA 2021 paper on [IEEE Xplore](https://ieeexplore.ieee.org/document/9561366) or get the PDF from [Peter's website](https://bit.ly/icra_rtb). This describes the [Robotics Toolbox for Python](https://github.com/bdaiinstitute/robotics-toolbox-python) as well Spatial Maths. | ||
myeatman-bdai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
If the toolbox helped you in your research, please cite | ||
|
||
|
@@ -160,26 +160,26 @@ For example, to create an object representing a rotation of 0.3 radians about th | |
>>> from spatialmath import SO3, SE3 | ||
>>> R1 = SO3.Rx(0.3) | ||
>>> R1 | ||
1 0 0 | ||
0 0.955336 -0.29552 | ||
0 0.29552 0.955336 | ||
1 0 0 | ||
0 0.955336 -0.29552 | ||
0 0.29552 0.955336 | ||
``` | ||
while a rotation of 30 deg about the z-axis is | ||
|
||
```python | ||
>>> R2 = SO3.Rz(30, 'deg') | ||
>>> R2 | ||
0.866025 -0.5 0 | ||
0.5 0.866025 0 | ||
0 0 1 | ||
0.866025 -0.5 0 | ||
0.5 0.866025 0 | ||
0 0 1 | ||
``` | ||
and the composition of these two rotations is | ||
and the composition of these two rotations is | ||
|
||
```python | ||
>>> R = R1 * R2 | ||
0.866025 -0.5 0 | ||
0.433013 0.75 -0.5 | ||
0.25 0.433013 0.866025 | ||
0.866025 -0.5 0 | ||
0.433013 0.75 -0.5 | ||
0.25 0.433013 0.866025 | ||
``` | ||
|
||
We can find the corresponding Euler angles (in radians) | ||
|
@@ -198,16 +198,16 @@ Frequently in robotics we want a sequence, a trajectory, of rotation matrices or | |
>>> len(R) | ||
3 | ||
>>> R[1] | ||
1 0 0 | ||
0 0.955336 -0.29552 | ||
0 0.29552 0.955336 | ||
1 0 0 | ||
0 0.955336 -0.29552 | ||
0 0.29552 0.955336 | ||
``` | ||
and this can be used in `for` loops and list comprehensions. | ||
|
||
An alternative way of constructing this would be (`R1`, `R2` defined above) | ||
|
||
```python | ||
>>> R = SO3( [ SO3(), R1, R2 ] ) | ||
>>> R = SO3( [ SO3(), R1, R2 ] ) | ||
>>> len(R) | ||
3 | ||
``` | ||
|
@@ -233,7 +233,7 @@ will produce a result where each element is the product of each element of the l | |
Similarly | ||
|
||
```python | ||
>>> A = SO3.Ry(0.5) * R | ||
>>> A = SO3.Ry(0.5) * R | ||
>>> len(R) | ||
32 | ||
``` | ||
|
@@ -242,7 +242,7 @@ will produce a result where each element is the product of the left-hand side wi | |
Finally | ||
|
||
```python | ||
>>> A = R * R | ||
>>> A = R * R | ||
>>> len(R) | ||
32 | ||
``` | ||
|
@@ -267,10 +267,10 @@ We can print and plot these objects as well | |
``` | ||
>>> T = SE3(1,2,3) * SE3.Rx(30, 'deg') | ||
>>> T.print() | ||
1 0 0 1 | ||
0 0.866025 -0.5 2 | ||
0 0.5 0.866025 3 | ||
0 0 0 1 | ||
1 0 0 1 | ||
0 0.866025 -0.5 2 | ||
0 0.5 0.866025 3 | ||
0 0 0 1 | ||
|
||
>>> T.printline() | ||
t = 1, 2, 3; rpy/zyx = 30, 0, 0 deg | ||
|
@@ -339,7 +339,7 @@ array([[1., 0., 1.], | |
[0., 0., 1.]]) | ||
|
||
transl2( (1,2) ) | ||
Out[444]: | ||
Out[444]: | ||
array([[1., 0., 1.], | ||
[0., 1., 2.], | ||
[0., 0., 1.]]) | ||
|
@@ -349,7 +349,7 @@ array([[1., 0., 1.], | |
|
||
``` | ||
transl2( np.array([1,2]) ) | ||
Out[445]: | ||
Out[445]: | ||
array([[1., 0., 1.], | ||
[0., 1., 2.], | ||
[0., 0., 1.]]) | ||
|
@@ -436,7 +436,7 @@ Out[259]: int | |
|
||
a = T[1,1] | ||
a | ||
Out[256]: | ||
Out[256]: | ||
cos(theta) | ||
type(a) | ||
Out[255]: cos | ||
|
@@ -447,6 +447,6 @@ Similarly when we assign an element or slice of the symbolic matrix to a numeric | |
|
||
## History & Contributors | ||
|
||
This package was originally created by [Peter Corke](https://github.com/petercorke) and [Jesse Haviland](https://github.com/jhavl) and was inspired by the [Spatial Math Toolbox for MATLAB](https://github.com/petercorke/spatialmath-matlab). It supports the textbook [Robotics, Vision & Control in Python 3e](https://github.com/petercorke/RVC3-python). | ||
This package was originally created by [Peter Corke](https://github.com/bdaiinstitute) and [Jesse Haviland](https://github.com/jhavl) and was inspired by the [Spatial Math Toolbox for MATLAB](https://github.com/bdaiinstitute/spatialmath-matlab). It supports the textbook [Robotics, Vision & Control in Python 3e](https://github.com/bdaiinstitute/RVC3-python). | ||
myeatman-bdai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
The package is now a collaboration with [Boston Dynamics AI Institute](https://theaiinstitute.com/). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.