error in rosrun rosserial_python [closed]
hi,
i need your help, when i run rosrun rosserial_python serial_node.py /dev/ttyACM0
, i receive this error:
[INFO] [WallTime: 1461625668.565469] ROS Serial Python Node
[INFO] [WallTime: 1461625668.696318] Connecting to /dev/ttyACM0 at 57600 baud
Traceback (most recent call last):
File "/home/pi/catkin_ws/src/rosserial/rosserial_python/nodes/serial_node.py", line 80, in <module>
client = SerialClient(port_name, baud)
File "/home/pi/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 382, in __init__
self.requestTopics()
File "/home/pi/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 389, in requestTopics
self.port.flushInput()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 500, in flushInput
termios.tcflush(self.fd, TERMIOS.TCIFLUSH)
termios.error: (5, 'Input/output error')
what can i do please?