PlotJuggler / plotjuggler-ros-plugins

Many PlotJuggler plugins for ROS and ROS2.
GNU Affero General Public License v3.0
106 stars 44 forks source link

ROS2 wstring data type fix #86

Closed bcohen116 closed 4 months ago

bcohen116 commented 5 months ago

In the latest release 2.1.1 if your ROS2 message definition contains a wstring type, you get a "Bad field when parsing field" popup error. This PR includes wstring as a valid type for a message so that those topics can be subscribed to. In python wstring is treated the exact same as a normal string, and in c++ wstring is a u16string.

The latest base PlotJuggler 3.9.1 release also changes some import paths that make building from source fail, that import is fixed in this PR.

Testing Environment: OS: Ubuntu 22.04 ROS2 Rolling as of 04/16/2024 PlotJuggler and ros_msg and plugin latest source as of 04/16/2024 FastDDS (rolling default)