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

Revision history [back]

click to hide/show revision 1
initial version

Using serial port is not really a ROS question, but I feel your pain so I'll help out.

First: your code runs just fine on 14.04.4 with Jade using just "rosrun serial serial.py". Confirmed serialport output as well as print statements working. No changes required at all. I suspect it runs fine on 16 as well but something wrong with your config. maybe

Second: I created the package with "catkin_create_pkg serial std_msgs rospy roscpp" as described in the tutorials. You didn't mention anything about creating a package so maybe that is where you missed out.

You'll need to explain what you mean by "and didn't work" because that kind of description isn't useful at all.