48 #include <visp/vpDebug.h>
49 #include <visp/vpExponentialMap.h>
50 #include <visp/vpHomogeneousMatrix.h>
51 #include <visp/vpRobotException.h>
52 #include <visp/vpSimulatorCamera.h>
72 void vpSimulatorCamera::init()
174 for (
unsigned int i=0; i < 3; i++) {
175 q[i] = this->
wMc_[i][3];
182 std::cout <<
"MIXT_FRAME is not implemented in vpSimulatorCamera::getPosition()" << std::endl;
228 for (
unsigned int i=0; i<3; i++)
230 for (
unsigned int i=3; i<6; i++)
240 vpERROR_TRACE (
"Cannot set a velocity in the reference frame: "
241 "functionality not implemented");
243 "Cannot set a velocity in the reference frame:"
244 "functionality not implemented");
248 "functionality not implemented");
250 "Cannot set a velocity in the mixt frame:"
251 "functionality not implemented");
void setPosition(const vpHomogeneousMatrix &wMc)
Definition of the vpMatrix class.
void resize(const unsigned int nrows, const unsigned int ncols, const bool nullify=true)
void get_cVe(vpVelocityTwistMatrix &cVe)
Error that can be emited by the vpRobot class and its derivates.
void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)
void setMaxTranslationVelocity(const double maxVt)
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
virtual vpRobotStateType getRobotState(void)
double getMaxTranslationVelocity(void) const
Initialize the position controller.
static vpColVector saturateVelocities(const vpColVector &v_in, const vpColVector &v_max, bool verbose=false)
double getMaxRotationVelocity(void) const
virtual vpRobotStateType setRobotState(const vpRobot::vpRobotStateType newState)
The vpRotationMatrix considers the particular case of a rotation matrix.
int eJeAvailable
is the robot Jacobian expressed in the end-effector frame available
void setIdentity(const double &val=1.0)
Initialize the velocity controller.
void getPosition(vpHomogeneousMatrix &wMc) const
void extract(vpRotationMatrix &R) const
Class that consider the particular case of twist transformation matrix that allows to transform a vel...
virtual ~vpSimulatorCamera()
int areJointLimitsAvailable
static double rad(double deg)
void setMaxRotationVelocity(const double maxVr)
int nDof
number of degrees of freedom
vpMatrix eJe
robot Jacobian expressed in the end-effector frame
Class that provides a data structure for the column vectors as well as a set of operations on these v...
static vpHomogeneousMatrix direct(const vpColVector &v)
Class that consider the case of the Euler angle using the x-y-z convention, where are respectively ...
vpControlFrameType setRobotFrame(vpRobot::vpControlFrameType newFrame)
int fJeAvailable
is the robot Jacobian expressed in the robot reference frame available
void get_eJe(vpMatrix &eJe)
void buildFrom(const double phi, const double theta, const double psi)
void resize(const unsigned int i, const bool flagNullify=true)