Skip to content

Fix reference to local variable #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: indigo-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sns_ik_lib/src/sns_position_ik.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ namespace sns_ik {
SNSPositionIK::SNSPositionIK(KDL::Chain chain, std::shared_ptr<SNSVelocityIK> velocity_ik, double eps) :
m_chain(chain),
m_ikVelSolver(velocity_ik),
m_positionFK(chain),
m_jacobianSolver(chain),
m_positionFK(m_chain),
m_jacobianSolver(m_chain),
m_linearMaxStepSize(0.2),
m_angularMaxStepSize(0.2),
m_maxIterations(150),
Expand Down
2 changes: 1 addition & 1 deletion sns_ik_lib/test/sns_ik_pos_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ PosTestResult runPosIkSingleTest(int seed, const KDL::JntArray& qLow, const KDL:
}

// loop over each solver type
KDL::JntArray qSoln;
KDL::JntArray qSoln(qLow.rows());
PosTestResult result;
result.solveTime = ros::Duration(0);
result.nPass = 0;
Expand Down