Skip to content

Add code links to SLAM module documentation #1212

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

Merged
merged 1 commit into from
May 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/modules/4_slam/FastSLAM1/FastSLAM1_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ The red points are particles of FastSLAM.
Black points are landmarks, blue crosses are estimated landmark
positions by FastSLAM.

Code Link
~~~~~~~~~~~~

.. autofunction:: SLAM.FastSLAM1.fast_slam1.fast_slam1


Introduction
~~~~~~~~~~~~
Expand Down
6 changes: 6 additions & 0 deletions docs/modules/4_slam/FastSLAM2/FastSLAM2_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ The animation has the same meanings as one of FastSLAM 1.0.

.. image:: https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/SLAM/FastSLAM2/animation.gif

Code Link
~~~~~~~~~~~

.. autofunction:: SLAM.FastSLAM2.fast_slam2.fast_slam2


References
~~~~~~~~~~

Expand Down
6 changes: 6 additions & 0 deletions docs/modules/4_slam/ekf_slam/ekf_slam_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ This is a simulation of EKF SLAM.
- Blue line: ground truth
- Red line: EKF SLAM position estimation

Code Link
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autofunction:: SLAM.EKFSLAM.ekf_slam.ekf_slam


Introduction
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
6 changes: 6 additions & 0 deletions docs/modules/4_slam/graph_slam/graph_slam_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ The black stars are landmarks for graph edge generation.

.. image:: https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/SLAM/GraphBasedSLAM/animation.gif

Code Link
~~~~~~~~~~~~

.. autofunction:: SLAM.GraphBasedSLAM.graph_based_slam.graph_based_slam


.. include:: graphSLAM_doc.rst
.. include:: graphSLAM_formulation.rst
.. include:: graphSLAM_SE2_example.rst
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ points to points.

.. image:: https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/SLAM/iterative_closest_point/animation.gif

Code Link
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. autofunction:: SLAM.ICPMatching.icp_matching.icp_matching


References
~~~~~~~~~~
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- `Introduction to Mobile Robotics: Iterative Closest Point Algorithm <https://cs.gmu.edu/~kosecka/cs685/cs685-icp.pdf>`_
1 change: 1 addition & 0 deletions runtests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
cd "$(dirname "$0")" || exit 1
echo "Run test suites! "

# === pytest based test runner ===
Expand Down
2 changes: 1 addition & 1 deletion tests/test_iterative_closest_point.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import conftest
from SLAM.iterative_closest_point import iterative_closest_point as m
from SLAM.ICPMatching import icp_matching as m


def test_1():
Expand Down