I found this example [1], which is very helpful. All I need is a torque term at the "P" joint. Then when I linearize the equations of motion, I hope to get a 4-by-4 "A" matrix and a 4-by-1 "B" matrix.
[1] http://pydy.org/index.php?title=Double_Pendulum#Integration_with_Scipy On Jan 18, 3:41 pm, Gustavo <gustavo.goret...@gmail.com> wrote: > I'm looking to use the physics.mechanics module to get the equations > of motions for a double pendulum actuated at the center joint, and get > the linearized dynamics about certain points. I know that this can be > done using the Lagrangian, but I'd like to try to use the mechanics > module. > > I see the examples here [1] but I am having trouble applying that to > the double pendulum. I have only an introductory classical mechanics > background, so I'm hoping that the mechanics module will let me > assemble a dynamical system, impose some constraints, and then > generate the equations of motion. > > Thanks, > Gustavo > > [1]http://docs.sympy.org/dev/modules/physics/mechanics/examples.html -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.