ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
On the ros side, your approach to reading the serial port is not good. All the data being sent is being buffered, so currently you are reading the oldest line from that buffer. If the arduino is sending lines faster than 10Hz, the read side will never catch up and your readings will be increasing out of date.