I have done all sorts of pendulae, single, double, triple..... If you could send your code, maybe I could find a mistake. Peter
On Mon 4. Apr 2022 at 13:00, n doherty <[email protected]> wrote: > Hi, > Looking for some help if possible. I was recently trying to get the > equations of motion of a double pendulum via SymPy. When I used > "kanes_equations" to obtain Fr and Fr* I got the above TypeError message. > > I have the loads and the bodies contained in lists which are input into > the kanes_equation method, which I think is causing the problem here? If I > apply the method for a single pendulum with a single body (not contained in > a list or array) kanes_equations works fine. > > I suspect it's a newer version of sympy or python which is causing the > issue. If I try to perform the same method on the human standing tutorial > I get the same error but for the bodies being RigidBody instead of > Particle. I've run this tutorial and numerous other examples in the past > without this error occurring. > > Is there a known workaround to this issue? > > Thanks, > Nick > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/0a4cea0a-8050-4765-873f-7a0a0857b606n%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/0a4cea0a-8050-4765-873f-7a0a0857b606n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Best regards, Peter Stahlecker -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CABKqA0abiB-FrYO7AP8tLnK6RPi8MmhDjAoURvD539OMQX0Vzg%40mail.gmail.com.
