ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Best way to add/use directories inside of /msg?

asked 2015-07-29 16:44:19 -0500

anything234 gravatar image

I've been struggling with this for a few days now, and I can't seem to find any answers involving this. I'm working with a relatively large project with hundreds of messages, and there's no way it's reasonable to just put them all in the base msg directory. However, I can't find any reasonable way to implement multiple directories which rely on eachother using the catkin build system/default CMake macros given. I'd rather not have to create many packages containing only messages, it seems like creating a hierarchy would be difficult that way and it doesn't make sense.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-29 19:14:33 -0500

William gravatar image

You should be abled to call add_message_files(...) multiple times with different DIRECTORY arguments:

Have you tried that?

edit flag offensive delete link more

Question Tools


Asked: 2015-07-29 16:44:19 -0500

Seen: 692 times

Last updated: Jul 29 '15