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

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

Regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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 https://github.com/ros-drivers/rosser... add '-b groovy-devel'. So that line should read: 'git clone https://github.com/ros-drivers/rosserial -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

Question Tools

Stats

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

Seen: 653 times

Last updated: May 07 '14