报错提示:
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [rgb_node-l]: process started with ptd [15061]
[rgb_node-1] /home/ahpc/ros2_ws/install/depthat_exampl.es/lib/depthat_examples/rgb_node: synbol lookup error: /
home/ahpc/ros2jkfs/install/depthat_examples/ltb/depthai_examples/rgb_node: undefined synbol: _ZNK15iRage_transp
\ ort9Publisher7publishERKNllsensor_msgs3msg6Image_ISaIvEEE
[ERROR] [rgb_node-1]: process has died [ptd 15061, exit code 127, cmd '/home/ahpc/ros2 jws/install/depthai_examples/lib/depthai_examples/rgb_node --ros-args --params-file /tmp/launch_parans_clqwgfo7 --params-file /tmp/launch
解决方法:
是装了两个版本的ros吗?确认激活的是foxy版本的环境,source /opt/ros/foxy/setup.bash