rosserial_arduino: Serial port read failure
I am using Arduino Mega with maxbotix (three in number) sensors. I get the following error: Serial Port read returned short (expected 37 bytes, received 9 instead). [WARN] [WallTime: 1432915999.770362] Serial Port read failure
- I don't think it is an issue of what sensors type I am using.
- I compiled rosserial from source and also tried using the binary but the error remains.
- I also changed the serial_node.py (though advised against changing the source) but did not help.
- I added the line #include<wire.h> (someone suggested) but no positive results
- I have tried changing the baud rate and currently I am using 9600 but does not help.
Does anyone know what the issue is? Also, why despite the warning am I still able to get the data from ROS publisher?