Skip to content

Commit 1280aa3

Browse files
authored
Merge branch 'master' into fix/rotatedvector-antipodal
2 parents 9ac32e7 + c20408d commit 1280aa3

33 files changed

Lines changed: 792 additions & 319 deletions

‎.github/CODEOWNERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Global Owners
2-
* @petercorke @jhavl @myeatman-bdai
2+
* @petercorke @jbarry-bdai @taughz

‎.github/workflows/master.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
33
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
44

5-
name: build
5+
name: CI
66

77
on:
88
push:

‎.github/workflows/sphinx.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
cd ../
3030
- name: Commit documentation changes
3131
run: |
32-
git clone https://github.com/petercorke/spatialmath-python.git --branch gh-pages --single-branch gh-pages
32+
git clone https://github.com/${{ github.repository }}.git --branch gh-pages --single-branch gh-pages
3333
cp -r docs/build/html/* gh-pages/
3434
cd gh-pages
3535
git config --local user.email "action@github.com"

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ Similarly when we assign an element or slice of the symbolic matrix to a numeric
452452

453453
On April 28, 2026 this repository moved to the **RAI-Opensource** GitHub organization. If you are still pulling from the previous bdaiinstitute GitHub organization, please update your git remote:
454454
```bash
455-
git remote set-url origin https://github.com/RAI-Opensource/spot_ros2
455+
git remote set-url origin https://github.com/RAI-Opensource/spatialmath-python.git
456456
```
457457

458458
Also update any links of `https://bdaiinstitute.github.io/spatialmath-python` to <https://spatialmath-python.rai-inst.com/>.

‎docs/source/classes-2d.rst‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎docs/source/classes-3d.rst‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎docs/source/intro.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ The classes ``SE3``, ``SO3``, ``SE2`` and ``SO2`` can provide colorized text out
262262

263263
.. image:: ../figs/colored_output.png
264264
:width: 300
265+
265266
with rotational elements in red, translational elements in blue and constants in grey.
266267

267268
The foreground and background colors can be controlled using the following
@@ -538,8 +539,10 @@ A numpy column vector has shape ``(N,1)`` and a row vector
538539
has shape ``(1,N)`` but functions also accept row ``(1,N)`` and column ``(N,1)``
539540
where a vector argument is required.
540541

541-
.. warning:: For a user transitioning from MATLAB the most significant
542-
differences are:
542+
.. warning::
543+
544+
For a user transitioning from MATLAB the most significant differences are:
545+
543546
- the use of 1D arrays -- all MATLAB arrays have two dimensions,
544547
even if one of them is equal to one.
545548
- Iterating over a 1D NumPy array (N,) returns consecutive elements

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "spatialmath-python"
3-
version = "1.1.16"
3+
version = "1.1.17"
44
authors = [
55
{ name="Peter Corke", email="rvc@petercorke.com" },
66
]

‎spatialmath/DualQuaternion.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def SE3(self) -> SE3:
338338
339339
.. runblock:: pycon
340340
341-
>>> from spatialmath import DualQuaternion, SE3
341+
>>> from spatialmath import UnitDualQuaternion, SE3
342342
>>> T = SE3.Rand()
343343
>>> print(T)
344344
>>> d = UnitDualQuaternion(T)

‎spatialmath/base/__init__.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210
"qprint",
211211
"q2str",
212212
# spatialmath.base.transforms2d
213+
"pos2tr2",
213214
"rot2",
214215
"trot2",
215216
"transl2",
@@ -219,8 +220,12 @@
219220
"trexp2",
220221
"trnorm2",
221222
"tr2jac2",
223+
"tr2pos2",
224+
"tr2adjoint2",
225+
"tradjoint2",
222226
"trinterp2",
223227
"trprint2",
228+
"tr2str2",
224229
"trplot2",
225230
"tranimate2",
226231
"xyt2tr",
@@ -264,6 +269,7 @@
264269
"exp2jac",
265270
"rot2jac",
266271
"trprint",
272+
"tr2str",
267273
"trplot",
268274
"tranimate",
269275
"tr2x",

0 commit comments

Comments
 (0)