When I try to use the 'Hello World' program with rosserial and arduino after restarting my pc. The code works fine, however once i stop the serial communication and try to rerun the same code. I get the following error.
[INFO] [WallTime: 1399983521.604184] ROS Serial Python Node
[INFO] [WallTime: 1399983521.617853] Connecting to /dev/ttyACM0 at 57600 baud
[ERROR] [WallTime: 1399983538.726124] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
I am facing the same issue using both arduino UNO and arduino Nano. I have tried increasing the buffer size in ros.h, setting the baud rate in arduino code with Serial.begin(57600) and all the solutions mentioned in link. What else can i do to fix the problem ?
Here is a link to the library code I am using : http://wiki.ros.org/rosserial_arduino/Tutorials/Hello%20World