-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Description
connect() doesn't reconnect
To Reproduce
Steps to reproduce the behavior:
ros.close()
// Connection is closed
// Wait for ~2 seconds
ros.connect()
// Reconnected to websocket
Expected behavior
ros.close()
// Connection is closed
// Wait for ~2 seconds
ros.connect()
// Doesn't reconnect
ros.is_connected outputs False
Reproduction Steps
import roslibpy
import time
ros = roslibpy.Ros(host, port)
ros.run()
ros.close()
time.sleep(5)
ros.connect()
System (please complete the following information):
- OS:
[ubuntu20.04]
- Python version
[3.8]
- Python package manager
[pip]
- roslibpy version
[1.3.0]
Additional context
Metadata
Metadata
Assignees
Labels
No labels