ros-drivers / rosserial

A ROS client library for small, embedded devices, such as Arduino. See: http://wiki.ros.org/rosserial
508 stars 527 forks source link

ImportError: No module named msg #599

Open Kieran912 opened 1 year ago

Kieran912 commented 1 year ago

Hello, I am using the Nvidia Jetson Nano board. It is based on Ubuntu 18.04. I am using ROS melodic on it. I run this code: rosrun rosserial_python serial_node.py /dev/ttyACM0. However, I get this error.

Traceback (most recent call last): File "/home/abcd/catkin_ws/src/rosserial/rosserial_python/nodes/serial_node.py", line 39, in from rosserial_python import SerialClient, RosSerialServer File "/home/abcd/catkin_ws/devel/lib/python2.7/dist-packages/rosserial_python/init.py", line 34, in exec(__fh.read()) File "", line 1, in File "/home/abcd/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 56, in from rosserial_msgs.msg import TopicInfo, Log ImportError: No module named msg

Please let me know if there's anything I could do. Thanks guys.