41 #include <visp3/core/vpCameraParameters.h>
42 #include <visp3/core/vpDebug.h>
43 #include <visp3/robot/vpRobotAfma6.h>
47 #ifdef VISP_HAVE_AFMA6
51 #ifdef ENABLE_VISP_NAMESPACE
56 std::cout <<
"a test for vpRobotAfma6 class..." << std::endl;
61 std::cout <<
"-- Default settings for Afma6 ---" << std::endl;
62 std::cout << afma6 << std::endl;
64 std::cout << cam << std::endl;
66 std::cout <<
"-- Settings associated to the CCMOP tool without distortion ---" << std::endl;
69 std::cout << afma6 << std::endl;
71 std::cout << cam << std::endl;
73 std::cout <<
"-- Settings associated to CCMOP tool with distortion ------" << std::endl;
75 std::cout << afma6 << std::endl;
77 std::cout << cam << std::endl;
79 std::cout <<
"-- Settings associated to the gripper tool without distortion ---" << std::endl;
82 std::cout << afma6 << std::endl;
84 std::cout << cam << std::endl;
86 std::cout <<
"-- Settings associated to gripper tool with distortion ------" << std::endl;
88 std::cout << afma6 << std::endl;
90 std::cout << cam << std::endl;
94 std::cout <<
"Catch an exception: " << e << std::endl;
101 std::cout <<
"The real Afma6 robot controller is not available." << std::endl;
void getCameraParameters(vpCameraParameters &cam, const unsigned int &image_width, const unsigned int &image_height) const
Generic class defining intrinsic camera parameters.
@ perspectiveProjWithDistortion
Perspective projection with distortion model.
error that can be emitted by ViSP classes.
Control of Irisa's gantry robot named Afma6.