Python sample codes and documents about Autonomous vehicle control algorithm. This project can be used as a technical guide book to study the algorithms and the software architectures for beginners.
翻譯準備中
教育Python · DockerfileGitHub @ShisatoYano自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Python sample codes and documents about Autonomous vehicle control algorithm. This project can be used as a technical guide book to study the algorithms and the software architectures for beginners.
This is a sample codes collections about Autonomous vehicle control algorithm. Each source codes are implemented with Python to help your understanding. You can fork this repository and use for studying, education or work freely.
I want to release my own technical book about Autonomous Vehicle algorithms in the future. The book will include all of codes and documents in this repository as contents.
The next goal is a simulator where you can learn the whole navigation of an autonomous vehicle, swapping algorithms at each stage and comparing the results. See the architecture and roadmap and the roadmap issue.
Please satisfy with the following requirements on native or VM Linux in advance.
For running each sample codes:
For development:
For setting up the environment with Docker:
Clone this repository
$ git clone https://github.com/ShisatoYano/AutonomousVehicleControlBeginnersGuide
Set up the environment for running each codes
Execute unit tests to confirm the environment were installed successfully
$ . run_test_suites.sh
Execute a python script at src/simulations directory
$ python src/simulations/localization/extended_kalman_filter_localization/extended_kalman_filter_localization.py
Add star to this repository if you like it!!
Each simulation script adds its own module search paths at runtime with
sys.path.append(...), since this project doesn't use a standard Python
package layout. Static analysis tools (Pylance/pyright) can't see those
runtime sys.path.append(...) calls, so without extra configuration your
editor will show false "import could not be resolved" errors and code
completion won't work for these modules.
To fix this, pyrightconfig.json (for pyright/Pylance, e.g. Neovim or VS
Code without Dev Containers) and .devcontainer/devcontainer.json's
python.analysis.extraPaths (for VS Code + Dev Containers) list every
directory under src/components and src/simulations that directly
contains a .py file.
Whenever you add a new module (a new directory under src/components or
src/simulations), regenerate both files by running:
$ python generate_pyrightconfig.py
This scans the project and rewrites both files automatically, so you don't need to edit them by hand.
Run this script on your host machine, not inside the container. It only
uses the Python standard library (json, pathlib), and since the project
directory is bind-mounted into the container as-is, the files it writes are
the same on both sides either way. Running it on the host is simplest since
it doesn't depend on the container's Python environment at all.
Every algorithm has a runnable simulation with an animated demo, organized into these categories:
The full list with demo GIFs is generated from src/simulations — see doc/EXAMPLES.md.
Design documents of each Python programs are prepared here. The documents are still not completed. They have been being updated. If you found any problems in them, please tell me by creating an issue.
Documents link
MIT
I started this project to study an algorithm and software development for Autonomous Vehicle system by myself. You can also use this repo for your own studying, education, researching and development.
If this project helps your task, please let me know by creating a issue.
Any paper, animation, video as your output, always welcome!! It will encourage me to continue this project.
Your comment and output is added to this list of user comments.
Any contribution by creating an issue or sending a pull request is welcome!! Please check this document about how to contribute.
If you are looking for a place to start, see the good first issues and the roadmap issue.