Skip to content

Commit

Permalink
Adds interface type to ROS2 message type name.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic authored and dirk-thomas committed May 9, 2019
1 parent 3bc78e8 commit 435a954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/interface_factories.cpp.em
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand Down

0 comments on commit 435a954

Please sign in to comment.