diff --git a/hand_control/src/teleop_twist_keyboard_azerty.py b/hand_control/src/teleop_twist_keyboard_azerty.py index 0276173..aac43ad 100755 --- a/hand_control/src/teleop_twist_keyboard_azerty.py +++ b/hand_control/src/teleop_twist_keyboard_azerty.py @@ -63,7 +63,7 @@ def vels(speed,turn): if __name__=="__main__": settings = termios.tcgetattr(sys.stdin) - pub = rospy.Publisher('cmd_vel', Twist) + pub = rospy.Publisher('cmd_vel', Twist, queue_size=1) rospy.init_node('teleop_twist_keyboard_azerty') x = 0 th = 0