Example of a real robot control, the Afma4 robot (cylindrical robot, with 4 degrees of freedom).
#include <visp/vpRobotAfma4.h>
#include <visp/vpDebug.h>
#include <visp/vpCameraParameters.h>
#include <iostream>
#ifdef VISP_HAVE_AFMA4
int main()
{
try {
std::cout << "a test for vpRobotAfma4 class..." << std::endl;
std::cout << afma4 << std::endl;
}
std::cout << "Catch an exception: " << e << std::endl;
}
return 0;
}
#else
int main()
{
std::cout << "The real Afma4 robot controller is not available." << std::endl;
return 0;
}
#endif