Skip to content

Commit c5e238f

Browse files
committed
Add warning about call_services_in_new_thread parameter
1 parent dfc412c commit c5e238f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rosbridge_server/scripts/rosbridge_websocket.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,14 @@ def check_deprecated_parameters(self):
341341
"will be updated to 5.0 seconds."
342342
)
343343

344+
if RosbridgeWebSocket.call_services_in_new_thread == False:
345+
self.get_logger().warn(
346+
"The 'call_services_in_new_thread' parameter is currently set to False, "
347+
"which means service calls will block the main thread. "
348+
"Please note that in the Jazzy and later releases, the default value for this parameter "
349+
"will be updated to True."
350+
)
351+
344352

345353
def main(args=None):
346354
if args is None:

0 commit comments

Comments
 (0)