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

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
2

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:

http://docs.ros.org/indigo/api/genmsg...

Have you tried that?

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 795 times

Last updated: Jul 29 '15