48 Commits

Author SHA1 Message Date
Xiaoji Chen
5e59c2e9bd
[builder] Add links from documentation to playground (#423) 2019-04-05 18:53:47 -07:00
Joseph Lisee
9c82d8cac9
Optionally cap the number of worker messages that can queue (#420)
When processing data in real time if you fall behind the queue can
grow unbounded, so you need the ability to cap it. You also want to
know if you have dropped data so that is now reported as well.
2019-04-03 10:43:14 -04:00
Xiaoji Chen
71d2adba66
improve binary support (#369) 2019-02-27 16:11:40 -08:00
Marius Gräfe
7419314fcc Updated example in xviz-builder.md (#354)
* Updated example in xviz-builder.md

Example now works out of the box with npm packages.
2019-02-27 09:10:26 +01:00
Marion Le Borgne
7717a860ec Allow missing primary pose (#348) 2019-02-26 17:04:18 -08:00
Xiaoji Chen
6d058e32cb Pre-release preparation (#287) 2019-01-17 19:16:44 -08:00
Xiaoji Chen
0a4f659683 Clean up XVIZObject API (#281) 2019-01-11 09:23:39 -08:00
Xiaoji Chen
d36ff1be6a Clean up XVIZWriter API (#279) 2019-01-10 20:09:33 -08:00
Xiaoji Chen
cd86e8f363 Update parser docs (#280) 2019-01-10 13:00:20 -08:00
Timothy Wojtaszek
c23bffe73a XVIZ getting started docs (#239)
Expand documentation for the KITTI converter covering the process in more detail.
2019-01-09 09:51:18 -08:00
Xiaoji Chen
76cbdf7b12 merge xviz config and xviz settings (#268) 2019-01-04 13:00:42 -08:00
Xiaoji Chen
552709e967 switch default timestamp format to seconds (#267) 2019-01-04 11:59:14 -08:00
Xiaoji Chen
da2f86c1f4 Deprecate OBJECT_STREAM config (#265) 2019-01-04 11:19:48 -08:00
Timothy Wojtaszek
123163729e Add license metadata to KITTI converter (#262) 2019-01-04 11:01:50 -08:00
Xintong Xia
6140a29212 update kitti example run command (#243) 2018-12-13 20:03:13 +01:00
Xintong Xia
e9d4a12f0d consistent documentation format (#238) 2018-12-10 11:10:25 +01:00
Timothy Wojtaszek
1f2a422494 Add XVIZBuilder.futureInstance(streamId, timestamp) (#200)
- create XVIZFutureInstanceBuilder to isolate effects of timestamp from XVIZPrimitiveBuilder
- make sure if timestamp < EPSILON of an existing timestamp we do not insert a new one
- ensure primitives are merged into the existing timestamp primitives array
- add test cases for the above
- change getPoseOffset => getGeospatialVector as the arguments are not Poses
- add test cases and comments for getGeospatialVector
- update docs
2018-11-27 16:12:07 -08:00
Xiaoji Chen
ba95e6920b Update Builder Docs (#214) 2018-11-26 16:33:25 -08:00
Joseph Lisee
a925668f95 Declarative UI select builder (#209)
Expand the UI builder API to create select components, this should in
make it easier to test and demonstrate in streetscape.gl
2018-11-20 15:56:27 -05:00
Joseph Lisee
67dda3fb81 Uniformly name Plot's property "dependentVariables" (#210)
The declarative UI plot component has a single "independentVariable" and
multiple "dependentVariables".  In many places we forgot the "s".
That is not fixed with both the spec and the builder updated and tested.
2018-11-20 15:49:45 -05:00
Joseph Lisee
2c815ac57c Lint all markdown files with prettier (#208)
We are already doing this for the protocol docs, this updates all the
rest so the format can stay consistent with multiple editors.
2018-11-20 15:26:50 -05:00
Xiaoji Chen
f692532012 API Audit (#195)
* rename Xviz* to XVIZ*

* Clean up XVIZ Settings (#197)

- Replace `TimeResolution` with `PLAYBACK_FRAME_RATE`
- Add `TIMESTAMP_FORMAT` config
- Remove `PRIMITIVE_SETTINGS`
2018-11-13 10:20:57 -08:00
Xiaoji Chen
5ae164e122 Add table/treetable support to builder and parser (#192) 2018-11-09 10:36:18 -08:00
Xiaoji Chen
81ae1c4795 Clean up Declarative UI documentation (#185) 2018-11-07 11:28:11 -08:00
Xiaoji Chen
b243c21fbc Add XVIZMetadataBuilder api for declarative UI (#182) 2018-11-04 19:14:26 -08:00
Timothy Wojtaszek
d98310dead Update parsed XVIZ flow to account for schema changes (#170)
- update doc examples to match new 'base' primitive properties
- add util func to access primitives thur their top-level 'type'
  property
- parsed XVIZ needs context on object 'type', so while it is removed
  from objects parsing it will add it to the objects
2018-10-26 17:01:57 -07:00
Timothy Wojtaszek
179e2721dc Merge branch 'beta.1' into master 2018-10-25 16:36:08 -04:00
Joseph Lisee
b96b3bcdab XVIZValidator, check JSON correctness (#150)
This provides a simple API that validates provided JSON objects are
the types you would expect.  It has a generic API that lets you check
any subobject of the spec and a set of high level methods to validate
the types that the builder objects are most concerned about.
2018-10-18 16:04:41 -04:00
Tim Wojtaszek
2df442587d Merge branch 'master' into beta.1-tpw 2018-10-18 00:15:09 -07:00
Xiaoji Chen
7cca3eb048 Simplify xviz config (#148)
- `DEFAULT_METADATA`: removed (not used)
- `filterStream`: replaced with `STREAM_BLACKLIST`
- `postProcessMetadata`: removed (can be applied to parsed result)
- `postProcessTimeslice`: removed (can be applied to parsed result)
- `postProcessVehiclePose`: removed (can be applied to parsed result)
- `postProcessFrame`: moved to options of `BaseSynchronizer`
- `getTrackedObjectPosition`: removed (can be done in postProcessFrame)
- `observeObjects`: removed (not used)
2018-10-17 14:35:54 -07:00
Xintong Xia
7ac8f0c9db add transform in xviz metadata builder (#124) 2018-10-16 10:57:40 +02:00
Xintong Xia
8c89475b85 add pose-builder (#120)
Base branch
https://github.com/uber/xviz/pull/117


Issue details
https://github.com/uber/xviz/issues/113
https://github.com/uber/xviz/issues/112
https://github.com/uber/xviz/issues/26
2018-10-16 09:55:37 +02:00
Timothy Wojtaszek
f86dd88849 XVIZ 2.0 style properties schema update (#138)
- Finalize the style specification and update json schema's to match
- Move styles props to snake_case
- Separate stream_styles from style_classes, details in the docs
- Updated documentation to describe style levels, order of precedence, and added tables to condense information.
- Replaces the previous styles as follows:
  - color -> fill_color and stroke_color
  - thickness_m -> stroke_width
  - font_scale -> size
2018-10-14 20:52:42 -07:00
Xintong Xia
f52b15e550 refactor builders - separate out builders of different types
remove debugging code

rebase

fix and add more tests

Only initialize different types of builders in xviz-builder constructor

Update document

resolve comments
2018-10-09 13:58:27 +02:00
Xintong Xia
5b2cfda357 add trajectory generating helpers (#98) 2018-10-05 08:51:46 +02:00
Xintong Xia
a5bfd637d3 path like stream name (#118)
* path like stream name

* remove debugging code

* update doc

* validate streamId pattern in xviz-builder

* fix and prettier
2018-10-04 09:20:57 +02:00
Xintong Xia
92a7fec3c7 Separate out different ui builders (#96) 2018-10-01 11:10:19 +02:00
Xintong Xia
5ba4655d51 support inline styles (#90)
prettier
2018-09-27 15:39:40 +02:00
Xintong Xia
6c7c5cfdaa add declare ui builder (#88) 2018-09-25 13:33:11 +02:00
Xintong Xia
42936dec05 complete xviz builder documentation (#87) 2018-09-20 11:44:52 +02:00
Xiaoji Chen
e5c777940d Circle and text primitives support (#39)
- Fix validation for circle primitives
- Fix category of text primitives
- Support text styling properties: `size`, `angle`, `textAnchor`, `alignmentBaseline`
2018-08-30 16:45:58 -07:00
Xintong Xia
5e6851a157 Use object to pass parameters when constructing the builder (#20)
* use object when initializing the builder
* fix builder metadata
* add readme
2018-08-28 06:04:23 -07:00
Xiaoji Chen
2cbecbaa37 remove NON_RENDERING_STREAMS and VIDEO_NAME_PATTERN (#15) 2018-08-21 13:15:29 -07:00
Xiaoji Chen
4c0f8193f6 Fix ETL use case (#13)
revert `postProcessVehiclePose` change in https://github.com/uber/xviz/pull/12
2018-08-20 20:00:04 -07:00
Xiaoji Chen
ba8d78d4f0 Clean up xviz configs (#12)
- Remove configs that are no longer used
- Move transform matrix calculation from streetscape.gl to `postProcessVehiclePose`
- Move `postProcessVehiclePose` from parser to synchronizer (work around the cross-thread serialization issue)
- Update documentation
2018-08-20 10:15:21 -07:00
Xiaoji Chen
1f0d951a67 Support array of class definitions in XvizStyleParser (#10) 2018-08-17 11:27:58 -07:00
Xiaoji Chen
1c3df99cc6 split writers and loaders (#8) 2018-08-16 09:23:42 -07:00
Xiaoji Chen
5899606b24 initial commit 2018-08-06 18:33:20 -07:00