Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For reference, so far my end grid insertion code is the following:

    <gui fullscreen='false'>
        <plugin name='Grid config' filename='GridConfig'>
            <ignition-gui>
                <title>Grid Config</title>
            </ignition-gui>
            <insert>
                <horizontal_cell_count>60</horizontal_cell_count><!-- total size = length * cell count-->
                <vertical_cell_count>0</vertical_cell_count> <!-- 0 actually means one plane-->
                <cell_length>5.0</cell_length> <!--5m cells-->
                <pose>-90 75 0  0 0 0</pose> <!--offset by x y z -->
                <color>1 1 1 0.7</color>
            </insert>
        </plugin>

    </gui>

For reference, so far my end grid insertion code is the following:

    <gui fullscreen='false'>
        <plugin name='Grid config' filename='GridConfig'>
            <ignition-gui>
                <title>Grid Config</title>
            </ignition-gui>
            <insert>
                <horizontal_cell_count>60</horizontal_cell_count><!-- <!-- total size = length * cell count-->
                <vertical_cell_count>0</vertical_cell_count> <horizontal_cell_count>60</horizontal_cell_count>

                <!-- 0 actually means one plane-->
                <cell_length>5.0</cell_length> <vertical_cell_count>0</vertical_cell_count> 

                <!--5m cells-->
                <cell_length>5.0</cell_length> 

                <pose>-90 75 0  0 0 0</pose> <!--offset by x y z -->
0</pose>
                <color>1 1 1 0.7</color>
            </insert>
        </plugin>

    </gui>

For reference, so far my end grid insertion code adding xml is the following:

    <gui fullscreen='false'>
        <plugin name='Grid config' filename='GridConfig'>
            <ignition-gui>
                <title>Grid Config</title>
            </ignition-gui>
            <insert>
                <!-- total size = length * cell count-->
                <horizontal_cell_count>60</horizontal_cell_count>

                <!-- 0 actually means one plane-->
                <vertical_cell_count>0</vertical_cell_count> 

                <!--5m cells-->
                <cell_length>5.0</cell_length> 

                <pose>-90 75 0  0 0 0</pose>
                <color>1 1 1 0.7</color>
            </insert>
        </plugin>

    </gui>