How to determine what package a node belongs to?
Hi !
I have read the "Create a ros package tutorial" and I more or less understand what the tags <run_depend> and <build_depend> are for. My difficulty is to determine what I should put in the corresponding sections. For example, if I look at the code of the tf listener tutorial, I have the following includes:
#include <ros/ros.h>
#include <tf/transform_listener.h>
#include <turtlesim/Velocity.h>
#include <turtlesim/Spawn.h>
The questions I have are:
- Are the includes enough to determine the dependencies?
- How do I determine the package name from the include file name, e.g. for tf/transform_listener.h?
- If dependencies can be deduced from the includes, is there some automatic tool to do it?
Thanks for any input.
GGG