mirror of
https://github.com/aurora-opensource/xviz.git
synced 2026-02-01 14:36:33 +00:00
1.2 KiB
1.2 KiB
XVIZ Configuration
setXVIZConfig(config)
Constants:
STREAM_BLACKLIST(Array) - Names of the streams to block. Default empty.TIME_WINDOW(Number) - The maximum time difference allowed for a state update to be associated with a given timestamp. Increase this number to ensure that we cover a sufficient time window for any available data. Default400.PLAYBACK_FRAME_RATE(Number) - The number of frames to generate per second. Default10.ALLOW_MISSING_PRIMARY_POSE(Boolean) - Whether to render logs where there is no/vehicle_posestream. Iftrue,VEHICLE_RELATIVEcoordinates are treated asIDENTITY. Using this may break certain functionalities in theLogViewerandPlaybackControl. Defaultfalse.DYNAMIC_STREAM_METADATA(Boolean) - Whether to automatically create metadata from streams that are not present inmetadata.streams
Parser hooks:
preProcessPrimitive(Function) - Pre process a primitive. This can be used to change the type of a primitive (e.g. frompointtotext) and/or modify their properties.
getXVIZConfig(config)
Parameters:
config(Object)
Returns: current XVIZ config (Object).