pydy_examples
pydy_examples copied to clipboard
[WIP] 3 link pendulum
Tarun,
The derivation looks correct to me. You'll have to simulated it to see if behaves correctly. Please make a figure (or find a creative commons licensed one) to include and add more detail to the read me.
i am rather more aligned on writing some javascripts, for simulation. it would be nice to see the pendulums in a 3D version ...
On 6/24/13, Jason Moore [email protected] wrote:
Tarun,
The derivation looks correct to me. You'll have to simulated it to see if behaves correctly. Please make a figure (or find a creative commons licensed one) to include and add more detail to the read me.
Reply to this email directly or view it on GitHub: https://github.com/PythonDynamics/pydy_examples/pull/10#issuecomment-19919273
The simulation (ode integration) should happen in Python (I don't know of any ode tools in javascript). You don't get any free visualization without simulation.
I think if you do a one-off simulation/visualization for this problem it will be a good exercise in understanding what methods you will need to develop for the final API. So please go ahead a do an example visualization of this more complicated problem. And use what you learn in the process to flesh out the python and javascript api designs that you are working on.
BTW, I'll merge this example as soon as you add the figure and beef up the readme.
Oh yeah and one more thing: switch to no loops or loops in the problem derivation so that it is consistent with itself.
Fix those three things and we will merge this in.
yes simulation would be in python only. i should have used the word animation there. so i will work on this problem + webgl simulation, then it can be merged. i would also write rough(more specific to this problem) implementations of functions/methods which are mentioned in this particular problem, so that we know how things go off.
On 6/24/13, Jason Moore [email protected] wrote:
Oh yeah and one more thing: switch to no loops or loops in the problem derivation so that it is consistent with itself.
Fix those three things and we will merge this in.
Reply to this email directly or view it on GitHub: https://github.com/PythonDynamics/pydy_examples/pull/10#issuecomment-19922133
yes simulation would be in python only. i should have used the word animation there. so i will work on this problem + webgl Animation(there, i corrected it :) ), then it can be merged. i would also write rough(more specific to this problem) implementations of functions/methods which are mentioned in this particular problem, so that we know how things go off.
On 6/24/13, Jason Moore [email protected] wrote:
Oh yeah and one more thing: switch to no loops or loops in the problem derivation so that it is consistent with itself.
Fix those three things and we will merge this in.
Reply to this email directly or view it on GitHub: https://github.com/PythonDynamics/pydy_examples/pull/10#issuecomment-19922133
Here are some suggestions for the visualization:
Attach some shape to each bob (dont' use a sphere, make it more general like an ellipsoid). Attach different shapes to each pendulum arm. But also try to attach a shape to a reference frame/point other than the CoM of these objects. Maybe try to attach cubes to your pendulum arm to make it look like a cross. I think making more general choices of shapes and their locations will show you the need for some of the methods we've been talking about on the python side. Make sure that you generate all of the equatiosn necessary to describe the shapes's locations on the python side. Only data should flow into your javascript.
noted. if it is fine i would like to spend some time on this one. two days perhaps. it basically defines how we proceed with the project.
On 6/24/13, Jason Moore [email protected] wrote:
Here are some suggestions for the visualization:
Attach some shape to each bob (dont' use a sphere, make it more general like an ellipsoid). Attach different shapes to each pendulum arm. But also try to attach a shape to a reference frame/point other than the CoM of these objects. Maybe try to attach cubes to your pendulum arm to make it look like a cross. I think making more general choices of shapes and their locations will show you the need for some of the methods we've been talking about on the python side. Make sure that you generate all of the equatiosn necessary to describe the shapes's locations on the python side. Only data should flow into your javascript.
Reply to this email directly or view it on GitHub: https://github.com/PythonDynamics/pydy_examples/pull/10#issuecomment-19922876
I'm fine with that. Like I said, I think doing so will help define your API design. So the goal will be to animation the 3 link conical pendulum and then rework your API design to reflect what was learned. We can discuss the API at that time hopefully coming to a final decision.
Outstanding issues:
- [x] Add a figure
- [x] More detail in the readme
- [x] Fix the kinematical differential equation definitions so that you get correct EoM
This needs to be merged into one directory with the stuff in PR #11.