Rosserial - unpack requires a string argument of length 2
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.
Asked by pascalmater on 2014-05-05 12:43:52 UTC
Answers
Found a solution: In the 'Arduino IDE Setup' tutorial were it states 'git clone https://github.com/ros-drivers/rosserial.git' 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.
Asked by pascalmater on 2014-05-07 16:30:19 UTC
Comments