Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson.

Slides:



Advertisements
Similar presentations
Numeric Integration Methods Jim Van Verth Red Storm Entertainment
Advertisements

Formal Computational Skills
Chapter 6 Differential Equations
A TASTE OF CHAOS By Adam T., Andy S., and Shannon R.
Reactive and Potential Field Planners
Rigid Body Dynamics Jim Van Verth
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L8&9 KFUPM.
Chapter 9: Vector Differential Calculus Vector Functions of One Variable -- a vector, each component of which is a function of the same variable.
LINCS: A Linear Constraint Solver for Molecular Simulations Berk Hess, Hemk Bekker, Herman J.C.Berendsen, Johannes G.E.M.Fraaije Journal of Computational.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Integration Techniques
Ordinary Differential Equations
Dynamics of Rotational Motion
Dynamics of Articulated Robots Kris Hauser CS B659: Principles of Intelligent Robot Motion Spring 2013.
Game Physics – Part II Dan Fleck. Linear Dynamics Recap  Change in position (displacement) over time is velocity  Change in velocity over time is acceleration.
1Notes  Demetri Terzopoulos talk: Thursday, 4pm Dempster 310.
MAT 594CM S10Fundamentals of Spatial ComputingAngus Forbes Week 2 : Dynamics & Numerical Methods Goal : To write a simple physics simulation Topics: Intro.
Robot Dynamics – Newton- Euler Recursive Approach ME 4135 Robotics & Controls R. Lindeke, Ph. D.
ME Robotics Dynamics of Robot Manipulators Purpose: This chapter introduces the dynamics of mechanisms. A robot can be treated as a set of linked.
Ch. 7: Dynamics.
Forward Kinematics.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Introduction to ROBOTICS
Differential Equations and Boundary Value Problems
Computer graphics & visualization Rigid Body Simulation.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
Velocities and Static Force
Work Let us examine the work done by a torque applied to a system. This is a small amount of the total work done by a torque to move an object a small.
Vibrations and Waves Chapter 12.
Spring Topic Outline for Physics 1 Spring 2011.
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Erin Catto Blizzard Entertainment Numerical Integration.
CS559: Computer Graphics Lecture 38: Animation Li Zhang Spring 2008 Slides from Brian Curless at U of Washington.
Dynamics.  relationship between the joint actuator torques and the motion of the structure  Derivation of dynamic model of a manipulator  Simulation.
Spring Rigid Body Simulation. Spring Contents Unconstrained Collision Contact Resting Contact.
Robotics Chapter 5 – Path and Trajectory Planning
Computer Animation Algorithms and Techniques
Dynamics of Articulated Robots. Rigid Body Dynamics The following can be derived from first principles using Newton’s laws + rigidity assumption Parameters.
Lecture Fall 2001 Physically Based Animation Ordinary Differential Equations Particle Dynamics Rigid-Body Dynamics Collisions.
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
Dynamics Kris Hauser I400/B659, Spring Agenda Ordinary differential equations Open and closed loop controls Integration of ordinary differential.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Particle Systems.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Physics for Games Spring 2012.
Ordinary Differential Equations (ODEs) 1Michael Sokolov / Numerical Methods for Chemical Engineers / Explicit ODE Solvers Michael Sokolov ETH Zurich, Institut.
Integration for physically based animation CSE 3541 Matt Boggus.
Abj 4.2.2: Pressure, Pressure Force, and Fluid Motion Without Flow [Q2 and Q3] Area as A Vector Component of Area Vector – Projected Area Net Area.
CS274 Spring 01 Lecture 7 Copyright © Mark Meyer Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
Rigid Body Dynamics CSE169: Computer Animation
EE 460 Advanced Control and System Integration
Game Technology Animation V Generate motion of objects using numerical simulation methods Physically Based Animation.
PHY205 Ch16: Rotational Dynamics 1.Combination Translational and Rotational motion and Atwood machine 2.Discuss Ball rolling down incline from 3 different.
INTRODUCTION TO DYNAMICS ANALYSIS OF ROBOTS (Part 1)
Dynamics. Motion with Regard to Mass Particle Dynamics Mass concentrated in point Newton’s Equation Governs Motion f = M x.
Randomized KinoDynamic Planning Steven LaValle James Kuffner.
Numerical Integration for physically based animation
Advanced Computer Graphics Rigid Body Simulation
ECE 383 / ME 442 Fall 2015 Kris Hauser
Manipulator Dynamics 1 Instructor: Jacob Rosen
Integrators of higher order
Larmor Orbits The general solution of the harmonic oscillator equation
Lecture Rigid Body Dynamics.
Numerical integration for physically based animation
Outline: 5.1 INTRODUCTION
Manipulator Dynamics 2 Instructor: Jacob Rosen
Rigid Body Dynamics (unconstrained)
Numerical Analysis Lecture 37.
Outline: 5.1 INTRODUCTION
Physics 319 Classical Mechanics
GPAT – Chapter 7 Physics.
Presentation transcript:

Numerical Integration and Rigid Body Dynamics for Potential Field Planners David Johnson

Recall Define the world as a potential field –Towards goal –Away from obstacles

Robot Motion Move down the potential field to minimum –Think about contours Which way has zero change? Which way has maximum? The directional derivative gives the rate of change in a direction: D u f(x,y) = ∇ f(x,y). u –Move along the gradient

Gradient Descent Evaluate the gradient, move along it some step size, repeat

Difficulties Determining step size can be difficult Narrow canyons difficult

Gradient and Force This step is the same as since force is the gradient of a potential field This is just a non-Newtonian physics simulation – replace velocity with acceleration

Potential Field vs Physics Simulation Potential field planner can thus also be seen as a physics simulation Robot has state (its configuration and velocities) Goal and obstacle apply forces Evolve the state of the robot

Physics of a Point Based on ordinary differential equation (ODE): For physics examples, the f may be constant for x, as for gravity, might also be constant for t Initial value problem –Given start state, how does it change over time? –Path of a point over time is the integral curve

Integral Curve

Common way to solve the ODE Euler’s Method Many problems –No correction, so errors build –May diverge! –Requires tiny time steps to be at all useful, so is not efficient

Where does error come from? Look at Taylor series For taking time steps, So

Euler error Euler uses only first two terms of Taylor series Error dominated by missing quadratic

Use higher order Runge Kutta integration –Evaluates at multiple places to cancel out error Implicit integration –Has to invert small matrix, but allows big steps

Midpoint method a)Compute a normal Euler integration step b)Move halfway along that change and evaluate again for a half timestep c)Move from the original spot in the direction given by b), but for a full timestep. d)This is called a second order method

Determine Stepsize Fixed –Simulation is only as fast as worst case Measure change in taking a step vs 2 half steps

Stiff ODEs Equations with large constants –Example: keep x at zero –Euler integration –Diverges if

Stiff ODEs Can add energy into the system Use friction to dampen the system –Prevent out of control oscillations

Back to potential field planner Robot is not a point –Can we do this in configuration space? Apply forces to multiple locations on robot body (n particles on robot body) –Force –Torque

Rigid Body Dynamics Integrate force to get new translational velocity, position Integrate angular acceleration to get angular velocity, orientation In 2D, just (x,y,  ) and (x’,y’,  ’) 3D is more complicated

Back to Our Robot Sample points on the robot –Compute distance to goal –Compute distance to obstacles –Compute forces from each Apply forces to each point –Accumulate total force, total torque Do Euler integration to find new position, orientation