#include <visp3/core/vpColVector.h>
#include <visp3/core/vpConfig.h>
#include <visp3/core/vpExponentialMap.h>
#include <visp3/core/vpHomogeneousMatrix.h>
#include <visp3/core/vpRotationVector.h>
#include <visp3/core/vpRxyzVector.h>
#include <visp3/core/vpThetaUVector.h>
#include <visp3/core/vpTranslationVector.h>
int main()
{
#ifdef ENABLE_VISP_NAMESPACE
#endif
try {
t[0] = 0.1;
t[1] = 0.2f;
t[2] = 0.f;
v[0] = t[0];
v[1] = t[1];
v[2] = t[2];
v[3] = tu[0];
v[4] = tu[1];
v[5] = tu[2];
std::cout << "Considered velocity : \n" << v << std::endl;
{
std::cout << "Displacement if velocity is applied during 1 s : \n" << dt << " " << drxyz << std::endl;
}
{
std::cout << "Displacement if velocity is applied during 2 s : \n" << dt << " " << drxyz << std::endl;
}
std::cout << "Velocity from displacement observed during 2 s: \n" << v << std::endl;
return EXIT_SUCCESS;
}
std::cout << "Catch an exception: " << e << std::endl;
return EXIT_FAILURE;
}
}
Implementation of column vector and the associated operations.
error that can be emitted by ViSP classes.
static vpHomogeneousMatrix direct(const vpColVector &v)
static vpColVector inverse(const vpHomogeneousMatrix &M)
Implementation of an homogeneous matrix and operations on such kind of matrices.
void extract(vpRotationMatrix &R) const
static double rad(double deg)
Implementation of a rotation matrix and operations on such kind of matrices.
Implementation of a rotation vector as Euler angle minimal representation.
Implementation of a rotation vector as axis-angle minimal representation.
vpThetaUVector & buildFrom(const vpHomogeneousMatrix &M)
Class that consider the case of a translation vector.