diff --git a/README.md b/README.md index 12a7148f..cf2d8f6b 100644 --- a/README.md +++ b/README.md @@ -8,47 +8,41 @@ ![Python Version](https://img.shields.io/pypi/pyversions/spatialmath-python.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![Build Status](https://github.com/bdaiinstitute/spatialmath-python/actions/workflows/master.yml/badge.svg?branch=master)](https://github.com/bdaiinstitute/spatialmath-python/actions/workflows/master.yml?query=workflow%3Abuild+branch%3Amaster) -[![Coverage](https://codecov.io/github/bdaiinstitute/spatialmath-python/graph/badge.svg?token=W15FGBA059)](https://codecov.io/github/bdaiinstitute/spatialmath-python) +[![Build Status](https://github.com/rai-opensource/spatialmath-python/actions/workflows/master.yml/badge.svg?branch=master)](https://github.com/rai-opensource/spatialmath-python/actions/workflows/master.yml?query=workflow%3Abuild+branch%3Amaster) +[![Coverage](https://codecov.io/github/rai-opensource/spatialmath-python/graph/badge.svg?token=W15FGBA059)](https://codecov.io/github/rai-opensource/spatialmath-python) [![PyPI - Downloads](https://img.shields.io/pypi/dw/spatialmath-python)](https://pypistats.org/packages/spatialmath-python) -[![GitHub stars](https://img.shields.io/github/stars/bdaiinstitute/spatialmath-python.svg?style=social&label=Star)](https://GitHub.com/bdaiinstitute/spatialmath-python/stargazers/) +[![GitHub stars](https://img.shields.io/github/stars/rai-opensource/spatialmath-python.svg?style=social&label=Star)](https://GitHub.com/rai-opensource/spatialmath-python/stargazers/) # Repository Migration Notice > [!IMPORTANT] -> This repository is moving to the **RAI-Opensource** GitHub organization in **about 2 weeks from April 9, 2026 (UTC)**. +> This repository has moved to the **RAI-Opensource** GitHub organization! > -> The `github.io` page is now at . The old link (`https://bdaiinstitute.github.io/spatialmath-python`) will continue to redirect until repository migration and **then will break**. +> The `github.io` page is now at . The old link (`https://bdaiinstitute.github.io/spatialmath-python`) is no longer valid. > -> Current status: **pre-migration**. -> Migration target org: +> Current status: **Migrated**. +> - Migration target org: https://github.com/RAI-Opensource +> - Previous target org: https://github.com/bdaiinstitute > > What to do now: -> -> - Immediately: Update any links of `https://bdaiinstitute.github.io/spatialmath-python` to -> -> -> - Watch this repository for the final cutover update and destination repository link. -> - Plan to update your git remote after the move: -> +> - Update your git remote: > ```bash > git remote set-url origin https://github.com/rai-opensource/spatialmath-python.git > ``` -> -> - +> - Update any links of `https://bdaiinstitute.github.io/spatialmath-python` to +> - If you maintain downstream docs/scripts, update links from this repository to the new org. + @@ -98,7 +92,7 @@ These are layered over a set of base functions that perform many of the same ope The class, method and functions names largely mirror those of the MATLAB toolboxes, and the semantics are quite similar. -![trplot](https://github.com/bdaiinstitute/spatialmath-python/raw/master/docs/figs/fig1.png) +![trplot](https://github.com/rai-opensource/spatialmath-python/raw/master/docs/figs/fig1.png) ![animation video](./docs/figs/animate.gif) @@ -127,12 +121,12 @@ If the toolbox helped you in your research, please cite If you are using the Toolbox in your open source code, feel free to add our badge to your readme! -[![Powered by the Spatial Math Toolbox](https://github.com/bdaiinstitute/spatialmath-python/raw/master/.github/svg/sm_powered.min.svg)](https://github.com/bdaiinstitute/spatialmath-python) +[![Powered by the Spatial Math Toolbox](https://github.com/rai-opensource/spatialmath-python/raw/master/.github/svg/sm_powered.min.svg)](https://github.com/rai-opensource/spatialmath-python) Simply copy the following ``` -[![Powered by the Spatial Math Toolbox](https://github.com/bdaiinstitute/spatialmath-python/raw/master/.github/svg/sm_powered.min.svg)](https://github.com/bdaiinstitute/spatialmath-python) +[![Powered by the Spatial Math Toolbox](https://github.com/rai-opensource/spatialmath-python/raw/master/.github/svg/sm_powered.min.svg)](https://github.com/rai-opensource/spatialmath-python) ``` @@ -158,7 +152,7 @@ pip install spatialmath-python[ros-humble] Install the current code base from GitHub and pip install a link to that cloned copy ``` -git clone https://github.com/bdaiinstitute/spatialmath-python.git +git clone https://github.com/rai-opensource/spatialmath-python.git cd spatialmath-python pip install -e . # Optional: if you would like to contribute and commit code changes to the repository, @@ -302,14 +296,14 @@ t = 1, 2, 3; rpy/zyx = 30, 0, 0 deg >>> T.plot() ``` -![trplot](https://github.com/bdaiinstitute/spatialmath-python/raw/master/docs/figs/fig1.png) +![trplot](https://github.com/rai-opensource/spatialmath-python/raw/master/docs/figs/fig1.png) `printline` is a compact single line format for tabular listing, whereas `print` shows the underlying matrix and for consoles that support it, it is colorised, with rotational elements in red and translational elements in blue. For more detail checkout the shipped Python notebooks: -* [gentle introduction](https://github.com/bdaiinstitute/spatialmath-python/blob/master/notebooks/gentle-introduction.ipynb) -* [deeper introduction](https://github.com/bdaiinstitute/spatialmath-python/blob/master/notebooks/introduction.ipynb) +* [gentle introduction](https://github.com/rai-opensource/spatialmath-python/blob/master/notebooks/gentle-introduction.ipynb) +* [deeper introduction](https://github.com/rai-opensource/spatialmath-python/blob/master/notebooks/introduction.ipynb) You can browse it statically through the links above, or clone the toolbox and run them interactively using [Jupyter](https://jupyter.org) or [JupyterLab](https://jupyter.org). @@ -395,7 +389,7 @@ array([-60, 12, 30, 24]) ## Graphics -![trplot](https://github.com/bdaiinstitute/spatialmath-python/raw/master/docs/figs/transforms3d.png) +![trplot](https://github.com/rai-opensource/spatialmath-python/raw/master/docs/figs/transforms3d.png) The functions support various plotting styles diff --git a/pyproject.toml b/pyproject.toml index b6070611..f47b18b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,10 +45,10 @@ dependencies = [ ] [project.urls] -"Homepage" = "https://github.com/bdaiinstitute/spatialmath-python" -"Bug Tracker" = "https://github.com/bdaiinstitute/spatialmath-python/issues" -"Documentation" = "https://bdaiinstitute.github.io/spatialmath-python/" -"Source" = "https://github.com/bdaiinstitute/spatialmath-python" +"Homepage" = "https://github.com/rai-opensource/spatialmath-python" +"Bug Tracker" = "https://github.com/rai-opensource/spatialmath-python/issues" +"Documentation" = "https://rai-opensource.github.io/spatialmath-python/" +"Source" = "https://github.com/rai-opensource/spatialmath-python" [project.optional-dependencies] diff --git a/tests/test_pose3d.py b/tests/test_pose3d.py index 35233dd2..cdb80fbd 100755 --- a/tests/test_pose3d.py +++ b/tests/test_pose3d.py @@ -1390,7 +1390,7 @@ def test_rtvec(self): nt.assert_equal(tvec, [2, 3, 4]) def test_interp(self): - # This data is taken from https://github.com/bdaiinstitute/spatialmath-python/issues/165 + # This data is taken from https://github.com/rai-opensource/spatialmath-python/issues/165 se3_1 = SE3() se3_1.t = np.array( [0.5705748101710814, 0.29623210833184527, 0.10764106509086407]
- A Python implementation of the Spatial Math Toolbox for MATLAB®