ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
if __name__=='__main__': rospy.init_node('robot_news_radio_transmitter', String, queue_size=10)
queue_size
is not an argument of rospy.init_node(..)
, but of rospy.Publisher(..)
.
2 | No.2 Revision |
if __name__=='__main__': rospy.init_node('robot_news_radio_transmitter', String, queue_size=10)
queue_size
is not an argument of rospy.init_node(..)
, but of rospy.Publisher(..)
.
See the documentation:
__init__(self, name, data_class, subscriber_listener=None, tcp_nodelay=False, latch=False, headers=None, queue_size=None) Constructor