Spaces:
Sleeping
Sleeping
File size: 1,268 Bytes
5f38e95 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | """Model calibration / parameter identification from experimental logs.
The canonical CDPR identification problem: given a recorded set of
``(pose, cable_lengths)`` samples and a nominal :class:`Robot` config,
find the parameter perturbations that minimise
.. math::
\\sum_k \\bigl\\lVert
\\mathbf{L}_k^\\text{recorded} - \\mathbf{L}_k^\\text{model}(\\mathbf{q}_k;\\, \\boldsymbol\\phi)
\\bigr\\rVert^2.
The :class:`IdentificationProblem` collects a parameter mask + bounds;
:func:`identify` runs the bounded nonlinear least-squares solve and
returns an :class:`IdentificationResult` with the fitted values,
residual statistics, and an iteration log. The :func:`apply_result`
helper materialises a new :class:`Robot` with the calibration applied
so downstream simulations can run against the corrected model.
"""
from cdpr.identification.parameters import (
IdentifiableGroup,
IdentifiableParameters,
ParameterBounds,
)
from cdpr.identification.problem import (
IdentificationProblem,
IdentificationResult,
apply_result,
identify,
)
__all__ = [
"IdentifiableGroup",
"IdentifiableParameters",
"ParameterBounds",
"IdentificationProblem",
"IdentificationResult",
"identify",
"apply_result",
]
|