Shows how to build a task with a visual feature.
#include <visp3/blob/vpDot2.h>
#include <visp3/core/vpCameraParameters.h>
#include <visp3/core/vpColVector.h>
#include <visp3/core/vpHomogeneousMatrix.h>
#include <visp3/core/vpRotationMatrix.h>
#include <visp3/core/vpTranslationVector.h>
#include <visp3/visual_features/vpFeatureBuilder.h>
#include <visp3/visual_features/vpFeaturePoint.h>
#include <visp3/visual_features/vpFeatureThetaU.h>
#include <visp3/visual_features/vpGenericFeature.h>
#include <visp3/vs/vpServo.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;
}
}