41 #include <visp3/core/vpDebug.h>
42 #include <visp3/core/vpExponentialMap.h>
43 #include <visp3/core/vpHomogeneousMatrix.h>
44 #include <visp3/robot/vpRobotException.h>
45 #include <visp3/robot/vpSimulatorCamera.h>
62 void vpSimulatorCamera::init()
152 for (
unsigned int i = 0; i < 3; i++) {
153 q[i] = this->
wMc_[i][3];
160 std::cout <<
"MIXT_FRAME is not implemented in vpSimulatorCamera::getPosition()" << std::endl;
163 std::cout <<
"END_EFFECTOR_FRAME is not implemented in vpSimulatorCamera::getPosition()" << std::endl;
201 for (
unsigned int i = 0; i < 3; i++)
203 for (
unsigned int i = 3; i < 6; i++)
214 "functionality not implemented");
218 "functionality not implemented");
223 "functionality not implemented");
Implementation of column vector and the associated operations.
void resize(unsigned int i, bool flagNullify=true)
static vpHomogeneousMatrix direct(const vpColVector &v)
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 matrix and operations on matrices.
Error that can be emitted by the vpRobot class and its derivatives.
@ wrongStateError
Wrong robot state.
int nDof
number of degrees of freedom
vpMatrix eJe
robot Jacobian expressed in the end-effector frame
virtual vpRobotStateType getRobotState(void) const
static vpColVector saturateVelocities(const vpColVector &v_in, const vpColVector &v_max, bool verbose=false)
int areJointLimitsAvailable
int fJeAvailable
is the robot Jacobian expressed in the robot reference frame available
@ STATE_POSITION_CONTROL
Initialize the position controller.
@ STATE_VELOCITY_CONTROL
Initialize the velocity controller.
double getMaxRotationVelocity(void) const
virtual vpRobotStateType setRobotState(const vpRobot::vpRobotStateType newState)
int eJeAvailable
is the robot Jacobian expressed in the end-effector frame available
double getMaxTranslationVelocity(void) const
void setMaxRotationVelocity(double maxVr)
vpControlFrameType setRobotFrame(vpRobot::vpControlFrameType newFrame)
void setMaxTranslationVelocity(double maxVt)
Implementation of a rotation matrix and operations on such kind of matrices.
Implementation of a rotation vector as Euler angle minimal representation.
vpRxyzVector & buildFrom(const vpRotationMatrix &R)
void get_eJe(vpMatrix &eJe) VP_OVERRIDE
void setPosition(const vpHomogeneousMatrix &wMc)
void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel) VP_OVERRIDE
vpHomogeneousMatrix getPosition() const
void get_cVe(vpVelocityTwistMatrix &cVe) const