JointsMethod() is SymPy's deprecated JointsMethod: it collects the
bodies, loads, coordinates, speeds and kinematic equations of the given
joints, and form_eoms(method) (reached with $) forms the equations
of motion with KanesMethod() (the default) or LagrangesMethod().
New code should use System().
Examples
P <- RigidBody("P")
C <- RigidBody("C")
J <- PinJoint("J", P, C)
method <- suppressWarnings(JointsMethod(P, J))
method$q
#> Matrix(1, 1)
#> [q_J(t)]