Skip to content

websocket launch failing - InvalidParameterTypeException [solved in 2.4.2] #1141

@LAYERED-pierrechass

Description

@LAYERED-pierrechass

Description

  • Library Version: apt default installed version
  • ROS Version: Jazzy
  • Platform / OS: Ubuntu 24.04

Steps To Reproduce

  1. Install the library using sudo apt-get install ros-jazzy-rosbridge-server
  2. Launch the websocket ros2 launch rosbridge_server rosbridge_websocket_launch.xml

Expected Behavior
Launching normally.

Actual Behavior
Dies with error InvalidParameterTypeException:

rosbridge_websocket-1] rclpy.exceptions.InvalidParameterTypeException: Trying to set parameter 'delay_between_messages' to '0' of type 'INTEGER', expecting type 'DOUBLE': delay_between_messages
[ERROR] [rosbridge_websocket-1]: process has died [pid 68755, exit code 1, cmd '/opt/ros/jazzy/lib/rosbridge_server/rosbridge_websocket --ros-args -r __node:=rosbridge_websocket -r __ns:=/ --params-file /tmp/launch_params_yb2uakm0 --params-file /tmp/launch_params_72h4fvlf --params-file /tmp/launch_params_bgz73v5z --params-file /tmp/launch_params_6n7lgjce --params-file /tmp/launch_params_63ok67mx --params-file /tmp/launch_params_1_u0kdcl --params-file /tmp/launch_params_u5syyuip --params-file /tmp/launch_params_ft69ma9f --params-file /tmp/launch_params_zf67oo7c --params-file /tmp/launch_params_605ce5i_ --params-file /tmp/launch_params_iiaiav8s --params-file /tmp/launch_params_v4kr08n8 --params-file /tmp/launch_params_7xnq4us3 --params-file /tmp/launch_params_hlj_28dr --params-file /tmp/launch_params_v_fv1yd0 --params-file /tmp/launch_params_x4rdzqdw'].

Works fine if launched like this:
ros2 launch rosbridge_server rosbridge_websocket_launch.xml delay_between_messages:=0.0

I just saw that it was fixed in the last version but it was just not synced yet. I still post for documentation. Feel free to remove or close if you think it is unecessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions