@xviz/server

1.0.13 • Public • Published

@xviz/server Overview

A server to handle hosting XVIZ data from multiple data sources.

The server operates by defining a middleware stack and options will control how that stack is structured and how requests and data are processed through the stack.

The server tries to preserve a no-touch data flow, but does allow conversions and mutation of data.

Examples

For a list of all options type ./bin/babel-xvizserver --help.

KITTI data

This example shows how to server the KITTI data once converted.

$ cd modules/server
$ ./bin/babel-xvizserver -d ../../data/generated/kitti/2011_09_26/2011_09_26_drive_0005_sync

Test Scenarios

The default server supports test XVIZ scenarios that can be accessed at the following URL's:

  • /scenario-circle
  • /scenario-straight

Try this example with a local server running.

The scenarios support a few query parameters you can play with:

common options

  • hz (Number) - number of frames per second
  • duration (Number) - length of the scenario generated in seconds
  • speed (Number) - meters per second of the vehicle
  • live (Boolean) - Treat the data stream as 'live' which means no start/end time in the metadata

scenario-circle

  • radius (Number) - size of the circle the vehicle traverse in meters

Readme

Keywords

none

Package Sidebar

Install

npm i @xviz/server

Weekly Downloads

116

Version

1.0.13

License

Apache-2.0

Unpacked Size

598 kB

Total Files

118

Last publish

Collaborators

  • alextorok
  • gadipudib
  • jlisee
  • marionleborgne
  • pessimistress
  • streetscape.gl-twojtasz
  • twojtasz
  • twojtasz-aurora