peds and paths: small group behavior in urban environments

54
1 Peds and Paths: Small Group Behavior in Urban Environments Joseph K. Kearney Hongling Wang Terry Hostetler Kendall Atkinson The University of Iowa

Upload: jerry

Post on 12-Feb-2016

32 views

Category:

Documents


0 download

DESCRIPTION

Peds and Paths: Small Group Behavior in Urban Environments. Joseph K. Kearney Hongling Wang Terry Hostetler Kendall Atkinson The University of Iowa. Pedestrian Activity in Urban Environments. Couples walking down a sidewalk Families window shopping Commuters queuing at a bus stop - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Peds and Paths:  Small Group Behavior in Urban Environments

1

Peds and Paths: Small Group Behavior in Urban

Environments

Joseph K. KearneyHongling WangTerry Hostetler

Kendall Atkinson

The University of Iowa

Page 2: Peds and Paths:  Small Group Behavior in Urban Environments

2

Page 3: Peds and Paths:  Small Group Behavior in Urban Environments

3

Pedestrian Activity in Urban Environments

• Couples walking down a sidewalk• Families window shopping• Commuters queuing at a bus stop• Friends stopping to chat

Page 4: Peds and Paths:  Small Group Behavior in Urban Environments

4

Related Research

• Social psychology (McPhail)• Flocking (Reynolds, Tu & Terzopoulos, Brogan and

Hodgins)• Vehicle and crowd simulation (Musse &

Thalmann, Thomas & Donikian, Sukthankar)

Page 5: Peds and Paths:  Small Group Behavior in Urban Environments

5

Public Gatherings

• Mix of singles and small groups of companions

• Majority of people are in clusters of two to five

• Frequency of occurrence of a cluster is inversely proportional to size

Page 6: Peds and Paths:  Small Group Behavior in Urban Environments

6

What is a Group?

• Proximity• Coupled Behavior• Common Purpose• Relationship Between

Members

Page 7: Peds and Paths:  Small Group Behavior in Urban Environments

7

Moving Formations

• Pairs: Side by side• Triples: Triangular shape

Page 8: Peds and Paths:  Small Group Behavior in Urban Environments

8

Stationary Formations

ArcFixed Center of Focus

Conversation Circle

Group Center is Focus

Page 9: Peds and Paths:  Small Group Behavior in Urban Environments

9

Modeling Walkways and Roads as Ribbons in Space

walkwayaxis

Object

offset

distance

Page 10: Peds and Paths:  Small Group Behavior in Urban Environments

10

Curvilinear Coordinate System

• Defines geometry of navigable surfaces• Give a local orientation to the path• Channels traffic into parallel streams• Frame of reference for spatial relations

– Obstacle avoidance– Navigation

walkwayaxis

Object

offset

distance

Page 11: Peds and Paths:  Small Group Behavior in Urban Environments

11

Arc-Length Parameterization

• Parametric spline curves for ribbon axis– Flexible– Differentiable

• Must relate parameter to arc length • Current approaches impractical for

real-time applications

Page 12: Peds and Paths:  Small Group Behavior in Urban Environments

12

Traditional approach of arc-length parameterization for parametric curves

• Compute arc length s as a function of parameter t s=A(t)

• Compute the inverse of the arc-length function

• Replace parameter t in Q(t)=(x(t),y(t),z(t)) with )(1 sAt

)))(()),(()),((()( 111 sAzsAysAxsP

)(1 sA

Page 13: Peds and Paths:  Small Group Behavior in Urban Environments

13

Problems with traditional approach

• Generally integral for A(t) does not integrate• Function is not elementary function• Solutions by numeric methods impractical for

real-time applications

)(1 sAt

Page 14: Peds and Paths:  Small Group Behavior in Urban Environments

14

Related work• Numerical methods for mappings between

parameter and arc length, e.g., [Guenter 90]– Impractical in real-time applications

• Build 2 Bezier curves for mappings between arc length and parameter, one for each direction, e.g., [Walter 96]– Error uncontrolled– Possible inconsistency between the 2 mapping

directions– No guarantee of monotonicity

Page 15: Peds and Paths:  Small Group Behavior in Urban Environments

15

Approximately arc-length parameterized cubic spline curve

(1) Compute curve length

(2) Find m+1 equally spaced points on input curve

(3) Interpolate (x,y,z) to arc length s to get a new cubic spline curve

Page 16: Peds and Paths:  Small Group Behavior in Urban Environments

16

Compute Curve length

• Compute arc length of each cubic spline piece with Simpson’s rule– Adaptive methods can be used to control the

accuracy of arc length computation• Lengths of all spline pieces are summed• Build a table for mappings between

parameter and arc length on knot points

Page 17: Peds and Paths:  Small Group Behavior in Urban Environments

17

Find m+1equally spaced points

• Problem– Mappings from equally spaced arc-length values to parameter values

• Solution:– Table search to map an arc length value to a

parameter interval– Bisection method to map the arc length value to a

parameter value within the parameter interval

mLmmLmL /*...,,/*2,/*1,0

Page 18: Peds and Paths:  Small Group Behavior in Urban Environments

18

Compute an approximate arc-length parameterized spline curve

• m+1 points as knot points • Using cubic spline interpolation

– End point derivative conditions• Direction consistent with input curve• Magnitude of 1.0

– Not-a-knot conditions

Page 19: Peds and Paths:  Small Group Behavior in Urban Environments

19

Errors

• Match error– Misfit of the derived curve from an input curve

• Arc-length parameterization error – Deviation of the derived curve from arc-length

parameterization

Page 20: Peds and Paths:  Small Group Behavior in Urban Environments

20

Errors analysis• Match error

– Match error is difference between the two curves at corresponding points, |Q(t)-P(s)|

• Arc-length parameterization error– For an arc-length parameterized curve,

– Arc-length parameterization error measured by

0.1)()()( 222 dsdz

dsdy

dsdx

0.1)()()( 222 dsdz

dsdy

dsdx

Page 21: Peds and Paths:  Small Group Behavior in Urban Environments

21

Experimental results

(1) Experimental curve (2) Curvature of the curve

Page 22: Peds and Paths:  Small Group Behavior in Urban Environments

22

Experimental results (cont.)

(1) m=5 (2) m=10

Experimental curve(blue) and the derived curve (red)

Page 23: Peds and Paths:  Small Group Behavior in Urban Environments

23

Experimental results (cont.)

(1) m = 5 (2) m = 10

Match error in the derived curve

Page 24: Peds and Paths:  Small Group Behavior in Urban Environments

24

Experimental results (cont.)

(1) m=5 (2) m=10

Arc-length parameterization error in the derived curve

Page 25: Peds and Paths:  Small Group Behavior in Urban Environments

25

Error factors in experimental results

• Both errors increase with curvature• Both errors decrease with m

– Maximal match error decreases 10 times when m doubled

– Maximal arc-length parameterization error decreases 5 times when m doubled

Page 26: Peds and Paths:  Small Group Behavior in Urban Environments

26

Strengths of this technique

• Run-time efficiency is high– No mapping between parameter and arc-length needed– No table search needed for mapping from curvilinear

coordinates to Cartesian coordinates– Mapping form Cartesian coordinates to curvilinear

coordinates is efficient (introduced in another paper)• Time-consuming computations can be put either in

initialization period or off-line

Page 27: Peds and Paths:  Small Group Behavior in Urban Environments

27

Strengths of this technique (cont.)

• Higher accuracy can be achieved– By computing length of the input curve more

accurately– By locating equal-spaced points more accurately– By increasing m

• Burden of higher accuracy is only more memory– Doubling m requires doubling the memory for spline

curve coefficients

Page 28: Peds and Paths:  Small Group Behavior in Urban Environments

28

Walking Behavior

• Influenced by constraints on movement• Control Parameters

– Speed• Accelerate, Coast, or Decelerate

– Orientation• Turn Left, No Turn, or Turn Right

Page 29: Peds and Paths:  Small Group Behavior in Urban Environments

29

Action Space

Accelerate Accelerate Accelerate Turn Left No Turn Turn Right

Coast Coast Coast Turn Left No Turn Turn Right

Decelerate Decelerate Decelerate Turn Left No Turn Turn Right

Page 30: Peds and Paths:  Small Group Behavior in Urban Environments

30

Distributed Preference Voting

• Delegation of voters: Constraint Proxies• A proxy votes on all cells of the action space• Votes are tallied• Winning cell represents best compromise

among competing interests

Page 31: Peds and Paths:  Small Group Behavior in Urban Environments

31

Vote Tabulation

1.0

Pursuit Point

Tracking

Maintain Formation

Inertia

Centering

Maintain Target

Velocity

Avoid Peds

Winning Cell

Electioneer

1.01.0

2.0

2.0

4.0

5.0

Avoid Obstacles

Page 32: Peds and Paths:  Small Group Behavior in Urban Environments

32

Pursuit Point

• Located a small distance ahead of pedestrians on their target path

• Shared by all members of a group

walkwayaxis

pursuit point

ped

target path

Page 33: Peds and Paths:  Small Group Behavior in Urban Environments

33

Pursuit Point Tracking

• Pursuit Direction – vector from group’s center to the Pursuit Point

• This proxy votes to align a walker’s orientation with the group’s Pursuit Direction

Page 34: Peds and Paths:  Small Group Behavior in Urban Environments

34

One Pedestrian Following a Path

walkwayaxis

pursuit point

ped 1

pursuit direction

offset

distance

Page 35: Peds and Paths:  Small Group Behavior in Urban Environments

35

Two Pedestrians Following a Path

walkwayaxis

pursuit point

ped 1

pursuit direction

ped 2

Page 36: Peds and Paths:  Small Group Behavior in Urban Environments

36

Vote to Turn Right

Turn No Turn Left Turn Right

Accelerate

Coast

Decelerate

-1.0 -1.0 1.0

-1.0 -1.0 1.0

-1.0 -1.0 1.0

Page 37: Peds and Paths:  Small Group Behavior in Urban Environments

37

Maintain Formation

• Group Slip – maximum distance a pedestrian is allowed to move

in front of or behind the rest of the group• If group slip is violated, this proxy votes to

accelerate or decelerate to catch up with the group

Page 38: Peds and Paths:  Small Group Behavior in Urban Environments

38

Group Slip

groupslip

walkway axis

pursuit point

Two pedestrians in formation

groupslip

pursuit point

Three pedestrians in formation

groupslip

pursuit point

Two pedestrians not in formation

walkway axis

walkway axis

Page 39: Peds and Paths:  Small Group Behavior in Urban Environments

39

A Group of Two Following a Path

ped 1

walkway axis

pursuit point

Winning vote = Accelerate/Turn Right

Election for ped 1

ped 2

-1.0 -1.0 +1.0-1.0 -1.0 +1.0-1.0 -1.0 +1.0

Pursuit Point Tracking

+1.0 +1.0 +1.0 -1.0 -1.0 -1.0 -1.0 -1.0 -1.0

Maintain Formation

+1.0 +1.0 +3.0 -3.0 -3.0 -1.0 -3.0 -3.0 -3.0

2.01.0

Page 40: Peds and Paths:  Small Group Behavior in Urban Environments

40

Avoiding Pedestrians

• Activated when a companion intrudes

• Repulsion can lead to undesirable equilibria of forces

• By adding a small orthogonal force we rotate out of local minima

walkwayaxis

ped 2ped 1ped 3

Page 41: Peds and Paths:  Small Group Behavior in Urban Environments

41

Vote to Avoid a Companion

-.67 -.67 -.67

0 0 0

.67 .67 .67

-.33 0 .33

-.33 0 .33

-.33 0 .33

-1 -.67 -.33

-.33 0 .33

.33 .67 1

Page 42: Peds and Paths:  Small Group Behavior in Urban Environments

42

Scenarios

• Following a circular path• Avoiding an obstacle• Passing through a constriction

Page 43: Peds and Paths:  Small Group Behavior in Urban Environments

43

Following a Circular Path

• Target path is formed by the series of pursuit points

• Parameters– turn angle increment– look-ahead distance– path curvature

Page 44: Peds and Paths:  Small Group Behavior in Urban Environments

44

Following a Circular Path -- Trajectory

target path

ped 1

walkway axis walkway axis

ped 1

target path

Large look-ahead distance Small look-ahead distance

Page 45: Peds and Paths:  Small Group Behavior in Urban Environments

45

Avoiding an Obstacle

• Avoid Obstacle proxy steers pedestrian to an obstacle’s nearest side

• Pursuit point’s offset is shifted around large obstacles

Page 46: Peds and Paths:  Small Group Behavior in Urban Environments

46

Avoiding an Obstacle -- Trajectory

Small look-ahead distance Large look-ahead distance

ped 1

ped 2

walkway axis walkway axis

ped 1

ped 2

Page 47: Peds and Paths:  Small Group Behavior in Urban Environments

47

Passing Through a Constriction

• Groups – compress at the entrance– move nearly single file down the corridor– reform as a group as they emerge

• State change: suspending Maintain Formation proxy produces smoother motion

Page 48: Peds and Paths:  Small Group Behavior in Urban Environments

48

Passing Through a Constriction -- Trajectory

Maintain Formation proxy voting

Maintain Formation proxy not voting

walkway axis walkway axis

Page 49: Peds and Paths:  Small Group Behavior in Urban Environments

49

Interaction Between Pairs -- 1

Page 50: Peds and Paths:  Small Group Behavior in Urban Environments

50

Interaction Between Pairs -- 2

Page 51: Peds and Paths:  Small Group Behavior in Urban Environments

51

Interaction Between Pairs -- 3

Page 52: Peds and Paths:  Small Group Behavior in Urban Environments

52

Work in Progress

• Interactions among groups • Stationary formations

– New action space for fine movement– State machine manages transition

• Aggregation and disaggregation

Page 53: Peds and Paths:  Small Group Behavior in Urban Environments

53

Conclusions

• Small pedestrian groups can be simulated that– maintain formation while walking– negotiate obstacles together – pass through constrictions

• Distributed preference voting is a promising method for finding good compromise solutions

• State changes can help resolve conflicts between behaviors

Page 54: Peds and Paths:  Small Group Behavior in Urban Environments

54

Acknowledgements

• This work is supported in part through National Science Foundation grants INT-9724746, EAI-0130864, and IIS-0002535.

• Jim Cremer and Pete Willemsen made significant contributions to the development of the Hank simulator.