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/vpViper850.h>
#include <iostream>
int main()
{
try {
std::cout << "a test for vpViper850 class..." << std::endl;
std::cout << "-- Default settings for Viper 850 ---" << std::endl;
std::cout << viper850 << std::endl;
std::cout << cam << std::endl;
std::cout << "-- Settings associated to the Marlin F033C camera without "
"distortion ---"
<< std::endl;
std::cout << viper850 << std::endl;
std::cout << cam << std::endl;
std::cout << "-- Settings associated to the Marlin F033C camera with "
"distortion ------"
<< std::endl;
std::cout << viper850 << 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;
}
}