Ask Your Question

Rosserial - unpack requires a string argument of length 2

asked 2014-05-05 12:43:52 -0500

pascalmater gravatar image

Hi There, After following the 'Arduino IDE Setup' tutorial (Installing from Source onto the ROS workstation in Groovy) and the 'Hello world' example the following messages were generated:

[INFO] [WallTime: 1399293681.961019] ROS Serial Python Node [INFO] [WallTime: 1399293681.972199] Connecting to /dev/ttyUSB0 at 57600 baud [ERROR] [WallTime: 1399293684.083353] Creation of publisher failed: unpack requires a string argument of length 2 [ERROR] [WallTime: 1399293699.088810] Lost sync with device, restarting...

Is there a mismatch (incompatible) of software versions? I am using Ubuntu 12.04 LTS, rosversion roscpp 1.9.50 and a Arduino Uno


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-07 16:30:19 -0500

pascalmater gravatar image

Found a solution: In the 'Arduino IDE Setup' tutorial were it states 'git clone add '-b groovy-devel'. So that line should read: 'git clone -b groovy-devel' This will check out the code from the goovy-delep branch. The rest stays the same.

Maybe, this is worthwhile adding to this tutorial for us less experienced.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-05-05 12:43:52 -0500

Seen: 512 times

Last updated: May 07 '14