<?xml version="1.0" ?>
<robot name="rgbdbot" xmlns:xacro="http://ros.org/wiki/xacro">

    <!-- ####################################### -->
    <!-- Arguments and propperties-->
    <!-- ####################################### -->
    <!--Args are local, properties are global, so we copy the values of the arguments to the properties-->
    <!--Properties are global so they can be viewed from inside the included xacros-->
    <!--  args are used with $(arg arg_name), properties are used as ${property_name}-->
    <xacro:property name="M_PI" value="3.1415926535897931" />

    <!-- ####################################### -->
    <!-- Include files-->
    <!-- ####################################### -->
    <xacro:include filename="$(find rgbdbot_description)/urdf/properties.xacro"/>

    <!-- Scene objets-->
    <xacro:include filename="$(find rgbdbot_description)/urdf/tripod.macro.xacro"/>

    <!-- Sensors-->
<!--    <xacro:include filename="$(find velodyne_description)/urdf/VLP-16.urdf.xacro"/>-->
    <xacro:include filename="$(find rgbdbot_description)/urdf/atom_astra.urdf.xacro" />
    <!-- ####################################### -->
    <!-- Declare links and joints -->
    <!-- ####################################### -->
    <link name="world"/>

    <!-- Place tripod in the scene-->
    <xacro:tripod_macro name="tripod" parent="world">
        <origin xyz="0 0 0" rpy="0 0 ${2/3*M_PI}" />
    </xacro:tripod_macro>


    <xacro:sensor_astra prefix="camera" parent="tripod_plate">
        <origin xyz="0.02 0.07 0.015" rpy="0 0.0 0" />
    </xacro:sensor_astra>

</robot>