49 #include <visp/vpRobotAfma6.h>
50 #include <visp/vpDebug.h>
51 #include <visp/vpCameraParameters.h>
56 #ifdef VISP_HAVE_AFMA6
62 std::cout <<
"a test for vpRobotAfma6 class..." << std::endl;
67 std::cout <<
"-- Default settings for Afma6 ---"
69 std::cout << afma6 << std::endl;
71 std::cout << cam << std::endl;
73 std::cout <<
"-- Settings associated to the CCMOP tool without distortion ---"
77 std::cout << afma6 << std::endl;
79 std::cout << cam << std::endl;
81 std::cout <<
"-- Settings associated to CCMOP tool with distortion ------"
85 std::cout << afma6 << std::endl;
87 std::cout << cam << std::endl;
89 std::cout <<
"-- Settings associated to the gripper tool without distortion ---"
93 std::cout << afma6 << std::endl;
95 std::cout << cam << std::endl;
97 std::cout <<
"-- Settings associated to gripper tool with distortion ------"
101 std::cout << afma6 << std::endl;
103 std::cout << cam << std::endl;
106 std::cout <<
"Catch an exception: " << e << std::endl;
113 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.