Skip to content

Commit f6fae2e

Browse files
authored
Merge pull request #22 from ai-winter/v1.1
V1.1
2 parents 985c958 + fa15169 commit f6fae2e

134 files changed

Lines changed: 87 additions & 1814 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
__pycache__/
33
build/
44
devel/
5+
docs/
6+
tmp/
57
python_motion_planning.egg-info/
68
# local env files
79
.env.local
@@ -25,6 +27,7 @@ examples/models/*
2527
# Editor directories and files
2628
.idea
2729
.vscode
30+
.pypirc
2831
*.suo
2932
*.ntvs*
3033
*.njsproj
@@ -34,4 +37,6 @@ examples/models/*
3437
*.log
3538

3639
# auto generated files
37-
site/
40+
site/
41+
dist/
42+
logs/

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,25 @@ python_motion_planning
3838
├─planner
3939
└─plot
4040
```
41+
4142
* The global planning algorithm implementation is in the folder `global_planner` with `graph_search`, `sample_search` and `evolutionary search`.
43+
4244
* The local planning algorithm implementation is in the folder `local_planner`.
45+
4346
* The curve generation algorithm implementation is in the folder `curve_generation`.
4447

45-
## Dependencies
46-
The code was tested in python=3.10. To install other dependencies, please run the following command in shell.
48+
## Install
49+
*(Optional)* The code was tested in python=3.10. We recommend using `conda` to install the dependencies.
50+
51+
```shell
52+
conda create -n pmp python=3.10
53+
conda activate pmp
54+
```
55+
56+
To install the repository, please run the following command in shell.
4757

4858
```shell
49-
pip install -r requirements.txt
59+
pip install python-motion-planning
5060
```
5161

5262
## Run
@@ -75,11 +85,13 @@ planner = search_factory("a_star", start=(5, 5), goal=(45, 25), env=pmp.Grid(51,
7585
planner.run() # run both planning and animation
7686
```
7787

78-
More examples can be found in the folder `examples`. You can also refer to the examples in the documentations generated using the following method.
88+
More examples can be found in the folder `examples` in the repository.
7989

8090
## Documentation
8191

82-
This repository also support auto-generated documentation using mkdocs. Enter the root directory and run
92+
For more details, you can refer to [online documentation](https://ai-winter.github.io/python_motion_planning/).
93+
94+
The documentation is auto-generated using mkdocs. To do this, enter the root directory and run
8395

8496
```shell
8597
python generate_mkdocs.py
@@ -115,6 +127,7 @@ Planner | Version
115127

116128

117129
## Local Planner
130+
118131
| Planner | Version | Animation
119132
|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------| --------------------------------------------------
120133
| **PID** | [![Status](https://img.shields.io/badge/done-v1.0-brightgreen)](https://github.com/ai-winter/python_motion_planning/blob/master/local_planner/pid.py) | ![pid_python.svg](assets/pid_python.svg)
@@ -126,7 +139,8 @@ Planner | Version
126139
| **MPC** | [![Status](https://img.shields.io/badge/done-v1.0-brightgreen)](https://github.com/ai-winter/python_motion_planning/blob/master/local_planner/mpc.py) | ![mpc_python.svg](assets/mpc_python.svg)
127140
| **MPPI** | ![Status](https://img.shields.io/badge/develop-v1.0-red) |![Status](https://img.shields.io/badge/gif-none-yellow)
128141
| **Lattice** | ![Status](https://img.shields.io/badge/develop-v1.0-red) |![Status](https://img.shields.io/badge/gif-none-yellow)
129-
| **DDPG** | [![Status](https://img.shields.io/badge/done-v1.0-brightgreen)](https://github.com/ai-winter/python_motion_planning/blob/master/local_planner/ddpg.py) |![ddpg_python.svg](assets/ddpg_python.svg)
142+
| **DQN** | ![Status](https://img.shields.io/badge/develop-v1.0-red) |![Status](https://img.shields.io/badge/gif-none-yellow)
143+
| **DDPG** | ![Status](https://img.shields.io/badge/develop-v1.0-red) |![Status](https://img.shields.io/badge/gif-none-yellow)
130144

131145
## Curve Generation
132146

@@ -145,6 +159,7 @@ Planner | Version
145159

146160
# Papers
147161
## Global Planning
162+
148163
* [A*: ](https://ieeexplore.ieee.org/document/4082128) A Formal Basis for the heuristic Determination of Minimum Cost Paths
149164
* [JPS:](https://ojs.aaai.org/index.php/AAAI/article/view/7994) Online Graph Pruning for Pathfinding On Grid Maps
150165
* [Lifelong Planning A*: ](https://www.cs.cmu.edu/~maxim/files/aij04.pdf) Lifelong Planning A*
@@ -168,7 +183,9 @@ Planner | Version
168183
* [DDPG: ](https://arxiv.org/abs/1509.02971) Continuous control with deep reinforcement learning
169184

170185
## Curve Generation
186+
171187
* [Dubins: ]() On curves of minimal length with a constraint on average curvature, and with prescribed initial and terminal positions and tangents
172188

173189
# Acknowledgment
190+
174191
* Our visualization and animation framework of Python Version refers to [https://github.com/zhm-real/PathPlanning](https://github.com/zhm-real/PathPlanning). Thanks sincerely.

docs/curve_generation/bezier_curve/Bezier.md

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

docs/curve_generation/bspline_curve/BSpline.md

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

docs/curve_generation/cubic_spline/CubicSpline.md

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

docs/curve_generation/curve/Curve.md

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

docs/curve_generation/dubins_curve/Dubins.md

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

docs/curve_generation/fem_pos_smooth/FemPosSmoother.md

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

docs/curve_generation/polynomial_curve/Polynomial.md

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

docs/curve_generation/reeds_shepp/ReedsShepp.md

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

0 commit comments

Comments
 (0)