I'm using ROS Kinetic on an ErleBrain3 trying to connect it with an Arduino UNO. I'm trying to follow the rosserial tutorials but after running: rosrun rosserial_python serial_node.py /dev/ttyUSB0 I get the following error:
[INFO] [WallTime: 1539967951.033639] ROS Serial Python Node
[INFO] [WallTime: 1539967951.062010] Connecting to /dev/ttyACM0 at 9600 baud
Traceback (most recent call last):
File "/home/erle/catkin_ws/src/rosserial/rosserial_python/nodes/serial_node.py", line 88, in
client = SerialClient(port_name, baud, fix_pyserial_for_test=fix_pyserial_for_test)
File "/home/erle/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 358, in __init__
self.port = Serial(port, baud, timeout=self.timeout, write_timeout=10)
TypeError: __init__() got an unexpected keyword argument 'write_timeout'
I have the 2.7 python serial package which I think is the recommended for these tutorials. I'm very new to ROS and Linux please give me easy to understand answers. Thank you!
↧