ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It appears the serial node module hasn't been properly updated to Python 3 which Ros Noetic uses, The init file for the rosserial_python package needs to be changed so that it can find SerialClient.py.

The location of the init file that i needed to change.

<your workspace="">/src/rosserial/rosserial_python/src/rosserial_python/__init__.py

The issue will be solved by adding a dot in front of SerialClient

from SerialClient import *

from .SerialClient import *

It might be that SerialClient.py will have issues importing some libraries as for they where still configured for python 2. I needed to change the import for Stringio and Queue as well

They are working on updating rosserial so that it will support python 3: https://github.com/ros-drivers/rosserial/pull/480