RDKX3派的tros版本为humble,运行yolov的节点时,指令为
source /opt/tros/setup.bash # 配置tros.b环境
export CAM_TYPE=mipi # 配置MIPI摄像头
# 启动launch文件 ros2 launch dnn_node_example dnn_node_example.launch.py dnn_example_config_file:=config/yolov2workconfig.json dnn_example_image_width:=480 dnn_example_image_height:=272
报错如下:[example-3] [WARN] [1743596736.651802673] [dnn_example_node]: Recved img encoding: nv12, h: 240, w: 320, step: 320, index: 37, stamp: 1743596735_768866000, data size: 115200, comm delay [882.9153]ms
[example-3] /opt/tros/humble/lib/dnn_node_example/example: symbol lookup error: /opt/tros/humble/lib/aarch64-linux-gnu/libdnn_node_example_component.so: undefined symbol: _ZN8hobot_cv14hobotcv_resizeERKN2cv3MatEiiRS1_ii
[ERROR] [example-3]: process has died [pid 13950, exit code 127, cmd '/opt/tros/humble/lib/dnn_node_example/example --ros-args --log-level warn --ros-args --params-file /tmp/launch_params_ffcgygnt --params-file /tmp/launch_params_1z3o48xa --params-file /tmp/launch_params_35xzr_wz --params-file /tmp/launch_params_m5nloh6f --params-file /tmp/launch_params_hl3g1bht'].
提示在画面中找不到待识别的物体:[websocket]: Websocket did not receive AI data! Please check whether the AI data publisher still exists by 'ros2 topic info hobot_dnn_detection'!
更换自己的模型,将物体移到摄像头面前后依然相同报错