Arduino to Rasspberry Pi3 rosserial communication issue
Hy @ all,
i’m having big troubles using rosserial and an Arduino UNO that publishes data with a baudrate of 57600. The communication is very unstable and following all types of messages appear:
[INFO] [1492667619.104258]: Protocol version of client is unrecognized, expected Rev 1 (rosserial 0.5+)
[INFO] [1492667619.139384]: wrong checksum for topic id and msg
[INFO] [1492667621.822400]: wrong checksum for topic id and msg
[INFO] [1492667621.834504]: wrong checksum for topic id and msg
[INFO] [1492667624.639665]: wrong checksum for topic id and msg
[ERROR] [1492667638.922764]: Lost sync with device, restarting...
[INFO] [1492667638.949403]: Setup publisher on Acceleration [std_msgs/UInt16]
[INFO] [1492667641.931132]: wrong checksum for msg length, length 2
[INFO] [1492667641.938244]: chk is 125
[INFO] [1492667644.763389]: wrong checksum for topic id and msg
[INFO] [1492667647.562569]: wrong checksum for topic id and msg
[INFO] [1492667647.602618]: wrong checksum for topic id and msg
[INFO] [1492667650.391716]: wrong checksum for topic id and msg
[ERROR] [1492667664.819193]: Lost sync with device, restarting...
[INFO] [1492667664.842178]: Setup publisher on Acceleration [std_msgs/UInt16]
[INFO] [1492667667.752884]: wrong checksum for msg length, length 2
[INFO] [1492667667.755096]: chk is 125
[INFO] [1492667670.646117]: wrong checksum for msg length, length 2
[INFO] [1492667670.647877]: chk is 0
[INFO] [1492667670.652876]: wrong checksum for msg length, length 32253
[INFO] [1492667670.655812]: chk is 0
[INFO] [1492667673.536994]: wrong checksum for topic id and msg
[ERROR] [1492667673.540280]: Mismatched protocol version in packet: lost sync or rosserial_python is from different ros release than the rosserial client
[INFO] [1492667673.541983]: Protocol version of client is unrecognized, expected Rev 1 (rosserial 0.5+)
[INFO] [1492667673.586425]: wrong checksum for topic id and msg
[ERROR] [1492667691.379182]: Lost sync with device, restarting...
[INFO] [1492667691.403129]: Setup publisher on Acceleration [std_msgs/UInt16]
[INFO] [1492667694.464336]: wrong checksum for msg length, length 2
[INFO] [1492667694.466331]: chk is 0
[INFO] [1492667694.488039]: wrong checksum for msg length, length 32253
[INFO] [1492667694.490161]: chk is 0
[INFO] [1492667696.366441]: Send tx stop request
Do you have an idea how to fix this problem?
Thanks for your help!