0
$\begingroup$

Rosanswers logo

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.


Originally posted by anything234 on ROS Answers with karma: 1 on 2015-07-29

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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

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

Have you tried that?


Originally posted by William with karma: 17335 on 2015-07-29

This answer was ACCEPTED on the original site

Post score: 2

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.