Mod/Robot: fix spacing and add a couple of FIXME's
It's to be considered to delete the class ChainIkSolverVel_pinv_nso: it seems it's not used anythere and unmantained/unfinished for many years.
This commit is contained in:
parent
4326c9657e
commit
efb08237ac
|
@ -28,6 +28,10 @@
|
||||||
|
|
||||||
namespace KDL
|
namespace KDL
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// FIXME: seems this class is unused/unmaintained/unfinished for several years
|
||||||
|
// it supposed to be either fixer or removed
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of a inverse velocity kinematics algorithm based
|
* Implementation of a inverse velocity kinematics algorithm based
|
||||||
* on the generalize pseudo inverse to calculate the velocity
|
* on the generalize pseudo inverse to calculate the velocity
|
||||||
|
@ -60,8 +64,10 @@ namespace KDL
|
||||||
* @param alpha the null-space velocity gain
|
* @param alpha the null-space velocity gain
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// FIXME: alpha is int but is initialized with a float value.
|
||||||
ChainIkSolverVel_pinv_nso(const Chain& chain, JntArray opt_pos, JntArray weights, double eps=0.00001,int maxiter=150, int alpha = 0.25);
|
ChainIkSolverVel_pinv_nso(const Chain& chain, JntArray opt_pos, JntArray weights, double eps=0.00001,int maxiter=150, int alpha = 0.25);
|
||||||
ChainIkSolverVel_pinv_nso(const Chain& chain, double eps=0.00001,int maxiter=150, int alpha = 0.25);
|
ChainIkSolverVel_pinv_nso(const Chain& chain, double eps=0.00001,int maxiter=150, int alpha = 0.25);
|
||||||
~ChainIkSolverVel_pinv_nso();
|
~ChainIkSolverVel_pinv_nso();
|
||||||
|
|
||||||
virtual int CartToJnt(const JntArray& q_in, const Twist& v_in, JntArray& qdot_out);
|
virtual int CartToJnt(const JntArray& q_in, const Twist& v_in, JntArray& qdot_out);
|
||||||
|
@ -72,29 +78,29 @@ namespace KDL
|
||||||
virtual int CartToJnt(const JntArray& q_init, const FrameVel& v_in, JntArrayVel& q_out){return -1;};
|
virtual int CartToJnt(const JntArray& q_init, const FrameVel& v_in, JntArrayVel& q_out){return -1;};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*Set joint weights for optimization criterion
|
*Set joint weights for optimization criterion
|
||||||
*
|
*
|
||||||
*@param weights the joint weights
|
*@param weights the joint weights
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
virtual int setWeights(const JntArray &weights);
|
virtual int setWeights(const JntArray &weights);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*Set optimal joint positions
|
*Set optimal joint positions
|
||||||
*
|
*
|
||||||
*@param opt_pos optimal joint positions
|
*@param opt_pos optimal joint positions
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
virtual int setOptPos(const JntArray &opt_pos);
|
virtual int setOptPos(const JntArray &opt_pos);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*Set null psace velocity gain
|
*Set null psace velocity gain
|
||||||
*
|
*
|
||||||
*@param alpha NUllspace velocity cgain
|
*@param alpha NUllspace velocity cgain
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
virtual int setAlpha(const int alpha);
|
virtual int setAlpha(const int alpha);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const Chain chain;
|
const Chain chain;
|
||||||
|
@ -109,9 +115,9 @@ namespace KDL
|
||||||
double eps;
|
double eps;
|
||||||
int maxiter;
|
int maxiter;
|
||||||
|
|
||||||
int alpha;
|
int alpha;
|
||||||
JntArray weights;
|
JntArray weights;
|
||||||
JntArray opt_pos;
|
JntArray opt_pos;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user