Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

a.urdf.xacro only defines the hunter xacro macro, but that macro is never called (and thus your robot never instantiated).

I typically create a 'top level' .xacro file for this (something like hunter.xacro fi) which is empty, apart from a call to the macro. In your case:

<?xml version="1.0" ?>
<robot name="hunter" xmlns:xacro="">
  <xacro:include filename="$(find hunter_pkg)/a.urdf.xacro"/>

Then convert / use as normal.

In my experience, keeping your xacro macro definitions separate makes it easier to include them in other, composite, xacros.