You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
ros2 service call /rosapi/get_param_names rosapi_msgs/srv/GetParamNames {}
Expected Behavior
A msg return with all available params
Actual Behavior
the rosapi crashes and the calling terminal hangs
[rosbridge_websocket-1] [INFO] [1730726532.349308897] [rosbridge_websocket]: Rosbridge WebSocket server started on port 9090
[rosapi_node-2] Traceback (most recent call last):
[rosapi_node-2] File "/opt/ros/humble/lib/rosapi/rosapi_node", line 329, in <module>
[rosapi_node-2] main()
[rosapi_node-2] File "/opt/ros/humble/lib/rosapi/rosapi_node", line 321, in main
[rosapi_node-2] rclpy.spin(node)
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/__init__.py", line 222, in spin
[rosapi_node-2] executor.spin_once()
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 739, in spin_once
[rosapi_node-2] self._spin_once_impl(timeout_sec)
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 736, in _spin_once_impl
[rosapi_node-2] raise handler.exception()
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/task.py", line 239, in __call__
[rosapi_node-2] self._handler.send(None)
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 437, in handler
[rosapi_node-2] await call_coroutine(entity, arg)
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 391, in _execute_service
[rosapi_node-2] response = await await_or_execute(srv.callback, request, srv.srv_type.Response())
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 107, in await_or_execute
[rosapi_node-2] return callback(*args)
[rosapi_node-2] File "/opt/ros/humble/lib/rosapi/rosapi_node", line 281, in get_param_names
[rosapi_node-2] response.names = params.get_param_names(self.globs.params)
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rosapi/params.py", line 201, in get_param_names
[rosapi_node-2] params.extend(get_node_param_names(node, params_glob))
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rosapi/params.py", line 221, in get_node_param_names
[rosapi_node-2] return _get_param_names(node_name)
[rosapi_node-2] File "/opt/ros/humble/local/lib/python3.10/dist-packages/rosapi/params.py", line 235, in _get_param_names
[rosapi_node-2] raise RuntimeError("Wait for list_parameters service timed out")
[rosapi_node-2] RuntimeError: Wait for list_parameters service timed out
[ERROR] [rosapi_node-2]: process has died [pid 538896, exit code 1, cmd '/opt/ros/humble/lib/rosapi/rosapi_node --ros-args -r __node:=rosapi --params-file /tmp/launch_params_ci7xodun --params-file /tmp/launch_params_677akuqu --params-file /tmp/launch_params_w_m4x5yb'].
The text was updated successfully, but these errors were encountered:
Description
Calling the getParams service, hangs and crashes rosapi node,
Steps To Reproduce
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
ros2 service call /rosapi/get_param_names rosapi_msgs/srv/GetParamNames {}
Expected Behavior
A msg return with all available params
Actual Behavior
the rosapi crashes and the calling terminal hangs
The text was updated successfully, but these errors were encountered: