iron76 / bnt_time_varying

Maximum-a-posteriori dynamic estimation for linkwise dynamic quantities
Other
1 stars 1 forks source link

Numeric instability due to partial regularisation factor (prior on d) #15

Open iron76 opened 9 years ago

iron76 commented 9 years ago

In the current implementation, the prior on d (dynamic variables) is specified only for a subset of the vector itself (external forces fx and joint accelerations d2q). It can be proven that this prior is sufficient to guarantee invertibility of the matrix to be inverted in the estimation procedure. It turns out that, even if invertible, the matrix is badly conditioned. The issue can be solved implementing a prior on the entire vector d.

iron76 commented 8 years ago

The observed numerical instability might be related to the fact joint space inertia matrix can be highly ill-conditioned for a large number of rigid links. Some empirical studies in this direction have been conducted by R. Featherstone (http://royfeatherstone.org/papers/empirical.pdf). A possible solution might be the inertia-weighted scaling proposed in the paper.