SUSTechPOINTS icon indicating copy to clipboard operation
SUSTechPOINTS copied to clipboard

如何加入自定义的标签 How to add a custom label tag?

Open planjio opened this issue 1 year ago • 4 comments

请问如何加入自定义的label标签呢?我不需要car等等这些自动驾驶的标签,想替换成自己想要的标签名称。 在 public/js/obj_cfg.js 文件中更改了以后再浏览器中还是不显示自己的标签 How to add a custom label tag? I don't need autopilot tags like car and so on. I want to replace them with the tag names I want. After changing it in the public/js/obj_cfg.js file, it still doesn't show its own tag in the browser.

planjio avatar Apr 26 '23 03:04 planjio

问题已经解决,在程序中的每个文件里搜索Bus,然后再有Bus的地方前面加上自己的标签名,然后一定一定一定要重启电脑才能生效。

planjio avatar Apr 26 '23 06:04 planjio

The problem has been solved, search for Bus in each file in the program, and then add your own label name in front of the place where there is Bus, and then you must restart the computer to take effect.

planjio avatar Apr 26 '23 06:04 planjio

搜索./SUSTechPOINTS下所有包含"Bus"文件后,修改文件并在其中添加新标签"Signal": check_labels.py; obj_cfg.js和 visualize-camera.py Screenshot from 2023-07-24 15-44-11 Screenshot from 2023-07-24 15-44-25 Screenshot from 2023-07-24 15-44-31 Screenshot from 2023-07-24 15-44-47 保存并重启电脑后,重新标注后依然在选项中找不到新添加的"Signal"标签,请问还需修改哪些关联文件?

xuf3302964 avatar Jul 24 '23 07:07 xuf3302964

清空浏览器缓存试试,不需要重启

naurril avatar Jul 25 '23 09:07 naurril