-
Notifications
You must be signed in to change notification settings - Fork 57
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
call this funtion client.terminate() or close(), then can not reconnect. #94
Comments
@liuxinxiao it depends on your context (ie. IronPython vs CPython), but in the normal case, calling Now, you also mention this happens if you use |
the first connect. It work. stop function. I use ros.close(), But is_connected is True still. The second connect. log is : The second connect, Throw except. My code is :
def stop(self):
|
@liuxinxiao could you please paste the entire code? I don't totally get what is going on without more context. |
My code :
client = roslibpy.Ros(host='localhost', port=9090)
client.run()
print('Is ROS connected?', client.is_connected)
client.terminate()
#reconnect ros:
client = roslibpy.Ros(host='localhost', port=9090)
client.run()
print('Is ROS connected?', client.is_connected)
client.is_connecting is True, client.is_connected is False.
The text was updated successfully, but these errors were encountered: