<?xml version="1.0"?>
<program>

<robot file = "xml/robot/turnloop.xml"/>

<parameters>
<N init="10" type = "text"/>
<radius init="3" type = "text"/>
</parameters>

<main>
<loop/>
</main>

<behaviors>
<loop>
<wave group = "loop" phase = "2/N" period = "5"/>
</loop>
</behaviors>

<automata>
<wave states = "bend, hold, straight, hold" times = "1, (radius-1), 1, (N/2-radius-1)"/>
</automata>

<states>
<bend angles = "180/radius"/>
<straight angles = "0"/>
<hold angles = "@"/>
</states>

</program>


