//-*-c++-*-
#ifndef INCLUDED_TestBehavior_h_
#define INCLUDED_TestBehavior_h_

#include "Behaviors/Leapers.h"

//! A quick little demo behavior which lights up an LED and moves the head.
//  If you don't need the robot to stand, use VisualRoutinesStateNode instead of LeapMachine

#nodeclass TestBehavior : LeapMachine : setup
#statemachine
startnode: StateNode =T(5000)=>   // give robot 5 secs to stand up and stabilize
  RedLEDOn =T(1000)=> RedLEDOff =T(1000)=> 
	   //    NodYes =C=> Speak($, "yes") =T(2000)=>
	   //      NodNo($,2) =C=> Speak($,"no") =T(2000)=>
  //  LookAtPoint($,Point(1000,1000,0)) =C=> 
     Turn($, -0.1) =T(5000)=> Turn($, 0.1) =C=> Speak($,"done")
#endstatemachine
#endnodeclass

#endif
