raisim::ArticulatedSystem::IKResult
struct · #include <raisim/object/ArticulatedSystem/ArticulatedSystem.hpp>
Result of solveIK().
Public attributes
success
bool successTrue if both the position and (if enabled) orientation tolerances were met.
iterations
int iterationsIndex of the last evaluated iteration.
bestIteration
int bestIterationIndex of the iteration with the lowest residual.
residual
double residualCombined residual: sqrt(positionResidual^2 + (orientationWeight * orientationResidual)^2).
positionResidual
double positionResidualFrame position error norm [m].
orientationResidual
double orientationResidualFrame orientation error norm [rad] (0 if the orientation task is disabled).
bestResidual
double bestResidualLowest combined residual found.
bestPositionResidual
double bestPositionResidualPosition residual of the best iterate [m].
bestOrientationResidual
double bestOrientationResidualOrientation residual of the best iterate [rad].
solution
std::vector<double> solutionResulting generalized coordinate. On a failure without applyBestOnFailure, this is the original one.
bestSolution
std::vector<double> bestSolutionGeneralized coordinate of the best iterate.
bestFramePosition
Vec<3> bestFramePositionWorld-frame position of the frame at the best iterate [m].
bestFrameOrientation
Mat<3, 3> bestFrameOrientationWorld-frame orientation of the frame at the best iterate.
message
std::string message"ok" on success; otherwise a description of the failure.