I’ve got a problem to communicate with my Rosbot, after investigation it seems that there is a problem with ros-core2-client.
I’ve try this only command:
and the response is:
Traceback (most recent call last):
File “/opt/husarion/tools/rpi-linux/ros-core2-client”, line 39, in
from rosserial_python import SerialClient, RosSerialServer
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/init.py”, line 1, in
from SerialClient import *
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosserial_python/SerialClient.py”, line 51, in
ImportError: No module named msg
Is there someone who know what happen ?
Can I ask you to add new GPG key (using this manual) and execute these commands in terminal:
sudo apt update
sudo apt dist-upgrade
It should resolve your problem.
I tried your commands but the problem still intact.
I did a lot of tests, but I could not reproduce your problem and I do not know how to fix it. The fastest way to resolve your problem will be flash SD card with new image. If we don’t facing a hardware issue it will work. Could you flash your card following tutorial from here?
Please let me know the results.
Sorry for the very long delay, I forget to answer.
I flashed another SD card and the Rosbot works fine. I don’t know what happened.