aurora-opensource / xviz

A protocol for real-time transfer and visualization of autonomy data
http://xviz.io
Apache License 2.0
1.02k stars 230 forks source link

Updates XVIZ 2 to include multiple variables per stream #143

Open jlisee opened 6 years ago

jlisee commented 6 years ago

We are able to have multiple primitives on the same stream each associated with a different object, we want to be able to do that for variables as well.

We might want to provide a metadata setting in the future to specify whether a stream can have a single or multiple values so the declarative UI will have an easier time of it.

We are going from:

"variables": {
    "/constraints": {
          "values": [1001.3, 1002.3, 1003.3]
    }
}

To:

"variables": {
    "/constraints": {
      "variables": [
        {
          "values": [1001.3, 1002.3, 1003.3]
          "object_id": "1"
        },
        {
          "values": [1001.3, 1002.3, 1003.3]
          "object_id": "2"
        }
      ]
    }
jlisee commented 5 years ago

@Pessimistress do we have streetscape.gl support for this?