Skip to content

Commit d0692ad

Browse files
Fixing wstring ROS2 data type, and import rename for latest release build compatibility (#86)
Co-authored-by: Davide Faconti <davide.faconti@gmail.com>
1 parent f2c14b1 commit d0692ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ros_parsers/ros2_parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ std::string CreateSchema(const std::string& base_type)
7878
case ROS_TYPE_UINT64: schema += "uint64"; break;
7979
case ROS_TYPE_INT64: schema += "int64"; break;
8080
case ROS_TYPE_STRING: schema += "string"; break;
81+
case ROS_TYPE_WSTRING: schema += "string"; break;
8182
case ROS_TYPE_MESSAGE: {
8283
auto type_info = reinterpret_cast<const MessageMembers*>(member.members_->data);
8384
std::string package = type_info->message_namespace_;

0 commit comments

Comments
 (0)