Closed ManolisCh closed 6 years ago
Hi @ManolisCh,
This is probably caused by a 7-DOF arm rather than 6-DOF. I'll have to look into it more. Theoretically, the algorithm should work but I'll have to do some debugging.
Can you please zip your files (including the Schunk files) and email them to me? That would save some time. andyz at utexas.edu
Yes the arm is 7-DOF idd. I have send you the files. Thank you very much!
I have a simulation running with a Motoman SIA5 - also 7DOF, and it has the same issue. So it's not just you ;) Now, to fix it...
I'll push some code later today, but here's the fix in a nutshell. Replace checkConditionNumber()
with this:
// Calculate the condition number of the jacobian, to check for singularities
double JogCalcs::checkConditionNumber(const Eigen::MatrixXd& matrix) const
{
Eigen::JacobiSVD<Eigen::MatrixXd> svd(matrix);
return svd.singularValues()(0)
/ svd.singularValues()(svd.singularValues().size()-1);;
}
I was trying to calculate the eigenvalues of a non-square matrix. No can do.
thats great! Many thanks! I will check it out once you have pushed the fix and I will let you know.
318ebfb
Hi,
I get an error when I try to give a joystick command to jog in any of the axis. So, first I run the arm drivers which they work fine. Then I run moveit and I make sure it works fine. Then I run the default launch file included in the jog_arm package. Everything seems to work fine until the moment I press any of the buttons/axis of the joystick to actually move the arm. I get this error:
My setup is ubuntu 16.04, ROS kinetic, xbox joystick and schunk lwa4d arm. The jog_arm settings I use are the following:
thanks in advance for your time!