Skip to content

Commit 2b9cc06

Browse files
authored
update getting started (AtsushiSakai#1133)
1 parent 44bad78 commit 2b9cc06

File tree

3 files changed

+37
-20
lines changed

3 files changed

+37
-20
lines changed

docs/modules/0_getting_started/0_getting_started_main.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ Getting Started
88
:caption: Contents
99

1010
1_what_is_python_robotics
11-
2_how_to_use
11+
2_how_to_run_sample_codes
1212
3_how_to_contribute
1313
4_how_to_read_textbook

docs/modules/0_getting_started/1_what_is_python_robotics_main.rst

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ What is PythonRobotics?
66
This is an Open Source Software (OSS) project: PythonRobotics, which is a Python code collection of robotics algorithms.
77
These codes are developed under `MIT license`_ and on `GitHub`_.
88

9+
.. _GitHub: https://github.com/AtsushiSakai/PythonRobotics
10+
.. _`MIT license`: https://github.com/AtsushiSakai/PythonRobotics/blob/master/LICENSE
11+
912
This project has three main philosophies below:
1013

1114
Philosophy 1. Easy to understand each algorithm's basic idea.
@@ -60,35 +63,32 @@ For example, Kalman filters and particle filter for localization,
6063
grid mapping for mapping,
6164
dynamic programming based approaches and sampling based approaches for path planning,
6265
and optimal control based approach for path tracking.
63-
These algorithms are implemented in this project.
66+
These algorithms are implemented and explained in the textbook in this project.
6467

6568
Philosophy 3. Minimum dependency.
6669
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6770

68-
Each sample code is written in Python3 and only depends on some standard
69-
modules for readability and ease of use.
70-
71-
72-
.. _GitHub: https://github.com/AtsushiSakai/PythonRobotics
73-
.. _`MIT license`: https://github.com/AtsushiSakai/PythonRobotics/blob/master/LICENSE
74-
75-
76-
See this paper for more details:
71+
Each sample code of PythonRobotics is written in Python3 and only depends on
72+
some standard modules for readability and ease to setup and use.
7773

78-
- PythonRobotics: a Python code collection of robotics algorithms: https://arxiv.org/abs/1808.10703
7974

8075
.. _`Requirements`:
8176

8277
Requirements
8378
============
8479

85-
- `Python 3.12.x`_
86-
- `NumPy`_
87-
- `SciPy`_
88-
- `Matplotlib`_
89-
- `cvxpy`_
80+
PythonRobotics depends only on the following five libraries,
81+
including Python itself, to run each sample code.
9082

91-
For development:
83+
- `Python 3.12.x`_ (for Python runtime)
84+
- `NumPy`_ (for matrix operation)
85+
- `SciPy`_ (for scientific operation)
86+
- `cvxpy`_ (for convex optimization)
87+
- `Matplotlib`_ (for visualization)
88+
89+
If you only need to run the code, the five libraries mentioned above are sufficient.
90+
However, for code development or creating documentation for the textbook,
91+
the following additional libraries are required.
9292

9393
- `pytest`_ (for unit tests)
9494
- `pytest-xdist`_ (for parallel unit tests)
@@ -107,3 +107,18 @@ For development:
107107
.. _`Sphinx`: https://www.sphinx-doc.org/en/master/index.html
108108
.. _`ruff`: https://github.com/astral-sh/ruff
109109

110+
For instructions on installing the above libraries, please refer to
111+
this section ":ref:`How to run sample codes`".
112+
113+
Arxiv paper
114+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115+
116+
We have published a paper on this project on Arxiv in 2018.
117+
118+
See this paper for more details about this Project:
119+
120+
- `PythonRobotics: a Python code collection of robotics algorithms`_ (`BibTeX`_)
121+
122+
.. _`PythonRobotics: a Python code collection of robotics algorithms`: https://arxiv.org/abs/1808.10703
123+
.. _`BibTeX`: https://github.com/AtsushiSakai/PythonRoboticsPaper/blob/master/python_robotics.bib
124+

docs/modules/0_getting_started/2_how_to_use_main.rst renamed to docs/modules/0_getting_started/2_how_to_run_sample_codes_main.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
How to use
2-
----------
1+
.. _`How to run sample codes`:
2+
3+
How to run sample codes
4+
-------------------------
35

46
1. Clone this repo and go into dir.
57

0 commit comments

Comments
 (0)