45 #include <visp3/robot/vpRobotAfma6.h>
46 #include <visp3/core/vpDebug.h>
47 #include <visp3/core/vpCameraParameters.h>
52 #ifdef VISP_HAVE_AFMA6
58 std::cout <<
"a test for vpRobotAfma6 class..." << std::endl;
63 std::cout <<
"-- Default settings for Afma6 ---"
65 std::cout << afma6 << std::endl;
67 std::cout << cam << std::endl;
69 std::cout <<
"-- Settings associated to the CCMOP tool without distortion ---"
73 std::cout << afma6 << std::endl;
75 std::cout << cam << std::endl;
77 std::cout <<
"-- Settings associated to CCMOP tool with distortion ------"
81 std::cout << afma6 << std::endl;
83 std::cout << cam << std::endl;
85 std::cout <<
"-- Settings associated to the gripper tool without distortion ---"
89 std::cout << afma6 << std::endl;
91 std::cout << cam << std::endl;
93 std::cout <<
"-- Settings associated to gripper tool with distortion ------"
97 std::cout << afma6 << std::endl;
99 std::cout << cam << std::endl;
102 std::cout <<
"Catch an exception: " << e << std::endl;
109 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
error that can be emited by ViSP classes.
Control of Irisa's gantry robot named Afma6.
Generic class defining intrinsic camera parameters.
Perspective projection with distortion model.