ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
def publish_keypress(self, key_press):
self.publish_keypress(key_press)
You call your function within itself so you end up in an infinite loop, I think you meant this instead : def publish_keypress(self, key_press): keyboard_publisher.publish(key_press)
2 | No.2 Revision |
You call your function within itself so you end up in an infinite loop, loop. I think you meant this instead :
:
def publish_keypress(self, key_press):
keyboard_publisher.publish(key_press)keyboard_publisher.publish(key_press)
3 | No.3 Revision |
def publish_keypress(self, key_press): self.publish_keypress(key_press)
You call your function within itself so you end up in an infinite loop. I think you meant this instead :
def publish_keypress(self, key_press):
keyboard_publisher.publish(key_press)
4 | No.4 Revision |
def publish_keypress(self, key_press): self.publish_keypress(key_press)
You call your function within itself so you end up in an infinite loop. I think you meant this instead :
def publish_keypress(self, key_press):
keyboard_publisher.publish(key_press)
5 | No.5 Revision |
There is something wrong here :
def publish_keypress(self, key_press):
self.publish_keypress(key_press)self.publish_keypress(key_press)
You call your function within itself so you end up in an infinite loop. I think you meant this instead :
def publish_keypress(self, key_press):
keyboard_publisher.publish(key_press)