feat: add readme.md and requirements.txt
This commit is contained in:
38
README.md
Normal file
38
README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Autopilot
|
||||
|
||||
Симуляция автопилота по маршруту на карте.
|
||||
|
||||
## Требования
|
||||
|
||||
- Python 3.10+
|
||||
- Chrome/Chromium
|
||||
- Выключенный VPN
|
||||
|
||||
## Установка
|
||||
|
||||
```powershell
|
||||
python -m venv .venv
|
||||
.\.venv\Scripts\Activate.ps1
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
## Запуск
|
||||
|
||||
```powershell
|
||||
python main.py --mode standalone --name test_route
|
||||
```
|
||||
|
||||
Команда построит маршрут и запустит симуляцию. Результаты сохраняются в `trajectories`.
|
||||
|
||||
Можно выполнить шаги отдельно:
|
||||
|
||||
```powershell
|
||||
python main.py --mode build --name test_route
|
||||
python main.py --mode run --name test_route
|
||||
```
|
||||
|
||||
Дополнительно можно указать координаты и карты:
|
||||
|
||||
```powershell
|
||||
python main.py --mode standalone --name test_route --lat 49.103814 --lon 55.794258 --reference google --simulation yandex
|
||||
```
|
||||
Reference in New Issue
Block a user