From 435a9544933a7650c428dd524ebfda42a5b42e15 Mon Sep 17 00:00:00 2001 From: Michel Hidalgo Date: Wed, 8 May 2019 15:10:33 -0300 Subject: [PATCH] Adds interface type to ROS2 message type name. Signed-off-by: Michel Hidalgo --- resource/interface_factories.cpp.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/interface_factories.cpp.em b/resource/interface_factories.cpp.em index 57f71a4b..7509d979 100644 --- a/resource/interface_factories.cpp.em +++ b/resource/interface_factories.cpp.em @@ -56,7 +56,7 @@ get_factory_@(ros2_package_name)__@(interface_type)__@(interface.message_name)(c if ( (ros1_type_name == "@(m.ros1_msg.package_name)/@(m.ros1_msg.message_name)" || ros1_type_name == "") && - ros2_type_name == "@(m.ros2_msg.package_name)/@(m.ros2_msg.message_name)") + ros2_type_name == "@(m.ros2_msg.package_name)/@(interface_type)/@(m.ros2_msg.message_name)") { return std::make_shared< Factory<