rosserial_python problem [closed]

asked 2016-05-03 07:55:06 -0500

Emilien gravatar image

hi, i have an error when i run this command:

pi@raspberrypi ~/catkin_ws $ rosrun rosserial_python /dev/ttyACM0[INFO] [WallTime: 1462279527.419855] ROS Serial Python Node
[INFO] [WallTime: 1462279527.608365] Connecting to /dev/ttyACM0 at 57600 baud
Traceback (most recent call last):
  File "/home/pi/catkin_ws/src/rosserial/rosserial_python/nodes/", line 80, in <module>
    client = SerialClient(port_name, baud)
  File "/home/pi/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/", line 382, in __init__
  File "/home/pi/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/", line 389, in requestTopics
  File "/usr/lib/python2.7/dist-packages/serial/", line 500, in flushInput
    termios.tcflush(self.fd, TERMIOS.TCIFLUSH)
termios.error: (5, 'Input/output error')

could you tell me what 's ths problem please? when i hsed just ultrasound sensor, all is ok but when i add also servo controller i receive this error. i use this configuration on CMake:

cmake_minimum_required(VERSION 2.8.3)


# Remove this if using an Arduino without native USB (eg, other than Leonardo)

  SRCS chatter.cpp ${ROS_LIB_DIR}/time.cpp
  BOARD uno
  PORT /dev/ttyACM0
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by ahendrix
close date 2016-05-03 14:28:35.741980


ahendrix gravatar image ahendrix  ( 2016-05-03 14:28:29 -0500 )edit

i duplicate it because i dont receive answer!!! close the old one

Emilien gravatar image Emilien  ( 2016-05-03 15:47:10 -0500 )edit

The old question has an ongoing discussion. No need to ask the same question again if someone is already trying to help you.

ahendrix gravatar image ahendrix  ( 2016-05-03 16:04:06 -0500 )edit