用Python3 调用cv_bridge

bug

dynamic module does not define module export function (PyInit_cv_bridge_boost)

原因是在python3中调用了cv_bridge,而ros默认的cv_bridge是python2的

解决(用python3编译)

参考 https://stackoverflow.com/questions/49221565/unable-to-use-cv-bridge-with-ros-kinetic-and-python3?rq=1

# `python-catkin-tools` is needed for catkin tool
# `python3-dev` and `python3-catkin-pkg-modules` is needed to bu

你可能感兴趣的:(ROS,计算机视觉)