Skip to content

fix: Support wstring fields in message conversion - #1316

Open
vpfkfl753 wants to merge 1 commit into
RobotWebTools:ros2from
vpfkfl753:fix-wstring-conversion
Open

vpfkfl753 wants to merge 1 commit into
RobotWebTools:ros2from
vpfkfl753:fix-wstring-conversion

Conversation

@vpfkfl753

Copy link
Copy Markdown

Public API Changes

None

Description

Fixes #1297. Treat wstring as a string primitive when converting between JSON and ROS messages.

Adds tests for scalar, fixed-array and sequence fields, including empty and non-ASCII strings and CDR round trips. Tested on Rolling: rosbridge_library tests, mypy and pre-commit pass.

Signed-off-by: vpfkfl753 <vpfkfl753@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ROS2 Messages Containing wstring Appear Broken

1 participant