How to Plan Coordinated Motions ? Marcelo Kallmann - - PowerPoint PPT Presentation

how to plan coordinated motions
SMART_READER_LITE
LIVE PREVIEW

How to Plan Coordinated Motions ? Marcelo Kallmann - - PowerPoint PPT Presentation

Motion Planning for Virtual Humans How to Plan Coordinated Motions ? Marcelo Kallmann mkallmann@ucmerced.edu http://graphics.ucmerced.edu M. Kallmann 2008 - UCM 1 M. Kallmann 2008 - UCM 2 Approach Approach manipulation manipulation


slide-1
SLIDE 1

1

  • M. Kallmann 2008 - UCM

Marcelo Kallmann

mkallmann@ucmerced.edu http://graphics.ucmerced.edu

Motion Planning for Virtual Humans

2

  • M. Kallmann 2008 - UCM

How to Plan Coordinated Motions ?

3

  • M. Kallmann 2008 - UCM

Approach

gesture t manipulation locomotion 4

  • M. Kallmann 2008 - UCM

Approach

gesture t manipulation locomotion

slide-2
SLIDE 2

5

  • M. Kallmann 2008 - UCM

Topics

  • 1. Manipulation
  • 2. Whole-Body

Coordination

  • 3. Learning

6

  • M. Kallmann 2008 - UCM

The Basic Problem

7

  • M. Kallmann 2008 - UCM

The Inverse Kinematics Approach

  • IK solves joint rotations such that the end-

effector reaches a given target

8

  • M. Kallmann 2008 - UCM

Examples: Jacobian-Based IK

  • M. Kallmann, Interaction with 3-D Objects, In Handbook of

Virtual Humans, John Wiley & Sons, UK, 2004, 303-322.

slide-3
SLIDE 3

9

  • M. Kallmann 2008 - UCM

Examples: Jacobian-Based IK

10

  • M. Kallmann 2008 - UCM

The Motion Planning Approach

  • Sampling-based planners explore the free

space around obstacles

11

  • M. Kallmann 2008 - UCM

RRT Review

12

  • M. Kallmann 2008 - UCM

RRT Review

slide-4
SLIDE 4

13

  • M. Kallmann 2008 - UCM

RRT Review

14

  • M. Kallmann 2008 - UCM

RRT Review

15

  • M. Kallmann 2008 - UCM

RRT Review

16

  • M. Kallmann 2008 - UCM

RRT Review

slide-5
SLIDE 5

17

  • M. Kallmann 2008 - UCM

RRT Review

18

  • M. Kallmann 2008 - UCM

RRT Review

19

  • M. Kallmann 2008 - UCM

RRT Review

20

  • M. Kallmann 2008 - UCM

RRT Review

slide-6
SLIDE 6

21

  • M. Kallmann 2008 - UCM

Trees rooted at ci and cg grow simultaneously

Bidirectional RRT

22

  • M. Kallmann 2008 - UCM

Smoothing Review

23

  • M. Kallmann 2008 - UCM

Smoothing Review

24

  • M. Kallmann 2008 - UCM

Smoothing Review

slide-7
SLIDE 7

25

  • M. Kallmann 2008 - UCM

Smoothing Review

26

  • M. Kallmann 2008 - UCM

Smoothing Review

27

  • M. Kallmann 2008 - UCM

Smoothing Review

28

  • M. Kallmann 2008 - UCM

Example

RRTs used to animate characters

tree expansion connection found solution optimized

slide-8
SLIDE 8

29

  • M. Kallmann 2008 - UCM

Example

RRTs used for both arms

30

  • M. Kallmann 2008 - UCM

Example

RRTs for Object Relocation

  • M. Kallmann, Scalable Solutions for Interactive Virtual Humans that

can Manipulate Objects, AIIDE 2005.

31

  • M. Kallmann 2008 - UCM

Motion Planners for Characters

  • What is needed?

– Configuration sampling routine – Distance function between postures – Posture interpolation method – Validity check routine

32

  • M. Kallmann 2008 - UCM

Sampling Whole Body Reaching Postures

  • 22 DOFs control layer

– 7 in each arm, 2 in each clavicle – 3 in the torso (distributed in spine) – 1 knee flexion (translational DOF)

  • Specific per-articulation

parameterization and range limits

– Ex: swing-and-twist decomposition for the shoulder: R = Rtwist Rswing Rtwist=Rz(θ), Rswing = [Sx Sy 0]

  • M. Kallmann, A. Aubel, T. Abaci, and D. Thalmann, Planning Collision-Free Reaching Motions

for Interactive Object Manipulation and Grasping, Eurographics, 2003.

slide-9
SLIDE 9

33

  • M. Kallmann 2008 - UCM

Sampling Whole Body Reaching Postures

  • 60% Regular

– little spine and leg flexion – no clavicle motion – random arm poses

  • 40% Distant

– large spine and leg flexion – little elbow flexion – shoulder-clavicle coupling – arm-legs coupling – arm-torso coupling

  • Balance, limits, collisions

34

  • M. Kallmann 2008 - UCM

Example

  • M. Kallmann, A. Aubel, T. Abaci, and D. Thalmann, Planning Collision-Free Reaching Motions

for Interactive Object Manipulation and Grasping, Eurographics, 2003. Play Video - http://graphics.ucmerced.edu/videos/2003_eg_reaching720x576.mpg

35

  • M. Kallmann 2008 - UCM

Topics

  • 2. Whole-Body

Coordination

  • 3. Learning
  • 1. Manipulation

36

  • M. Kallmann 2008 - UCM
  • How to sequence primitive controllers?

Coordination: Sequencing

PR PL PB

  • M. Kallmann, R. Bargmann and M. Mataric´, Planning the Sequencing
  • f Movement Primitives, SAB 2004, Los Angeles, CA,.
slide-10
SLIDE 10

37

  • M. Kallmann 2008 - UCM

Coordination: Sequencing

4 moves left leg articulations and body rotation support in right foot PR 3 moves body, feet fixed with IK support in both feet PB 4 moves right leg articulations and body rotation support in left foot PL Parametric Space Dim. Primitive Motion Instantiation Condition Movement Primitive

38

  • M. Kallmann 2008 - UCM

Coordination: Sequencing

4 moves left leg articulations and body rotation support in right foot PR 3 moves body, feet fixed with IK support in both feet PB 4 moves right leg articulations and body rotation support in left foot PL Parametric Space Dim. Primitive Motion Instantiation Condition Movement Primitive

39

  • M. Kallmann 2008 - UCM

Coordination: Sequencing

4 moves left leg articulations and body rotation support in right foot PR 3 moves body, feet fixed with IK support in both feet PB 4 moves right leg articulations and body rotation support in left foot PL Parametric Space Dim. Primitive Motion Instantiation Condition Movement Primitive

40

  • M. Kallmann 2008 - UCM

Coordination: Sequencing

4 moves left leg articulations and body rotation support in right foot PR 3 moves body, feet fixed with IK support in both feet PB 4 moves right leg articulations and body rotation support in left foot PL Parametric Space Dim. Primitive Motion Instantiation Condition Movement Primitive

slide-11
SLIDE 11

41

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

  • Define a search tree (single component) having

the root as the initial configuration ci

search tree

42

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

  • Expand a roadmap in the parametric space of

the motion primitive associated with c

search tree

43

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

  • Determine paths leading to configurations in a

different support mode

search tree

44

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

  • Each path represents a new child of c

search tree …

slide-12
SLIDE 12

45

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

  • Select lowest (A*) cost leaf c

cost(c) = length(root,c) + dist(c,goal)

search tree …

46

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

  • Select lowest cost leaf c

cost(c) = length(root,c) + dist(c,goal)

search tree …

47

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

  • Expand a roadmap in the parametric space of

the new motion primitive associated with c

search tree …

48

  • M. Kallmann 2008 - UCM

Sequencing: Search Tree

search tree … …

  • Determine paths leading to configurations in a

different support mode, and add new leafs

slide-13
SLIDE 13

49

  • M. Kallmann 2008 - UCM

Sequencing Examples

  • M. Kallmann, R. Bargmann and M. Mataric´, Planning the Sequencing
  • f Movement Primitives, SAB 2004, Los Angeles, CA,.

50

  • M. Kallmann 2008 - UCM

Extension to Characters

  • Analytical IK needed
  • M. Kallmann, Analytical Inverse Kinematics with Body Posture Control,

Computer Animation and Virtual Worlds, vol. 19, num.2, May 2008, pp. 79-91(13).

51

  • M. Kallmann 2008 - UCM

Coordination: Concurrency

  • DOFs divided in two parts, for ex:

– Rear part used by dominant motion skill: walking – The rest used by a controlled skill: arm motion

(p, q1,…, qr-1, qr,…, qn) = (cw, ca) in CW × CA

  • A. Shapiro, M. Kallmann, and P. Faloutsos, Interactive Motion Correction and Object Manipulation,

ACM SIGGRAPH Symposium on Interactive 3D graphics and Games (I3D), 2007.

52

  • M. Kallmann 2008 - UCM

Search Space

  • Sample in configuration-time space:

– Each configuration (ca,t) has 7 DOFs for arm or leg, plus time component in [ta,tb]

  • For every sample (ca,t)

– Compose full body posture (mw(t), ca) to test validity when dynamic world is w(t)

slide-14
SLIDE 14

53

  • M. Kallmann 2008 - UCM

Example: Motion Correction

  • Avoiding post with umbrella while walking

Full video - http://graphics.ucmerced.edu/videos/2007_i3d_motioncorrection.mp4

54

  • M. Kallmann 2008 - UCM

Example: Motion Correction

  • Additional post added…

Full video - http://graphics.ucmerced.edu/videos/2007_i3d_motioncorrection.mp4

55

  • M. Kallmann 2008 - UCM

Example: Dynamic Environments

Moving obstacles and moving targets Moving obstacles, moving targets, moving character

  • Dynamic environment and dynamic targets

Full video - http://graphics.ucmerced.edu/videos/2007_i3d_motioncorrection.mp4

56

  • M. Kallmann 2008 - UCM

Example: Dynamic Environments

Full video - http://graphics.ucmerced.edu/videos/2007_i3d_motioncorrection.mp4

slide-15
SLIDE 15

57

  • M. Kallmann 2008 - UCM

Example: Object Manipulation

Full video - http://graphics.ucmerced.edu/videos/2007_i3d_motioncorrection.mp4

58

  • M. Kallmann 2008 - UCM

Approach

  • 2. Whole-Body

Coordination

  • 3. Learning
  • 1. Manipulation

59

  • M. Kallmann 2008 - UCM

Dynamic Roadmaps

  • Pre-compute roadmap only with static obstacles
  • On-line roadmap updates with a grid mapping

– Updates can be significant

  • M. Kallmann and M. Mataric´, Motion Planning Using Dynamic Roadmaps, Proceedings
  • f the IEEE International Conference on Robotics and Automation (ICRA), 2004.

60

  • M. Kallmann 2008 - UCM

Learning Attractor Points

  • Attractor points are easier to maintain
  • X. Jiang and M. Kallmann, Learning Humanoid Reaching

Tasks in Dynamic Environments, IROS, 2007.

slide-16
SLIDE 16

61

  • M. Kallmann 2008 - UCM

Attractor-Guided Planning

Sample Node Expanding Node Attractor Obstacle

62

  • M. Kallmann 2008 - UCM

Attractor-Guided Planning

Sample Node Expanding Node Attractor Obstacle

63

  • M. Kallmann 2008 - UCM

Attractor-Guided Planning

Sample Node Expanding Node Attractor Obstacle

64

  • M. Kallmann 2008 - UCM

Attractor-Guided Planning

Sample Node Expanding Node Attractor Obstacle

slide-17
SLIDE 17

65

  • M. Kallmann 2008 - UCM

Attractor-Guided Planning

Sample Node Expanding Node Attractor Obstacle

66

  • M. Kallmann 2008 - UCM

Attractor-Guided Planning

d Sample Node Expanding Node Attractor Obstacle

67

  • M. Kallmann 2008 - UCM

Attractor-Guided Planning

A standard RRT search tree The AGP search tree

68

  • M. Kallmann 2008 - UCM

Topics

  • 1. Manipulation
  • 2. Whole-Body

Coordination

  • 3. Learning
slide-18
SLIDE 18

69

  • M. Kallmann 2008 - UCM

Final Notes

  • SIGGRAPH Class 2008

Motion Planning and Autonomy for Virtual Humans

  • Julien Pettre – INRIA Rennes
  • Marcelo Kallmann – UC Merced
  • Ming Lin – UNC Chapel Hill
  • James Kuffner – CMU
  • Michael Gleicher – University of Wisconsin
  • Claudia Esteves – University of Guanajuato
  • Jean-Paul Laumond – LAAS Toulouse

70

  • M. Kallmann 2008 - UCM

Final Slide

Path Planning in Triangulations Multi-Agent Navigation Deformable Models

And thanks to students and collaborators: Amaury Aubel, Petros Faloutsos, Ari Shapiro, Mentar Mahmudi, Yazhou Huang, Oktar Ozgen FREE INTERNET: UCMERCED - cog