他的回复:
回复:*LJ_2021 发表于 2022-6-1 16:34 camera的可视化 1,配置好camera。在mdc上能看到camera数据,可以执行rtfevent hz --dds-network=192.168.1.没有看到topic nameroot@mdchost:/home/mdc# rtfevent list | grep -i cameraroot@mdchost:/home/mdc# 下面是JSON配置1. 配置userConf.json参数 -- 根据/opt/platform/mdc_platform/manual_service/camera_tool/conf/demo/目录下对应Camera型号的JSON文件进行更改 -- userConf_hongjing390.json root@mdchost:/opt/platform/mdc_platform/manual_service/camera_tool/conf# vim userConf.json root@mdchost:/opt/platform/mdc_platform/manual_service/camera_tool/conf# cat userConf.json [ { "slotId": "A1", "cameraModule": "hongjing_imx390", "fov": 56, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_0", "instanceId": 11 }, { "slotId": "A2", "cameraModule": "hongjing_imx390", "fov": 56, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_1", "instanceId": 21 }, { "slotId": "A3", "cameraModule": "hongjing_imx390", "fov": 28, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_2", "instanceId": 31 }, { "slotId": "A4", "cameraModule": "hongjing_imx390", "fov": 95, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_3", "instanceId": 41 }, { "slotId": "B1", "cameraModule": "hongjing_imx390", "fov": 28, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_0", "instanceId": 12 }, { "slotId": "B2", "cameraModule": "hongjing_imx390", "fov": 95, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_1", "instanceId": 22 }, { "slotId": "B3", "cameraModule": "hongjing_imx390", "fov": 95, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_2", "instanceId": 32 }, { "slotId": "B4", "cameraModule": "hongjing_imx390", "fov": 95, "fps": 30, "res": {"width": 1920, "height": 1080}, "dstNode": "MINI_3", "instanceId": 42 }]2. 同步配置信息至MDCroot@mdchost:/opt/platform/mdc_platform/manual_service/camera_tool/bin# ./camera_tool Parse successCheck successMerge successSave success