#include "Behaviors/StateMachine.h"
#include "Behaviors/Demos/Navigation/PilotDemo.h"

$nodeclass StarLeg : StateNode {
    $setupmachine {
        launch: StateNode =N=> WalkForward(750) =C=> Turn(216) =C=> PostMachineCompletion
    }
}

$nodeclass Star5 : PilotDemo {
    $setupmachine {
        rundemo: StateNode =N=>
	  StarLeg =C=> 
	  StarLeg =C=>
	  StarLeg =C=>
	  StarLeg =C=>
	  StarLeg
    }
}
REGISTER_BEHAVIOR(Star5);