News for hackers. Stuff that matters.

moorepants

Re:SymPy 1.7 on Friday December 04, 2020 @05:23AM (#25300850)
The packages in SymPy that help you do this are:

sympy.physics.vector (https://docs.sympy.org/dev/modules/physics/vector/index.html

and

sympy.physics.mechanics (https://docs.sympy.org/dev/modules/physics/mechanics/index.h...)

You can ultimately simulate and visualize dynamical systems:

https://pydy.readthedocs.io/en/latest/examples/multidof-holo...

Re:SymPy 1.7 on Friday December 04, 2020 @05:18AM (#25300822)
We'd love to see that project. This past year we introduced a control package:

https://docs.sympy.org/dev/modules/physics/control/

We'd love for this to be improved and grow.

Re:Bicycle Control Design in Python on Sunday July 15, 2018 @04:03PM (#17536778)
Seems that plotly throttles # of views per plot if the user doesn't pay for an upgrade.
Re:Bicycle Control Design in Python on Sunday July 15, 2018 @04:03PM (#17536774)
Do you mean zero gravity? The "bricycle": https://www.tandfonline.com/doi/abs/10.1080/00423114.2014.95...
Re:Bicycle Control Design in Python on Sunday July 15, 2018 @04:01PM (#17536764)
You can. I'd recommend a rate gyro instead of an accelerometer though.
Re:Bicycle Control Design in Python on Sunday July 15, 2018 @04:01PM (#17536760)
Actually the control of the bicycle is surprisingly simple regarding how complex the vehicle dynamics are. A simple proportional feedback control based on a roll rate measurement can balance a bicycle, causing it to always steer into the fall.
Re:Bicycle Control Design in Python on Sunday July 15, 2018 @04:00PM (#17536755)
Newton and friends had nothing to do with discovery of feedback controls :)