Skip to content

Allow .msg/.srv files to be in subdirectories of msg/, srv/#325

Open
janstrohbeck wants to merge 1 commit intoros2:masterfrom
janstrohbeck:allow_message_subdirectories
Open

Allow .msg/.srv files to be in subdirectories of msg/, srv/#325
janstrohbeck wants to merge 1 commit intoros2:masterfrom
janstrohbeck:allow_message_subdirectories

Conversation

@janstrohbeck
Copy link

If one has the following ROS1 message layout:

msg/
  group1/
    MessageDefinition1.msg
    MessageDefinition2.msg
  group2/
    MessageDefinition3.msg

That is, the .msg files are not directly in the msg folder, but in subfolders. Then the bridge does not find the message files correctly. The same goes for files in subfolders in the srv directory. This PR expands the search for .msg and .srv files to subdirectories, to make it work.

Signed-off-by: Jan Strohbeck <jan.strohbeck@uni-ulm.de>
@janstrohbeck janstrohbeck force-pushed the allow_message_subdirectories branch from fbe169a to 7c72fc7 Compare August 26, 2021 11:25
@gbiggs
Copy link
Member

gbiggs commented Feb 4, 2022

@janstrohbeck You wouldn't happen to have a test of a minimal reproducible example I can use to verify this works, would you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants