rosserial issu
hi i am trying to build map and every thing work more than great but after about 2 min when i launch my full launch and start building map this error occur i hope any one can help me:
Traceback (most recent call last):
File "/home/owner/catkin_ws/src/rosserial/rosserial_python/nodes/serial_node.py", line 82, in <module>
client.run()
File "/home/owner/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 492, in run
self.requestTopics()
File "/home/owner/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 389, in requestTopics
self.port.flushInput()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 500, in flushInput
termios.tcflush(self.fd, TERMIOS.TCIFLUSH)
termios.error: (5, 'Input/output error')
[arduino_serial_node-28] process has died [pid 15529, exit code 1, cmd /home/owner/catkin_ws/src/rosserial/rosserial_python/nodes/serial_node.py __name:=arduino_serial_node __log:=/home/owner/.ros/log/568d6e0e-4db5-11e6-b8da-08edb9727491/arduino_serial_node-28.log].
log file: /home/owner/.ros/log/568d6e0e-4db5-11e6-b8da-08edb9727491/arduino_serial_node-28*.log
and some time i got this:
[WARN] [WallTime: 1468937973.677735] Serial Port read returned short (expected 313 bytes, received 296 instead).
[WARN] [WallTime: 1468937973.678236] Serial Port read failure:
i hope any one can help . i tried to increase buffer size for publisher 1024 and for subscriber 512 10publisher and 10 subscriber i reduce the bud rate into 57200. publish imu data and encoder , subscribe to cmd motor.
update 1: sorry i forget to say the type of my Arduino it's mega 2650. and when i compile the file it's just use like 11% from the ram. i hope any one can help with this issue.