Closed MoffKalast closed 2 months ago
@MoffKalast
We are attempting to upgrade from humble to jazzy today and this also breaks rosbridge_server
, as in:
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
Looks like this change was made back in Nov 2023: see here
The solution appears to be to import from rclpy:
from rclpy.parameter import get_parameter_value
Tested this locally and the behavior has been resolved. Just need to add a PR
The solution appears to be to import from rclpy:
from rclpy.parameter import get_parameter_value
Awesome.
The file I added the suggested import was:
/opt/ros/jazzy/lib/python3.12/site-packages/ros2param/api/__init__.py
It worked like a charm.
Closed by #932 -- thanks again @Oberacda!
Description Apparently the API has changed in the new release:
Steps To Reproduce
ros2 run rosapi rosapi_node
Expected Behavior Rosapi doesn't crash.
Actual Behavior Rosapi crashes. :smiley: