Example of a real robot control, the Viper robot (arm robot, with 6 degrees of freedom).
#include <visp3/core/vpConfig.h>
#include <visp3/core/vpDebug.h>
#include <visp3/robot/vpViper650.h>
#include <iostream>
int main()
{
try {
std::cout << "a test for vpViper650 class..." << std::endl;
std::cout << "-- Default settings for Viper 650 ---" << std::endl;
std::cout << viper650 << std::endl;
std::cout << cam << std::endl;
std::cout << "-- Settings associated to the Marlin F033C camera without "
"distortion ---"
<< std::endl;
std::cout << viper650 << std::endl;
std::cout << cam << std::endl;
std::cout << "-- Settings associated to the Marlin F033C camera with "
"distortion ------"
<< std::endl;
std::cout << viper650 << std::endl;
std::cout << cam << std::endl;
#if 1
#else
#endif
std::cout << "fMe:" << std::endl
<<
"\tt: " << t.
t() << std::endl
<<
"\trzyz (rad): " << r.
t() << std::endl
<< std::endl;
return 0;
return 1;
}
}