ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
As an example of another possible way to setup, note that pr2_description by default exports the robot URDF as well as XML extensions for simulation plugins and mechanism controls. But pr2_description does not depend on any of the robot/simulation/mechanism packages.
In effect, we are not interpreting package/stack dependencies based on XML dependencies (i.e. pr2_description export <gazebo>
extensions but do not depend on gazebo. Similarly, pr2_description exports <transmission>
extensions used by pr2_mechanism stack, but do not depend on it).
Therefore, for the PR2 there two main stacks, one for real-robot and the other for simulation:
Alternatively, if you want to keep the real-robot and simulation XML's separate, I imagine the following package structure/dependency might work too,:
<includes>
and xacro
as Dimitri suggested).