ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
workaround in ros_comm/issues/2212 can't be applied in my case directly.

Why not? Wrap your line of code with a try/except and set js = None in the exception path.

I'm surprised to see the developer saying that tcp_ros is not thread-safe; I always assumed it was.

workaround in ros_comm/issues/2212 can't be applied in my case directly.

directly.

Why not? Wrap your line of code with a try/except and set js = None in the exception path.

I'm surprised to see the developer saying that tcp_ros is not thread-safe; I always assumed it was.

workaround in ros_comm/issues/2212 can't be applied in my case directly.

Why not? Wrap your line of code with a try/except and set js = None in the exception path.

I'm surprised to see the developer saying that tcp_ros is not thread-safe; I always assumed it was.

Edit: The better workaround would be to move this line of code to your main thread, where presumably it won't throw the exception.