执行py脚本报错 The publisher should be created with an explicit keyword argument 'queue_size'.
错误提示
SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'.
1 个回复
lalala
赞同来自:
self.__vel_publish__ = rospy.Publisher('~cmd_vel', Twist)参考资料//增加队列大小的定义
self.__vel_publish__ = rospy.Publisher('~cmd_vel', Twist, queue_size=10)
https://github.com/RethinkRobotics/baxter_examples/pull/34