fork download
  1. int main( int argc, char *argv[] )
  2. {
  3.  
  4. AL::ALMotionProxy motion("127.0.0.1", 9559);
  5.  
  6. int P=2;
  7.  
  8. do
  9. {
  10.  
  11. double fractionMaxSpeed=0.2;
  12.  
  13. AL::ALValue names = AL::ALValue::array("LHipPitch");
  14.  
  15. AL::ALValue angles = AL::ALValue::array(-0.4);
  16.  
  17. motion.setAngles(names, angles, fractionMaxSpeed);
  18.  
  19. }while(P==2);
  20.  
  21. }
  22.  
  23.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:4:5: error: ‘AL’ has not been declared
prog.cpp:4:23: error: expected ‘;’ before ‘motion’
prog.cpp:13:13: error: ‘AL’ has not been declared
prog.cpp:13:25: error: expected ‘;’ before ‘names’
prog.cpp:15:13: error: ‘AL’ has not been declared
prog.cpp:15:25: error: expected ‘;’ before ‘angles’
prog.cpp:17:13: error: ‘motion’ was not declared in this scope
prog.cpp:17:30: error: ‘names’ was not declared in this scope
prog.cpp:17:37: error: ‘angles’ was not declared in this scope
stdout
Standard output is empty