Updated: October 28, 2024 |
Viewer sequences are defined as arrays in JSON format.
Specifying viewer sequences is optional. You may leave out specifying this in your configuration file. However, if you're specifying them, you can define one or more viewer sequence. The name of each sequence must follow the format: viewer_sequence_number where number must be 1 for the first viewer sequence you define, and each subsequent sequence you specify, number is incremented by one. For example:
... "viewer_sequence_1": [ { "instance": 1, "visible": false }, { "instance": 4, "visible": false }, { "instance": 2, "view": "ADAS_VIEW_ISOMETRIC", "zoom_factor": 2 }, { "instance": 2, "visible": true }, { "instance": 3, "visible": true, "sleep_ms": 10000 }, { "instance": 2, "view": "ADAS_VIEW_ISOMETRIC", "zoom_factor": 4, "sleep_ms": 6000 }, { "instance": 2, "view": "ADAS_VIEW_BIRDSEYE", "zoom_factor": 2, "sleep_ms": 6000 }, { "instance": 2, "view": "ADAS_VIEW_BIRDSEYE", "zoom_factor": 1, "sleep_ms": 6000 }, { "instance": 2, "visible": false }, { "instance": 3, "visible": false }, { "instance": 1, "view": "ADAS_VIEW_FORWARD", "zoom_factor": 1 }, { "instance": 1, "visible": true }, { "instance": 4, "visible": true, "sleep_ms": 15000 }, { "instance": 1, "view": "ADAS_VIEW_RADAR", "zoom_factor": 1, "sleep_ms": 6000 }, { "instance": 1, "view": "ADAS_VIEW_NAVIGATION", "zoom_factor": 2, "sleep_ms": 6000 } ], ...
There are the properties that you can use to configure each element of the array for a viewer sequence.
... "viewer": [ { "type": "ADAS_VIEWER_CAMERA", ... }, { "type": "ADAS_VIEWER_POINT_CLOUD", ... }, { "type": "ADAS_VIEWER_OVERLAY", ... }, { "type": "ADAS_VIEWER_OVERLAY", ... ], ...then you can specify 1 (the viewer whose instance is ADAS_VIEWER_CAMERA) as the instance property. For example:
... "viewer_sequence_1": [ { "instance": 1, ... }, ...
... { "instance": 3, "sleep_ms": 10000 }, ...
... "visible": true, ...
... "zoom_factor": 1, ...