55 #include <visp/vpMatrix.h>
56 #include <visp/vpVelocityTwistMatrix.h>
57 #include <visp/vpBasicFeature.h>
58 #include <visp/vpServoException.h>
59 #include <visp/vpAdaptiveGain.h>
177 EYETOHAND_L_cVf_fVe_eJe,
197 } vpServoIteractionMatrixType;
203 } vpServoInversionType;
221 vpServo(vpServoType servoType) ;
242 vpMatrix computeInteractionMatrix() ;
245 unsigned int getDimension()
const ;
288 vpMatrix getTaskJacobianPseudoInverse()
const;
289 unsigned int getTaskRank()
const;
328 std::ostream &os = std::cout) ;
349 this->forceInteractionMatrixComputation = force_computation;
359 void setInteractionMatrixType(
const vpServoIteractionMatrixType &interactionMatrixType,
360 const vpServoInversionType &interactionMatrixInversion=PSEUDO_INVERSE) ;
372 lambda .initFromConstant (c) ;
388 const double gain_at_infinity,
389 const double slope_at_zero)
391 lambda .initStandard (gain_at_zero, gain_at_infinity, slope_at_zero) ;
407 void setMu(
double mu_){this->mu=mu_;}
409 void setServo(
const vpServoType &servo_type) ;
448 bool testInitialization() ;
Definition of the vpMatrix class.
Adaptive gain computation.
vpServoType servoType
Chosen visual servoing control law.
void set_fVe(const vpHomogeneousMatrix &fMe)
static const unsigned int FEATURE_ALL
bool interactionMatrixComputed
true if the interaction matrix has been computed.
bool taskWasKilled
Flag to indicate if the task was killed.
unsigned int rankJ1
Rank of the task Jacobian.
vpVelocityTwistMatrix cVf
Twist transformation matrix between Rf and Rc.
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
void set_fJe(const vpMatrix &fJe_)
vpVelocityTwistMatrix fVe
Twist transformation matrix between Re and Rf.
vpColVector sv
Singular values from the pseudo inverse.
vpColVector e1
Primary task .
void set_eJe(const vpMatrix &eJe_)
vpVelocityTwistMatrix get_cVe() const
vpMatrix fJe
Jacobian expressed in the robot reference frame.
vpColVector q_dot
Articular velocity.
unsigned int dim_task
Dimension of the task updated during computeControlLaw().
vpColVector getTaskSingularValues() const
vpServoInversionType inversionType
class that defines what is a visual feature
std::list< unsigned int > featureSelectionList
vpColVector getError() const
int signInteractionMatrix
vpMatrix J1
Task Jacobian .
vpMatrix L
Interaction matrix.
bool forceInteractionMatrixComputation
Force the interaction matrix computation even if it is already done.
void setForceInteractionMatrixComputation(bool force_computation)
vpMatrix getInteractionMatrix() const
vpVelocityTwistMatrix get_cVf() const
vpAdaptiveGain lambda
Gain used in the control law.
void setLambda(const double gain_at_zero, const double gain_at_infinity, const double slope_at_zero)
vpVelocityTwistMatrix cVe
Twist transformation matrix between Re and Rc.
Class that consider the particular case of twist transformation matrix that allows to transform a vel...
vpServoType getServoType() const
vpServoIteractionMatrixType
void set_cVf(const vpHomogeneousMatrix &cMf)
void set_fVe(const vpVelocityTwistMatrix &fVe_)
std::list< vpBasicFeature * > desiredFeatureList
List of desired visual features .
Class that provides a data structure for the column vectors as well as a set of operations on these v...
void set_cVe(const vpVelocityTwistMatrix &cVe_)
void set_cVe(const vpHomogeneousMatrix &cMe)
vpMatrix I_WpW
Projection operators .
vpColVector v
Camera velocity.
vpVelocityTwistMatrix get_fVe() const
bool errorComputed
true if the error has been computed.
vpMatrix WpW
Projection operators .
vpMatrix J1p
Pseudo inverse of the task Jacobian.
void setLambda(const vpAdaptiveGain &l)
std::list< vpBasicFeature * > featureList
List of current visual features .
void set_cVf(const vpVelocityTwistMatrix &cVf_)
vpServoIteractionMatrixType interactionMatrixType
Type of the interaction matrox (current, mean, desired, user)
vpMatrix eJe
Jacobian expressed in the end-effector frame.