cs 287 lecture 21 fall 2019 physics simulation
play

CS 287 Lecture 21 (Fall 2019) Physics Simulation Pieter Abbeel UC - PowerPoint PPT Presentation

CS 287 Lecture 21 (Fall 2019) Physics Simulation Pieter Abbeel UC Berkeley EECS A lightning tour of physics simulation n Newtons Laws Rigid Body Motion n Lagrangian Formulation n Continuous Time Discrete Time n Contact / Collisions


  1. CS 287 Lecture 21 (Fall 2019) Physics Simulation Pieter Abbeel UC Berkeley EECS

  2. A lightning tour of physics simulation n Newton’s Laws – Rigid Body Motion n Lagrangian Formulation n Continuous Time à Discrete Time n Contact / Collisions

  3. Want to learn more? Featherstone book : Rigid Body Dynamics Algorithms n Mujoco n book: http://www.mujoco.org/book/computation.html n mujoco paper: https://homes.cs.washington.edu/~todorov/papers/TodorovIROS12.pdf n Bullet n simulation: https://docs.google.com/presentation/d/1-UqEzGEHdskq8blwNWqdgnmUDwZDPjlZUvg437z7XCM/edit#slide=id.ga4b37291a_0_0 n Constraint solving: https://docs.google.com/presentation/d/1wGUJ4neOhw5i4pQRfSGtZPE3CIm7MfmqfTp5aJKuFYM/edit#slide=id.ga4b37291a_0_0 n constraints / collisions : https://www.toptal.com/game/video-game-physics-part-iii-constrained-rigid-body-simulation n

  4. Newton n Point mass: n Rigid body:

  5. Lagrangian Dynamics -- Motivation n Newton n Generally applicable n But can become a bit cumbersome in multi-body systems with constraints/internal forces n Lagrangian dynamics method eliminates the internal forces from the outset and expresses dynamics w.r.t. the degrees of freedom of the system

  6. Lagrangian Dynamics n r i : generalized coordinates n T: total kinetic energy n U: total potential energy n Q i : generalized forces n Lagrangian L = T – U à Lagrangian dynamic equations: [Nice reference: Goldstein, Poole and Satko, “Classical Mechanics”]

  7. Lagrangian Dynamics: Point Mass Example

  8. Lagrangian Dynamics: Simple Double Pendulum q 1 = θ 1 , q 2 = θ 2 , s i = sin θ i , c i = cos θ i , s 1+2 = sin( θ 1 + θ 2 ) [From: Tedrake Appendix A]

  9. Car Standard (kinematic) car models: (Lavalle, Planning Algorithms, 2006, Chapter 13) n Tricycle: n Simple Car: n Reeds-Shepp Car: n Dubins Car: n

  10. Cart-pole H ( q )¨ q + C ( q, ˙ q ) + G ( q ) = B ( q ) u [See also Section 3.3 in Tedrake notes.]

  11. Acrobot H ( q )¨ q + C ( q, ˙ q ) + G ( q ) = B ( q ) u [See also Section 3.2 in Tedrake notes.]

  12. Friction & Drag n Friction: n Static friction coefficient mu > Dynamic friction coefficient mu n Drag:

  13. Robot Specification? n Denavit Hartenberg Parameterization n In implementation: URDF Files

  14. A lightning tour of physics simulation n Newton’s Laws – Rigid Body Motion n Lagrangian Formulation n Continuous Time à Discrete Time n Contact / Collisions

  15. Forward Euler (Explicit)

  16. Backward Euler (Implicit)

  17. Symplectic Euler (aka Semi-Implicit Euler) https://en.wikipedia.org/wiki/Semi-implicit_Euler_method

  18. Runge-Kutta

  19. A lightning tour of physics simulation n Newton’s Laws – Rigid Body Motion n Lagrangian Formulation n Continuous Time à Discrete Time n Contact / Collisions

  20. Collision Checking n Broad phase n Narrow phase

  21. Broad Phase Collision Checking n Quadtrees/spatial n Conservative checks https://www.toptal.com/game/video-game-physics-part-ii-collision-detection-for-solid-objects

  22. Broad Phase Collision Checking n Quadtrees/spatial n Conservative checks

  23. Broad Phase Collision Checking n Quadtrees/spatial n Conservative checks

  24. Broad Phase Collision Checking n Quadtrees/spatial n Conservative checks

  25. Narrow Phase Collision Checking n Convex-Convex ---- separating axis theorem

  26. Narrow Phase Collision Checking n Gilbert-Johnson-Keerthi (GJK) Algorithm n Expanding Polytopes Algorithm (EPA)

  27. Contact n Impulse formulation

  28. Mujoco

  29. Bullet

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend