130 else if (
E_DEGRADED ==
error)
return "Converged but degraded solution";
132 else if (
E_SIZE_MISMATCH ==
error)
return "The size of the input does not match the internal state";
137 else return "UNKNOWN ERROR";
No error.
Definition: solveri.hpp:91
Chain size changed.
Definition: solveri.hpp:97
Maximum number of iterations exceeded.
Definition: solveri.hpp:101
Solver interface supporting storage and description of the latest error.
Definition: solveri.hpp:84
Input size does not match internal state.
Definition: solveri.hpp:99
virtual void updateInternalDataStructures()=0
Update the internal data structures.
Failed to converge.
Definition: solveri.hpp:93
Undefined value (e.g. computed a NAN, or tan(90 degrees) )
Definition: solveri.hpp:95
Converged but degraded solution (e.g. WDLS with psuedo-inverse singular)
Definition: solveri.hpp:89
Not yet implemented.
Definition: solveri.hpp:105
Definition: articulatedbodyinertia.cpp:28
Internal svd calculation failed.
Definition: solveri.hpp:107
Requested index out of range.
Definition: solveri.hpp:103
SolverI()
Initialize latest error to E_NOERROR.
Definition: solveri.hpp:111
virtual int getError() const
Return the latest error.
Definition: solveri.hpp:119
virtual const char * strError(const int error) const
Return a description of the latest error.
Definition: solveri.hpp:125
virtual ~SolverI()
Definition: solveri.hpp:115
int error
Latest error, initialized to E_NOERROR in constructor.
Definition: solveri.hpp:149