Example of a real robot control, the Afma4 robot (cartesian robot, with 6 degrees of freedom).
#include <visp/vpConfig.h>
#include <visp/vpAfma4.h>
#include <visp/vpDebug.h>
#include <visp/vpCameraParameters.h>
#include <iostream>
int main()
{
try {
std::cout << "a test for vpAfma4 class..." << std::endl;
std::cout << afma4 << std::endl;
return 0;
}
std::cout << "Catch an exception: " << e << std::endl;
return 1;
}
}