ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solved the problem changing the lines added this way:

 <include filename="$(find p2os_urdf_mod)/defs/erratic_hokuyo_laser.xacro"/>

<xacro:erratic_hokuyo_laser parent="base_link">
    <origin xyz="0.01 0 0.23" rpy="0 0 0" />
</xacro:erratic_hokuyo_laser>

and in the "erratic_hokuyo_laser.xarco" I added the keyword xacro: before the macro tag:

<xacro:macro name="erratic_hokuyo_laser" params="parent *origin">
...
</xacro:macro>

Now I can see the /scan topic and map its values with rviz.