Skip to contents

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().

Usage

JointsMethod(newtonion, ...)

Arguments

newtonion

The Newtonian frame, or a body whose frame is used.

...

Joints.

Value

A JointsMethod object.

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)]