Backend for Cycarla
Project description
cycarla-backend
is a Python Flask server that serves as the backend to CYCARLA
The three components of Cycarla are:
- CARLA - An open-source simulator for autonomous driving research.
- cycarla_backend - This Python Flask server which links the frontend to CARLA.
- cycarla_frontend - A Javascript (Next.js) front-end which presents a web-based interface from your browser.
Installation
Supported platforms: Windows 10, Ubuntu 22.04. Other versions can work if you install Python 3.10 and pipx.
Windows 10-specific Prerequisites
If you are on Ubuntu 22.04, skip ahead to the next section. Windows needs a couple of things to be set up beforehand.
1. Install Python 3.10
Scroll to the bottom and download the 'Windows Installer (64-bit)'.
At the installer, make sure to enable the bottom option "Add python.exe to PATH"
2. Install Scoop
Install using pipx
cycarla-backend
is a CLI package that is developed with poetry and published on pypi.
We'll use pipx
to run it in an isolated python environment.
Install pipx
Follow relevant instructions for your platform
Install cycarla-backend using pipx
pipx install cycarla-backend
Note the dash (minus) sign.
Run App
In your terminal (Ubuntu) or Powershell (Windows):
cycarla_backend
Note the underscore.
On Windows, Allow firewall permissions when prompted.r Cycoutput including:
* Running on http://127.0.0.1:9000
This app will receive web requests from the CYCARLA Frontend which should run at localhost port 3000, and communicate with the Python API of a local CARLA simulator whose default port is 2000.
You should start the CARLA and frontend applications next, if they haven't been started already.
See CYCARLA top-level project README for more information
Compatibility
- Currently, Windows 10 and Ubuntu 22.04 are the officially supported OSes for the CYCARLA project. Mac is not supported because CARLA can't run on it.
- It is possible to run CARLA and this backend on two different computers, but it is very slow (~5 FPS).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cycarla_backend-0.1.9.tar.gz
.
File metadata
- Download URL: cycarla_backend-0.1.9.tar.gz
- Upload date:
- Size: 157.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29d4d7bf936a1c69abb148fce9752bedef9232948aec1d364d7b54fc692d3ce7 |
|
MD5 | 0702f5d64675eb49eca2c8096e155dae |
|
BLAKE2b-256 | b6bf2396cca3d81bbd00b59bf8eec56fcd8409552b81983804e5d96b9e88b09e |
File details
Details for the file cycarla_backend-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: cycarla_backend-0.1.9-py3-none-any.whl
- Upload date:
- Size: 164.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/6.9.3-76060903-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5affe392dc0c50f1c5c72bb058658fd358a3c9ae7c25642466fd20b5270e7d8a |
|
MD5 | 1c3ffffd90d021fd718b5b10c5898666 |
|
BLAKE2b-256 | e2b2f97aa43baef2a24f8be121e37c99e431006f335ddc5e78b1f125fa8facde |