Expose IK solver options including DLS and SDLS.

This commit is contained in:
yunfeibai committed 2017-10-19 14:00:53 -07:00
1 parent 1393666a83
commit dda1b05f4a
10 files changed
+64 -20

No files matched your search

+2 -1
View File
@@ -462,7 +462,8 @@ void Jacobian::CalcDeltaThetasSDLS()
// Calculate response vector dTheta that is the SDLS solution.
// Delta target values are the dS values
int nRows = J.GetNumRows();
int numEndEffectors = m_tree->GetNumEffector(); // Equals the number of rows of J divided by three
// TODO: Modify it to work with multiple end effectors.
int numEndEffectors = 1;
int nCols = J.GetNumColumns();
dTheta.SetZero();