Error in rosserial_arduino/Tutorials/Hello World [closed]

asked 2014-07-07 07:31:42 -0500

Eman gravatar image

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

  • What is the cause of this error?? and How can I solve it??

    • My Distribution is Fuerte.
    • I use Ubuntu 12.04LTS.

Any help,please?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-11-02 01:52:09.547518

Comments

hello, did you manage to solve the problem?

Silimon Sorin gravatar image Silimon Sorin  ( 2015-04-20 10:32:43 -0500 )edit