Robotics StackExchange | Archived questions

Error in rosserial_arduino/Tutorials/Hello World

Hi,

rosrun rosserial_python serial_node.py _port:=/dev/ttyACM0

I had the following error

>      [INFO] [WallTime: 1404734844.482616] ROS Serial Python Node
>     [INFO] [WallTime: 1404734844.487876] Connected on /dev/ttyACM0 at 57600 baud
>     [ERROR] [WallTime: 1404734859.491120] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734874.491987] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734889.496222] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734904.497749] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734919.501464] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734934.502371] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734949.513274] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734964.517898] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734979.518758] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404734994.523103] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404735009.531196] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404735024.538944] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404735039.549605] Lost sync with device, restarting...
>     [ERROR] [WallTime: 1404735054.554741] Lost sync with device, restarting...
>     Traceback (most recent call last):
>       File "/opt/ros/fuerte/stacks/rosserial/rosserial_python/nodes/serial_node.py",
> line 58, in <module>
>         client.run()
>       File "/opt/ros/fuerte/stacks/rosserial/rosserial_python/src/rosserial_python/SerialClient.py",
> line 193, in run
>         flag[0]  = self.port.read(1)
>       File "/usr/lib/python2.7/dist-packages/serial/serialposix.py",
> line 449, in read
>         buf = os.read(self.fd, size-len(read))
>     OSError: [Errno 11] Resource temporarily unavailable

image description

Any help,please?

Asked by Eman on 2014-07-07 07:31:42 UTC

Comments

hello, did you manage to solve the problem?

Asked by Silimon Sorin on 2015-04-20 10:32:43 UTC

Answers