Skip to content

Commit

Permalink
Fixing wstring ROS2 data type, and import rename for latest release b…
Browse files Browse the repository at this point in the history
…uild compatibility (#86)

Co-authored-by: Davide Faconti <davide.faconti@gmail.com>
  • Loading branch information
bcohen116 and facontidavide authored May 9, 2024
1 parent f2c14b1 commit d0692ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ros_parsers/ros2_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ std::string CreateSchema(const std::string& base_type)
case ROS_TYPE_UINT64: schema += "uint64"; break;
case ROS_TYPE_INT64: schema += "int64"; break;
case ROS_TYPE_STRING: schema += "string"; break;
case ROS_TYPE_WSTRING: schema += "string"; break;
case ROS_TYPE_MESSAGE: {
auto type_info = reinterpret_cast<const MessageMembers*>(member.members_->data);
std::string package = type_info->message_namespace_;
Expand Down

0 comments on commit d0692ad

Please sign in to comment.