41 #include <visp3/core/vpCameraParameters.h>
42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpDebug.h>
44 #include <visp3/robot/vpAfma6.h>
50 #ifdef ENABLE_VISP_NAMESPACE
55 std::cout <<
"a test for vpAfma6 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 the 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 the gripper tool with distortion ------" << std::endl;
87 std::cout << afma6 << std::endl;
89 std::cout << cam << std::endl;
94 std::cout <<
"Catch an exception: " << e << std::endl;
Modelization of Irisa's gantry robot named Afma6.
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.