RBPbot Operational Space Control - lambda_inv is singular

Issue #14 resolved
Eric Jang created an issue

svd.compute() fails in COpPointTask.cpp when lambda_inv is singular. This happened when we ran the scl_eg_ctrl with the RPB-bot.

Assertion '(!m_computeThinU || computeThinV || (MatrixType::ColsAtCompileTime==Dynamic)) && "JacobiSVD: thin U and V are only available whne your matrix has a dynamic number of columns."' failed.

Comments (6)

  1. Samir Menon repo owner

    Temporary workaround : Changing the operational task controller to compute the full u and v in the svd makes it work.

    COpPointTask.cpp : Change Line 205 to:

    svd_.compute(data_->lambda_inv_, Eigen::ComputeFullU | Eigen::ComputeFullV | Eigen::ColPivHouseholderQRPreconditioner);

    Then recompile scl lib and the example controller

  2. Log in to comment