Example of a real robot control, the Afma4 robot (cartesian robot, with 6 degrees of freedom).
#include <visp3/core/vpCameraParameters.h>
#include <visp3/core/vpConfig.h>
#include <visp3/core/vpDebug.h>
#include <visp3/robot/vpAfma4.h>
#include <iostream>
int main()
{
#ifdef ENABLE_VISP_NAMESPACE
#endif
try {
std::cout << "a test for vpAfma4 class..." << std::endl;
std::cout << afma4 << std::endl;
return EXIT_SUCCESS;
}
std::cout << "Catch an exception: " << e << std::endl;
return EXIT_FAILURE;
}
}
Modelization of Irisa's cylindrical robot named Afma4.
error that can be emitted by ViSP classes.