I've been struggling with this a couple of times before and always found work-arounds to overcome, but there must be a better way.
I develop my ROS-related code with Eclipse. So I always use make eclipse-project to create and update .project file as described on the IDEs ROS Wiki page. The problem is, make eclipse-project doesn't usually automatically grab package dependencies between packages I wrote.
I never have any problems with dependencies between packages installed from binary packages. But the weird thing is I never have any problems with eg. crawling trough packages I wrote with roscd
or using other ros CLI commands to explore my package tree neither. So ROS_PACKAGE_PATH
is set correctly. I also edited manifest.xml
to add
<depend package="my_package"/>
so that should be right as well. But then I check Project properties -> C/C++ Include Paths and Preprocessor Symbols
and the required package includes are missing.
What are the common pitfalls I can be dealing with?
EDIT: OK I think a probable cause of my problems is me not knowing anything about the correct usage of the tag in the manifest.xml file. Is this the only documentation to it?
Originally posted by tom on ROS Answers with karma: 1079 on 2011-08-02
Post score: 3