Python codes for automated driving algorithms.
简体中文 | English
- Add star to this repo if you like it 😃
- Get source code by one of the following methods
- Download code zip
- (For development only) clone repo
git clone https://github.com/muziing/PythonAutomatedDriving.git
- Go to the project directory
cd /your/path/to/PythonAutomatedDriving
Option A: venv & pip
- Ensure that the Python version matches the one required in pyproject.toml.
- Create virtual environment
- Windows:
python -m venv --upgrade-deps venv
- Linux/macOS:
python3 -m venv --upgrade-deps venv
- Windows:
- Activate virtual environment
- Windows:
venv\Scripts\activate
- Linux/macOS:
. venv/bin/activate
- Windows:
- Install the requirements
pip install -r requirements.txt
Option B: Poetry
- Make sure the Python version is the same as required in pyproject.toml.
- Install Poetry as instructed in the official documentation.
- Create a virtual environment:
poetry env use /full/path/to/python
- Install dependencies:
poetry install --no-dev
- Use the virtual environment:
poetry shell
(or configure it in an IDE like PyCharm).
Option C: Anaconda
conda env create -f environment.yml
Execute Python script in each directory.
- curvature calculate curvature
- FSAE Path Planning 适用于 FSAE 无人赛车高速循迹项目的路径规划算法
Copyright 2022-2023 muzing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.