#include <visp3/gui/vpDisplayGDI.h>
#include <visp3/gui/vpDisplayOpenCV.h>
#include <visp3/gui/vpDisplayX.h>
#include <visp3/gui/vpProjectionDisplay.h>
#include <visp3/robot/vpSimulatorCamera.h>
#include <visp3/robot/vpWireFrameSimulator.h>
#include <visp3/visual_features/vpFeatureBuilder.h>
#include <visp3/vs/vpServo.h>
#include <visp3/vs/vpServoDisplay.h>
{
static std::vector<vpImagePoint> traj[4];
for (unsigned int i = 0; i < 4; i++) {
point[i].project(cMo);
traj[i].push_back(cog);
}
for (unsigned int i = 0; i < 4; i++) {
for (unsigned int j = 1; j < traj[i].size(); j++) {
}
}
}
int main()
{
try {
std::vector<vpPoint> point(4);
point[0].setWorldCoordinates(-0.1, -0.1, 0);
point[1].setWorldCoordinates(0.1, -0.1, 0);
point[2].setWorldCoordinates(0.1, 0.1, 0);
point[3].setWorldCoordinates(-0.1, 0.1, 0);
for (unsigned int i = 0; i < 4; i++) {
point[i].track(cdMo);
point[i].track(cMo);
}
wMo = wMc * cMo;
#if defined VISP_HAVE_X11
vpDisplayX displayInt(Iint, 0, 0,
"Internal view");
vpDisplayX displayExt(Iext, 670, 0,
"External view");
#elif defined VISP_HAVE_GDI
#elif defined VISP_HAVE_OPENCV
#else
std::cout << "No image viewer is available..." << std::endl;
#endif
while (1) {
for (unsigned int i = 0; i < 4; i++) {
point[i].track(cMo);
}
display_trajectory(Iint, point, cMo, cam);
break;
}
std::cout << "Catch an exception: " << e << std::endl;
}
}