Drop all target variables from the KinematicsSolver object
clearTargetVariables( drops all target
variables from the
ks. Target variables guide joints and bodies into place for analysis.
Use this function if none of the target variables are any longer relevant—for example, to
formulate a different kinematic problem to solve.
The figure shows the variables of a general
Target (T), guess (G), and
output (O) variables can be joint variables (J) or frame variables (F). The
same variable can serve as target and output, but if it serves as target, it cannot double
as guess. Assigning a guess variable as target clears it as guess.
ks — Kinematics solver object
KinematicsSolver object is the representation of a Simscape
Multibody model used for kinematic analysis.
Example: ks = simscape.multibody.KinematicsSolver('sm_double_pendulum')