Shows how to build a task with a visual feature.
#include <visp/vpColVector.h>
#include <visp/vpTranslationVector.h>
#include <visp/vpRotationMatrix.h>
#include <visp/vpHomogeneousMatrix.h>
#include <visp/vpServo.h>
#include <visp/vpFeaturePoint.h>
#include <visp/vpGenericFeature.h>
#include <visp/vpFeatureBuilder.h>
#include <visp/vpFeatureThetaU.h>
#include <visp/vpDot2.h>
#include <visp/vpCameraParameters.h>
#include <iostream>
int main()
{
try {
for (int i=0; i < 3; i++) {
tu_cdRc[0] =0.1;
tu_cdRc[1] =0.2;
tu_cdRc[2] =0.3;
std::cout << "End, call vpServo destructors..." << std::endl;
}
return 0;
}
std::cout << "Catch an exception: " << e << std::endl;
return 1;
}
}