Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 2.01 KB

README.md

File metadata and controls

64 lines (47 loc) · 2.01 KB

XVIZ

Coverage Status

XVIZ is a protocol for real-time transfer and visualization of autonomy data. Learn more in the docs and specification.

High Level Overview

Tools and examples

This repo contains the following submodules:

  • @xviz/builder - Node.js utilities for converting data to the XVIZ protocol.
  • @xviz/cli - CLI utilities for the XVIZ protocol.
  • @xviz/io - Library for loading, accessing, and manipiulating XVIZ data.
  • @xviz/parser - Client-side decoder and synchronizer for consuming XVIZ data.
  • @xviz/schema - Validation and schemas for the XVIZ protocol.
  • @xviz/server - A complete server module supporting the full XVIZ protocol.

And examples:

  • Sample converters that convert open datasets such as KITTI and Nutonomy to the XVIZ protocol.

Quick start

You need Node.js and yarn to run the examples.

# Clone XVIZ
$ git clone https://github.com/uber/xviz.git
$ cd xviz

# Install dependencies
$ yarn bootstrap

Convert and serve KITTI example data:

# Download KITTI data
$ ./scripts/download-kitti-data.sh

# Convert KITTI data if necessary and run the XVIZ Server and Client
$ ./scripts/run-kitti-example.sh

NPM Scripts

  • bootstrap - install dependencies
  • build - rebuild all modules
  • test - run full tests (lint, unit tests in node and headless browser)
  • test bench | bench - run benchmark tests
  • test bench-browser - run benchmark tests in browser
  • test node - run unit tests in Node
  • test browser - run tests in browser
  • test browser-headless - run tests in headless browser
  • lint - run lint
  • lint fix - run prettier
  • publish beta - publish beta release
  • publish prod - publish production release