int main( int argc, char *argv[] )
{
 
    AL::ALMotionProxy motion("127.0.0.1", 9559);
    
    int P=2;
 
    do
        {               
            
            double fractionMaxSpeed=0.2;
 
            AL::ALValue names = AL::ALValue::array("LHipPitch"); 
 
            AL::ALValue angles  = AL::ALValue::array(-0.4);
                                                                
            motion.setAngles(names, angles, fractionMaxSpeed);
        
        }while(P==2);
 
}
 
