rosrun rosserial_python serial_node.py /dev/ttyACM0 error occured TypeError: __init__() got an unexpected keyword argument 'queue_size'
Hi, I'm following rosserial_arduino/Tutorials/Hello World and when runing rosserial_python
serial_node.py
using rosrun rosserial_python serial_node.py /dev/ttyACM0
then got problems
ling@ubuntu12:~/catkin_ws$ rosrun rosserial_python serial_node.py /dev/ttyACM0
[INFO] [WallTime: 1447168684.001756] ROS Serial Python Node
[INFO] [WallTime: 1447168684.011288] Connecting to /dev/ttyACM0 at 57600 baud
Traceback (most recent call last):
File "/home/ling/catkin_ws/src/rosserial/rosserial_python/nodes/serial_node.py", line 80, in <module>
client = SerialClient(port_name, baud)
File "/home/ling/catkin_ws/src/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 333, in __init__
self.pub_diagnostics = rospy.Publisher('/diagnostics', diagnostic_msgs.msg.DiagnosticArray, queue_size=10)
TypeError: __init__() got an unexpected keyword argument 'queue_size'
I tried to ignored the error and start the next step
ling@ubuntu12:~/catkin_ws$ rostopic echo chatter
It wouldn't work as I thought:
WARNING: topic [/chatter] does not appear to be published yet
I'm using groovy on ubuntu12 but my arduino IDE is installed on Win7. Does it matter?
Can someone help? Thanks advance.