carlaviz icon indicating copy to clipboard operation
carlaviz copied to clipboard

Visualize carla in the web browser

CarlaViz Build Status

Visualize carla in the web browser.

Version Supported

Platform Supported Carla Version Docker/Source
Ubuntu 0.9.6, 0.9.7, 0.9.8, 0.9.9.2, 0.9.9.4, 0.9.10, 0.9.10.1, 0.9.11, 0.9.12, 0.9.13 Docker image and source
Windows 0.9.9.2, 0.9.10, 0.9.10.1, 0.9.11, 0.9.12, 0.9.13 Only docker image

Instructions

Docker image

Docker image is provided. Run following command to pull this image (including frontend and backend).

# pull the image based on your carla version
docker pull mjxu96/carlaviz:0.9.6
docker pull mjxu96/carlaviz:0.9.7
docker pull mjxu96/carlaviz:0.9.8
docker pull mjxu96/carlaviz:0.9.9.2
docker pull mjxu96/carlaviz:0.9.9.4
docker pull mjxu96/carlaviz:0.9.10
docker pull mjxu96/carlaviz:0.9.10.1
docker pull mjxu96/carlaviz:0.9.11
docker pull mjxu96/carlaviz:0.9.12
docker pull mjxu96/carlaviz:0.9.13
docker pull mjxu96/carlaviz:latest

How to run it?

Here is a simple example to run it. This example also includes the Python API to draw extra lines, points and texts in the web browser.

Build from source

Although the container image is out-of-box to use, you are also welcome to build on your own!

Refer to this page for building instructions.

Author

Minjun Xu [email protected]

Used Libraries

  1. uber streetscape.gl as frontend
  2. carla
  3. mjxu96 xviz
  4. boost

TODOS

  • [ ] Load crossroads in the map instead of drawing them in real time.
  • [ ] Re-structure the backend codes.
  • [ ] Add support for changing map.