针对ubuntu20.04和ros noetic:
错误截图如下:
解决途径:
ModuleNotFoundError: No module named 'SerialClient'
输入如下:
sudo gedit /opt/ros/noetic/lib/python3/dist-packages/rosserial_arduino/__init__.py
修改:
from SerialClient import * (修改前)
为
from .SerialClient import * (修改后)
一切正常!