#include "Behaviors/StateMachine.h"

$nodeclass Lab7Part4 : StateNode {
    $nodeclass MoveArm : DynamicMotionSequenceNode : doStart {
        PostureEngine *copy = new PostureEngine();
	
	int i;
	for (i = 50; i < 300; i+=10) {
	    copy->solveLinkPosition(i,0,0,LeftFingerFrameOffset,0,0,0);
	    getMC()->setPose(*copy);
	}

	delete copy;
    }

    $setupmachine {
        launch : StateNode =N=> MoveArm
    }
}

REGISTER_BEHAVIOR(Lab7Part4);
