# Revision history [back]

You hand in an origin block to the macro, but you commented out the original macro definition that calls for the origin block:

<xacro:macro name="camera" params="name base_link:=world *origin">


Either you should remove the origin block from the file where you call your macro, so it looks like this:

<xacro:my_camera />


Or you remove the line you added to your macro below it, uncomment the line quoted above, and call your macro with the parameters it requests:

<xacro:camera base_link="kuka_lwr_7_link">
<origin xyz="0 0 .01" rpy="0 0 0"/>
</xacro:camera>


You hand in an origin block to the macro, but you commented out the original macro definition that calls for the origin block:

<xacro:macro name="camera" params="name base_link:=world *origin">


Either you should remove the origin block from the file where you call your macro, so it looks like this:

<xacro:my_camera />


Or you remove the line you added to your custom macro below it, definition, uncomment the line original definition quoted above, and call your macro with the parameters it requests:

<xacro:camera base_link="kuka_lwr_7_link">
<origin xyz="0 0 .01" rpy="0 0 0"/>
</xacro:camera>