//-*-c++-*-
#ifndef INCLUDED_Leapers_h_
#define INCLUDED_Leapers_h_

#include "Behaviors/StateMachine.h"
#include "Motion/MotionPtr.h"

extern MotionPtr<XWalkMC> leapWalker;

#shortnodeclass RedLEDOn : LedNode : constructor
    getMC()->set(RobotInfo::RedLEDMask,1);

#shortnodeclass RedLEDOff : LedNode : constructor
    getMC()->set(RobotInfo::RedLEDMask,0);

#shortnodeclass GreenLEDOn : LedNode : constructor
    getMC()->set(RobotInfo::GreenLEDMask,1);

#shortnodeclass Forward(float distance) : StateNode : DoStart
    leapWalker->setTargetDisplacement(distance, 0, 0);

#endif
