Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added queue_size to publishers to remove warnings. #34

Merged
merged 2 commits into from Dec 1, 2014
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/joint_torque_springs.py
Expand Up @@ -77,7 +77,7 @@ def __init__(self, limb, reconfig_server):

# create cuff disable publisher
cuff_ns = 'robot/limb/' + limb + '/suppress_cuff_interaction'
self._pub_cuff_disable = rospy.Publisher(cuff_ns, Empty)
self._pub_cuff_disable = rospy.Publisher(cuff_ns, Empty, queue_size=10)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this 1 --- you want this override to "stop" as soon as you are done. No lag.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed!


# verify robot is enabled
print("Getting robot state... ")
Expand Down
2 changes: 1 addition & 1 deletion scripts/joint_velocity_wobbler.py
Expand Up @@ -49,7 +49,7 @@ def __init__(self):
'Wobbles' both arms by commanding joint velocities sinusoidally.
"""
self._pub_rate = rospy.Publisher('robot/joint_state_publish_rate',
UInt16)
UInt16, queue_size=10)
self._left_arm = baxter_interface.limb.Limb("left")
self._right_arm = baxter_interface.limb.Limb("right")
self._left_joint_names = self._left_arm.joint_names()
Expand Down