#include <visp3/core/vpConfig.h>
#ifdef VISP_HAVE_MODULE_AR
#include <visp3/ar/vpAROgre.h>
#endif
#include <visp3/robot/vpSimulatorCamera.h>
#include <visp3/visual_features/vpFeatureBuilder.h>
#include <visp3/vs/vpServo.h>
int main()
{
try {
#if defined(VISP_HAVE_OGRE)
ogre.
init(background,
false,
true);
std::vector<std::string> name(4);
for (unsigned int i = 0; i < 4; i++) {
std::ostringstream s;
s << "Sphere" << i;
name[i] = s.str();
ogre.
load(name[i],
"Sphere.mesh");
0.02f);
}
light->setDiffuseColour(1, 1, 1);
light->setSpecularColour(1, 1, 1);
light->setPosition((Ogre::Real)cdMo[0][3], (Ogre::Real)cdMo[1][3], (Ogre::Real)(-cdMo[2][3]));
light->setType(Ogre::Light::LT_POINT);
#endif
for (int i = 0; i < 4; i++) {
}
wMo = wMc * cMo;
for (unsigned int iter = 0; iter < 150; iter++) {
for (int i = 0; i < 4; i++) {
}
#if defined(VISP_HAVE_OGRE)
#endif
}
std::cout << "Catch an exception: " << e << std::endl;
} catch (...) {
std::cout << "Catch an exception " << std::endl;
}
}