コード例 #1
0
ファイル: vpServo.cpp プロジェクト: nttputus/visp
void
vpServo::setServo(vpServoType _servoType)
{

  servoType = _servoType ;

  if ((servoType==EYEINHAND_CAMERA) ||(servoType==EYEINHAND_L_cVe_eJe))
    signInteractionMatrix = 1 ;
  else
    signInteractionMatrix = -1 ;



  // when the control is directly compute in the camera frame
  // we relieve the end-user to initialize cVa and aJe
  if (servoType==EYEINHAND_CAMERA)
    {
      vpVelocityTwistMatrix _cVe ; set_cVe(_cVe) ;

      vpMatrix _eJe ;
      _eJe.eye(6) ;
      set_eJe(_eJe) ;
    };

}
コード例 #2
0
 void HandTask::setJacobian(const vpMatrix& jacobian)
 {
   set_eJe(const_cast<vpMatrix&>(jacobian));
 }