1 Star 1 Fork 2

木子/PythonAutomatedDriving

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README_zh.md 2.49 KB
一键复制 编辑 原始数据 按行查看 历史

自动驾驶算法

自动驾驶相关算法代码仓库,Python 语言版。

English | 简体中文

如何使用

一、获取源码

  1. Star 本仓库
  2. 通过以下方式之一获取源码:
  3. 进入项目目录 cd /your/path/to/PythonAutomatedDriving

二、配置虚拟环境与安装依赖

方式 A: venv 与 pip

  1. 确保 Python 版本与 pyproject.toml 中要求的一致
  2. 创建虚拟环境
    • Windows: python -m venv --upgrade-deps venv
    • Linux/macOS: python3 -m venv --upgrade-deps venv
  3. 激活虚拟环境
    • Windows: venv\Scripts\activate
    • Linux/macOS: . venv/bin/activate
  4. 安装依赖 pip install -r requirements.txt

方式 BPoetry

  1. 确保 Python 版本与 pyproject.toml 中要求的一致
  2. 官方文档指示安装 Poetry
  3. 创建虚拟环境:poetry env use /full/path/to/python(注意替换路径)
  4. 安装依赖:poetry install --no-dev
  5. 使用该虚拟环境: poetry shell(或在 PyCharm 等 IDE 中配置)

方式 CAnaconda

conda env create -f environment.yml

三、运行!

在每个子项目目录中运行 Python 脚本。

目录

AuxiliaryFunctions 辅助函数

LocalPathPlanning 局部路径规划

许可协议

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

http://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.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/muzing/PythonAutomatedDriving.git
git@gitee.com:muzing/PythonAutomatedDriving.git
muzing
PythonAutomatedDriving
PythonAutomatedDriving
main

搜索帮助