aran1177 / xviz

C++ Implementation of XVIZ Protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XVIZ In C++ Build Status codecov

Minimum Requirements

  1. CMake 3.5.0+
  2. Protobuf 3.11.0+

Example

Please see example.cpp, example_xviz_server.cpp and CMakeLists.txt for more information.

Use Case

  1. CarlaViz

Build

Build xviz builder example

mkdir build && cd build
cmake ../
make example -j12
../bin/example

Build xviz server example

Frontend is needed. You can refer to these two repos for frontend:

  1. CarlaViz Frontend
  2. uber streetscape.gl
mkdir build && cd build
cmake ../
make example-server -j12
../bin/example-server [PNG FILE PATH (this is optional)]

Build tests

mkdir build && cd build
cmake ../ -DBUILD_XVIZ_TESTS=ON
make xviz-test -j12
../bin/xviz-test

Install

mkdir build && cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/path/you/want/to/install/
make example example-server xviz-test -j12
make install

Related Work

  1. uber xviz
  2. cmpute xviz.py

Third-Party Libraries

  1. zaphoyd websocketpp
  2. chriskohlhoff asio
  3. mcrodrigues macro-logger
  4. nlohmann json
  5. jessey-git fx-gltf
  6. ReneNyffenegger cpp-base64

About

C++ Implementation of XVIZ Protocol

License:MIT License


Languages

Language:C++ 97.2%Language:CMake 2.5%Language:C 0.3%