adds queue_size to keyboard publisher
This commit is contained in:
parent
68870d193a
commit
83e54b3308
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue