43 #include <visp3/core/vpCameraParameters.h>
44 #include <visp3/core/vpDebug.h>
45 #include <visp3/robot/vpRobotAfma6.h>
49 #ifdef VISP_HAVE_AFMA6
55 std::cout <<
"a test for vpRobotAfma6 class..." << std::endl;
60 std::cout <<
"-- Default settings for Afma6 ---" << std::endl;
61 std::cout << afma6 << std::endl;
63 std::cout << cam << std::endl;
65 std::cout <<
"-- Settings associated to the CCMOP tool without distortion ---" << std::endl;
68 std::cout << afma6 << std::endl;
70 std::cout << cam << std::endl;
72 std::cout <<
"-- Settings associated to CCMOP tool with distortion ------" << std::endl;
74 std::cout << afma6 << std::endl;
76 std::cout << cam << std::endl;
78 std::cout <<
"-- Settings associated to the gripper tool without distortion ---" << std::endl;
81 std::cout << afma6 << std::endl;
83 std::cout << cam << std::endl;
85 std::cout <<
"-- Settings associated to gripper tool with distortion ------" << std::endl;
87 std::cout << afma6 << std::endl;
89 std::cout << cam << std::endl;
92 std::cout <<
"Catch an exception: " << e << std::endl;
99 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.