ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Rosserial with Arduino ERROR

asked 2013-07-19 17:13:29 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello all,

I want to connect my arduino to ROS and I follow the instructions on this page: and I have an error messages when I run this command

rosrun rosserial_python /dev/ttyACM0

I got these messages:

[INFO] [WallTime: 1374289833.138161] ROS Serial Python Node
[INFO] [WallTime: 1374289833.138698] Connecting to /dev/ttyACM0 at 57600 baud
[ERROR] [WallTime: 1374289850.253387] Lost sync with device, restarting...
[INFO] [WallTime: 1374289850.582506] Failed Packet Flags 
[ERROR] [WallTime: 1374289865.264259] Lost sync with device, restarting...
[INFO] [WallTime: 1374289865.567682] Failed Packet Flags 
[ERROR] [WallTime: 1374289880.273930] Lost sync with device, restarting...
[INFO] [WallTime: 1374289880.546574] Failed Packet Flags 
[ERROR] [WallTime: 1374289895.278249] Lost sync with device, restarting...
[INFO] [WallTime: 1374289895.529322] Failed Packet Flags 
[ERROR] [WallTime: 1374289910.280912] Lost sync with device, restarting...
[INFO] [WallTime: 1374289910.512166] Failed Packet Flags
edit retag flag offensive close merge delete


I'm having the same problem - haven't been able to find a solution for a while

asriraman93 gravatar image asriraman93  ( 2013-07-20 06:25:17 -0500 )edit

You need to `source` the `setup.bash` in the ros workspace where you installed rosserrial package (I installed rosserial from source in my own workspace, as explained [here](

Loan gravatar image Loan  ( 2014-01-04 12:33:46 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-07-20 08:29:13 -0500

asriraman93 gravatar image

I've had a problem with this and just got it to work using this post:

edit flag offensive delete link more

answered 2013-12-07 00:44:30 -0500

chocjulio33 gravatar image

Wow I found another solution, the one provided did not work for me! After setting thins up on three different pieces of hardware i finally found out it was a file that needed copied from src to main ros location here is the command i used please replace the username <username> with yours. Also you must complete the groovy rosserial setup!

sudo cp -i /home/<username>/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/ /opt/ros/groovy/lib/python2.7/dist-packages/rosserial_python/

goodluck so for this is not working great but it works yeah... no more

edit flag offensive delete link more

Question Tools



Asked: 2013-07-19 17:13:29 -0500

Seen: 2,811 times

Last updated: Dec 07 '13