PR2 / pr2_apps

15 stars 24 forks source link

Add queue size to trajectory_lock script #23

Closed 23pointsNorth closed 6 years ago

23pointsNorth commented 8 years ago

Add queue_size as to remove following error: /opt/ros/indigo/share/pr2_mannequin_mode/scripts/trajectory_lock.py:77: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information. pub = rospy.Publisher("command", trajectory_msgs.msg.JointTrajectory)

Size of 10 was selected arbitrary as working.