ERROR: Mismatched protocol version in packet
Hey,
I have a turtlebot3 Burger which I want to control remotely with the master running on the remote machine.
The remote machine (my laptop) is running Ubuntu 18.04 and ROS1 melodic.
When I try to run turtlebot3_bringup, after a few seconds I get this in the terminal:
[ERROR] [1601550446.932987]: Mismatched protocol version in packet ('G'): lost sync or rosserial_python is from different ros release than the rosserial client
[ERROR] [1601550447.063614]: Mismatched protocol version in packet ('G'): lost sync or rosserial_python is from different ros release than the rosserial client
[ERROR] [1601550447.191797]: Mismatched protocol version in packet ('G'): lost sync or rosserial_python is from different ros release than the rosserial client
just repeating over and over again.
I thought I had fixed that issue by reinstalling Ubuntu, however after a few days it appeared again. I don't really know why it started happening again and I can't really reproduce the error.
As suggested here, I have already checked that the device address is correct (/dev/ttyACM0).
I got this same error message from a Teensy board that was programmed from a laptop with Ubuntu 18.04 and Melodic. The other code that was running on the robot used Ubuntu 20.04 and Noetic. I thought the versions should be fine but Rosserial worked for only 10 seconds before throwing the error and quitting.