pydy / pydy-tutorial-human-standing

PyDy tutorial materials for MASB 2014, PYCON 2014, and SciPy 2014/2015.
http://pydy.org
160 stars 70 forks source link

Quick overview of rigid body dynamics notebook #13

Closed moorepants closed 10 years ago

moorepants commented 10 years ago

15 min

chrisdembia commented 10 years ago

I have a branch for this already. Didn't do anything yet though; just made a notebook.

chrisdembia commented 10 years ago

Also, I don't think I should do the PyDy intro, so if you think you want those to be together, I could NOT do this.

moorepants commented 10 years ago

Do you think we should introduce rigid body dynamics with code (ReferenceFrame, Vectors, etc)? Or give a brief theory overview, then show the code to implement those concepts?

chrisdembia commented 10 years ago

I guess I think we should show it together. Otherwise, when people are looking at ReferenceFrame they might be thinking "what was that again?" If it's together it's like enhanced documentation for the classes.

On Thu, Jan 16, 2014 at 3:37 PM, Jason Moore notifications@github.comwrote:

Do you think we should introduce rigid body dynamics with code (ReferenceFrame, Vectors, etc)? Or give a brief theory overview, then show the code to implement those concepts?

— Reply to this email directly or view it on GitHubhttps://github.com/PythonDynamics/pydy-tutorial-pycon-2014/issues/13#issuecomment-32565045 .

chrisdembia commented 10 years ago

But maybe there can be a fairly brief overview without code so they can keep the stuff separate in their head, kinda. Either way, maybe one notebook is fine.

On Thu, Jan 16, 2014 at 4:00 PM, Christopher Dembia cld72@cornell.eduwrote:

I guess I think we should show it together. Otherwise, when people are looking at ReferenceFrame they might be thinking "what was that again?" If it's together it's like enhanced documentation for the classes.

On Thu, Jan 16, 2014 at 3:37 PM, Jason Moore notifications@github.comwrote:

Do you think we should introduce rigid body dynamics with code (ReferenceFrame, Vectors, etc)? Or give a brief theory overview, then show the code to implement those concepts?

— Reply to this email directly or view it on GitHubhttps://github.com/PythonDynamics/pydy-tutorial-pycon-2014/issues/13#issuecomment-32565045 .

moorepants commented 10 years ago

Ok, well start on what you think is appropriate and we can iterate.

chrisdembia commented 10 years ago

Okay. Saturday morning.

On Thu, Jan 16, 2014 at 4:04 PM, Jason Moore notifications@github.comwrote:

Ok, well start on what you think is appropriate and we can iterate.

— Reply to this email directly or view it on GitHubhttps://github.com/PythonDynamics/pydy-tutorial-pycon-2014/issues/13#issuecomment-32566715 .

chrisdembia commented 10 years ago

What about angular velocity, angular acceleration?

moorepants commented 10 years ago

Yes those are needed.

I also would like to show the v2point_theory equation because we will use that to automatically generate velocities of points on the same rigid body.

moorepants commented 10 years ago

I guess you could go light on angular acceleration. I'm going to use the Kane's method class which automatically computes the angular acceleration. We just need to remind them that Kane's method does compute linear and angular acceleration.

chrisdembia commented 10 years ago

Don't know where to put this but found this AWESOME list of ipython notebook features http://nbviewer.ipython.org/gist/theandygross/6872113

moorepants commented 10 years ago

Very cool, I never thought of that. Bootstrap is pretty awesome, and really neat that it can be utilized for representations of python objects.

chrisdembia commented 10 years ago

I can no longer commit to this.

moorepants commented 10 years ago

That's fine. This is a great start.

chrisdembia commented 10 years ago

If we decide to keep that style of figures, I will gladly make additional figures. Just let me know.

moorepants commented 10 years ago

Ok, I'm definitely going to use your figures. I'm going to splice up the base notebook and figure out which other figures we need. We may only need the main figure for the example. I'll let you know.

moorepants commented 10 years ago

Chris, What kind of tablet did you use? Yumi and I are thinking of buying one.

chrisdembia commented 10 years ago

http://www.houseofjapan.com/electronics/wacom-bamboo-multi-touch

I bought it in 2011. They don't sell this particular one anymore. It's not a completely enjoyable experience. I'm often frustrated with it, and sometimes I feel like I can draw better with my trackpoint. Its size is definitely sufficient for drawing figures though. You have to get used to "draw, ctrl+z, draw, ctrl+z" till you're happy with what you've drawn. Particularly when drawing a circle; it's hard for me to end where I started. For all the handwritten text in the figures, it took 2 or 3 writings before I was happy with how it looked. Handwriting is definitely the hardest to get to look nice.

I wonder if they're going to go out of business, with the growing prevalence touchscreen laptops.

On Mon, Jan 27, 2014 at 3:55 PM, Jason Moore notifications@github.comwrote:

Chris, What kind of tablet did you use? Yumi and I are thinking of buying one.

— Reply to this email directly or view it on GitHubhttps://github.com/PythonDynamics/pydy-tutorial-pycon-2014/issues/13#issuecomment-33437581 .

moorepants commented 10 years ago

I don't think this will go out of business, but the pads should display what you draw so you can close a circle correctly. That has to be technologically possible.

Touchscreens can only offer finger paiting resolution, I suspect. But i guess if the pressure sensitivity is in the pen that you can draw on a touchscreen table too.

Hmm. I wonder if we should buy one.

chrisdembia commented 10 years ago

You may be able to borrow one from your library to try it out.

On Mon, Jan 27, 2014 at 5:13 PM, Jason Moore notifications@github.comwrote:

I don't think this will go out of business, but the pads should display what you draw so you can close a circle correctly. That has to be technologically possible.

Touchscreens can only offer finger paiting resolution, I suspect. But i guess if the pressure sensitivity is in the pen that you can draw on a touchscreen table too.

Hmm. I wonder if we should buy one.

— Reply to this email directly or view it on GitHubhttps://github.com/PythonDynamics/pydy-tutorial-pycon-2014/issues/13#issuecomment-33442284 .

chrisdembia commented 10 years ago

What is the status of work on this notebook? It is incomplete. I hope you weren't expecting I was going to finish it =/

moorepants commented 10 years ago

No I wasn't. I'm working on it. I have a branch with some changes. The notebook is great, my only worry is that I may not be able to make the final sections as nice as you did! I'll try.

chrisdembia commented 10 years ago

Oh shush. Did you end up buying a tablet? I'm happy to make figures. Also, remember the LaTeX macros at the top.

moorepants commented 10 years ago

I added some content to fill things out in b2e52475b1a2edfd1d60a57b0eae11befb6ad33f, I'm going to try and add some more this evening to improve what I wrote.

moorepants commented 10 years ago

Ok, this is as good as it is gonna get for now.