Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 314

rosserial arduino Serial Port read failure

$
0
0
Hi, I've written a small sensor_msgs::Imu publisher on a arduino micro which works for a short time but crashes after some seconds with following status: [INFO] [WallTime: 1402665675.175567] Note: publish buffer size is 512 bytes [INFO] [WallTime: 1402665675.176102] Setup publisher on /imu_data [sensor_msgs/Imu] [WARN] [WallTime: 1402665687.484972] Serial Port read returned short (expected 1 bytes, received 0 instead). [WARN] [WallTime: 1402665687.485703] Serial Port read failure: [ERROR] [WallTime: 1402665699.934101] Lost sync with device, restarting... I supposed this might be some buffer overflow, which is why I increased the nh.spinOnce() during the loop to no effect. What does the message mean and how can I fix it? Thnx in advance.

Viewing all articles
Browse latest Browse all 314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>