xviz icon indicating copy to clipboard operation
xviz copied to clipboard

XVIZMetadataBuilder.log_info does not work as intended

Open yongjun21 opened this issue 4 years ago • 5 comments

According to spec https://avs.auto/#/xviz/api-reference/xviz-builder/xviz-metadata-builder?section=methods, XVIZMetadataBuilder.log_info should allow custom field to be added to log_info. However this is constrained by protocol buffer definition as the LogInfo message can only have the start_time and end_time fields

yongjun21 avatar Feb 24 '21 08:02 yongjun21

Referring to the Python library

yongjun21 avatar Feb 25 '21 02:02 yongjun21

Did you solve this issue?

ElenaStrashko avatar Jun 11 '21 10:06 ElenaStrashko

Using a hack. Add a dummy stream like /log_info/xyz. Place the value in the source field which accepts free text

yongjun21 avatar Jun 11 '21 10:06 yongjun21

Ok, thank you)

ElenaStrashko avatar Jun 11 '21 10:06 ElenaStrashko

Sorry, this only works when using the JSON and the docs are not clear about that. I will keep this open until I update the docs.

twojtasz avatar Apr 25 '22 06:04 twojtasz