Skip to main content

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:

  1. CARLA - An open-source simulator for autonomous driving research.
  2. cycarla_backend - This Python Flask server which links the frontend to CARLA.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cycarla_backend-0.1.10.tar.gz (155.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cycarla_backend-0.1.10-py3-none-any.whl (164.9 kB view details)

Uploaded Python 3

File details

Details for the file cycarla_backend-0.1.10.tar.gz.

File metadata

  • Download URL: cycarla_backend-0.1.10.tar.gz
  • Upload date:
  • Size: 155.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.11 Windows/10

File hashes

Hashes for cycarla_backend-0.1.10.tar.gz
Algorithm Hash digest
SHA256 f1082cf2f163667419aef171182cf4f990a4ecaa51373a012529e684b821422e
MD5 00e5dd269914d8ae1826ac961574ff94
BLAKE2b-256 c9ade3b6f8191d9326b4f93d0815042d4c3440e0a8f36525cfaa5187b88ed590

See more details on using hashes here.

File details

Details for the file cycarla_backend-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: cycarla_backend-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 164.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.11 Windows/10

File hashes

Hashes for cycarla_backend-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0444c6fcc3ebb8cc60962dbc777ebb295f32a2fe9c8e31f53e1d80786ce41f34
MD5 1a465c8c2383b5f2e57f2ea898d51382
BLAKE2b-256 8a7d6b27223c7a2db53cc472d1d267881d434e5e47513d73b56e4497d974c54d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page