ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

When you run rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB1 you should get something like so:

rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB1 [INFO] [WallTime: 1420480219.434646] ROS Serial Python Node [INFO] [WallTime: 1420480219.437731] Connecting to /dev/ttyUSB1 at 57600 baud /opt/ros/indigo/lib/python2.7/dist-packages/rosserial_python/SerialClient.py:336: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information. self.pub_diagnostics = rospy.Publisher('/diagnostics', diagnostic_msgs.msg.DiagnosticArray) [ERROR] [WallTime: 1420480219.439001] Error opening serial: could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

When you run rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB1 you should get something like so:

rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB1 [INFO] [WallTime: 1420480219.434646] ROS Serial Python Node [INFO] [WallTime: 1420480219.437731] Connecting to /dev/ttyUSB1 at 57600 baud /opt/ros/indigo/lib/python2.7/dist-packages/rosserial_python/SerialClient.py:336: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information. self.pub_diagnostics = rospy.Publisher('/diagnostics', diagnostic_msgs.msg.DiagnosticArray) [ERROR] [WallTime: 1420480219.439001] Error opening serial: could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

click to hide/show revision 3
No.3 Revision

When you run rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB1 you should get something like so:

 $ rosrun rosserial_python serial_node.py _port:=/dev/ttyUSB1
[INFO] [WallTime: 1420480219.434646] ROS Serial Python Node
[INFO] [WallTime: 1420480219.437731] Connecting to /dev/ttyUSB1 at 57600 baud
/opt/ros/indigo/lib/python2.7/dist-packages/rosserial_python/SerialClient.py:336: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
  self.pub_diagnostics = rospy.Publisher('/diagnostics', diagnostic_msgs.msg.DiagnosticArray)
[ERROR] [WallTime: 1420480219.439001] Error opening serial: could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'