LOCAL NAVIGATION 1 LOCAL NAVIGATION Dynamic adaptation of global - - PowerPoint PPT Presentation

local navigation 1 local navigation
SMART_READER_LITE
LIVE PREVIEW

LOCAL NAVIGATION 1 LOCAL NAVIGATION Dynamic adaptation of global - - PowerPoint PPT Presentation

LOCAL NAVIGATION 1 LOCAL NAVIGATION Dynamic adaptation of global plan to local conditions A.K.A. local collision avoidance and pedestrian models University of North Carolina at Chapel Hill 2 LOCAL NAVIGATION Why do it?


slide-1
SLIDE 1

LOCAL NAVIGATION 1

slide-2
SLIDE 2

LOCAL NAVIGATION

2

  • Dynamic adaptation of global plan to local conditions
  • A.K.A. “local collision avoidance” and “pedestrian

models”

University of North Carolina at Chapel Hill

slide-3
SLIDE 3

LOCAL NAVIGATION

3

  • Why do it?
  • Could we use “global” motion planning techniques?
  • http://grail.cs.washington.edu/projects/crowd-

flows/

  • http://gamma.cs.unc.edu/crowd/
  • Issues
  • Computationally expensive
  • Assumes global knowledge of dynamic

environment

University of North Carolina at Chapel Hill

slide-4
SLIDE 4

LOCALITY

4

  • Limited knowledge  local techniques
  • It is reasonable to assume agents can have global

knowledge of static environment

  • UAVs can have maps
  • Robots can know the building they operate in
  • Access to google maps, etc.
  • But can they know what is happening out of sight?
  • People often drive into traffic jams because

they didn’t know it was there (until too late)

University of North Carolina at Chapel Hill

slide-5
SLIDE 5

LOCALITY

5

  • What is local?
  • What information matters most?
  • Imminent interaction
  • What information can you know?
  • Line-of-sight visibility
  • Aural perception (less precise, but goes

around corners)

  • Explicit communication (information passing)

University of North Carolina at Chapel Hill

slide-6
SLIDE 6

LOCALITY

6

  • Imminent interaction
  • Define temporally (ideal)
  • What can I possibly interact/collide with in the

next τ seconds?

  • Anything beyond τ is unimportant and may

lead to invalid predictions

University of North Carolina at Chapel Hill

slide-7
SLIDE 7

LOCALITY

7

  • Assume approximately uniform speeds
  • Temporal locality  spatial locality
  • Distance simply time * speed
  • PROS
  • Seems plausible
  • Computationally efficient spatial queries
  • CONS
  • Poor for scenarios with widely varying speeds
  • Pedestrians vs. cars
  • This is the common practice

University of North Carolina at Chapel Hill

slide-8
SLIDE 8

LOCALITY

8

  • Computational constraints
  • Assumption: spatial local neighborhood: r = 5 m
  • Roughly 3.75 seconds at average walking

speed.

  • Average area of person: A = 0.113 m2
  • Maximum number of neighbors: ~700
  • Too many
  • Pick the k-nearest

University of North Carolina at Chapel Hill

0.24m 0.15m

slide-9
SLIDE 9

LOCAL COLLISION AVOIDANCE

9

  • Given
  • Preferred velocity
  • Local state
  • Compute
  • Collision-free (feasible) velocity

University of North Carolina at Chapel Hill

slide-10
SLIDE 10

LOCAL COLLISION AVOIDANCE

10

  • Models define a mechanism for balancing the two

factors

  • Represent the effect of preferred velocity
  • Represent the effect of dynamic obstacles
  • Model the interactions of the two

University of North Carolina at Chapel Hill

slide-11
SLIDE 11

LOCAL COLLISION AVOIDANCE

11

  • Four classes of models
  • Cellular Automata (Today)
  • Social Forces (Today)
  • Geometric (Next week)
  • Miscellaneous (Next week)

University of North Carolina at Chapel Hill

slide-12
SLIDE 12

CELLULAR AUTOMATA

12

  • Game of Life
  • http://www.bitstorm.org/gameoflife/
  • Applications in biology and chemistry
  • Used in vehicular traffic simulation
  • (Cremer and Ludwig,1986)
  • Borrowed into pedestrian simulation

University of North Carolina at Chapel Hill

slide-13
SLIDE 13

CELLULAR AUTOMATA

13

  • Decomposition of domain into

a grid of cells

  • Agents in a single cell
  • Cell holds one agent
  • Simple rules for moving agents

toward goal

University of North Carolina at Chapel Hill

G

slide-14
SLIDE 14

CELLULAR AUTOMATA

14

  • Blue & Adler, (1998, 1999)
  • Simple uni- and bi-directional flow
  • Heavily rule-based
  • Rules for determining lane changes
  • Rules for “advancing”
  • Rules are all heuristic and carefully tuned to an

abstract, artificial scenario

  • “lane” changes
  • Multiple-cell movements

University of North Carolina at Chapel Hill

slide-15
SLIDE 15

CELLULAR AUTOMATA

15

  • Statistical CA - Burstedde et al., 2001

University of North Carolina at Chapel Hill

  • Accounting for pref. vel
  • Pref. vel  matrix of

probabilities

  • Direction of travel selected

probabilistically (target cell) G

slide-16
SLIDE 16

CELLULAR AUTOMATA

16

  • Statistical CA - Burstedde et al., 2001

University of North Carolina at Chapel Hill

  • Accounting for neighbors
  • Rules
  • If target cell is already
  • ccupied, don’t move
  • If two agents have the

same target, winner based

  • n relative probabilities

(loser stays still) G

slide-17
SLIDE 17

CELLULAR AUTOMATA

17

  • Statistical CA - Burstedde et al., 2001
  • Complex behaviors from “floor fields”
  • Mechanism for “long-range” interaction
  • Contributes to probability matrix
  • Leads to aggregate behaviors
  • Lane formation, etc.

University of North Carolina at Chapel Hill

slide-18
SLIDE 18

CELLULAR AUTOMATA

18

  • Implications
  • Homogeneous pedestrians
  • “Same” speed, same abilities, same floor fields
  • Horizontal/vertical vs. diagonal
  • Large timestep
  • Cell size ~ 0.4 m  0.4m/time step  1.34 m/s

in ~3 time steps  timestep = 0.3 s

  • Highly discretized paths (zig zags)
  • Density limits due to simple collision handling
  • Can’t move into currently occupied cells

University of North Carolina at Chapel Hill

slide-19
SLIDE 19

CELLULAR AUTOMATA

19

  • Extensions
  • Hexagonal floor fields [Maniccam, 2003]
  • Replace quads with hexagons
  • Six directions with uniform speeds
  • Multi-cell agents [Kirchner et al., 2004]
  • Smaller cells
  • Agents occupy multiple cells
  • Agents move multiple cells
  • Deemed too expensive to be worth it

University of North Carolina at Chapel Hill

slide-20
SLIDE 20

CELLULAR AUTOMATA

20

  • Extensions
  • Real-coded CA [Yamamoto et al., 2007]
  • Support heterogeneous speeds
  • Improve trajectories
  • (Handling collisions unclear in the paper)

University of North Carolina at Chapel Hill

slide-21
SLIDE 21

CELLULAR AUTOMATA

21

  • Still alive and well
  • Tawaf [ Sarmady et al., 2010]
  • High-level behaviors [Bandini et al., 2007]
  • Update algorithm analysis [Bandini et al., 2013]

University of North Carolina at Chapel Hill

slide-22
SLIDE 22

SOCIAL FORCES

  • Agent with preferred and actual

velocities.

  • “Driving” force pushes current

velocity towards preferred velocity.

  • Neighboring agents apply repulsive

force.

  • Forces are linearly combined and

transformed into acceleration.

  • Velocity changes by the

acceleration.

G

22 University of North Carolina at Chapel Hill

slide-23
SLIDE 23

SOCIAL FORCE

23

  • Arose in the 70s [Hirai & Tarui, 1975]
  • Partially inspired by sociologists attraction to field

theory

  • Resurgence in the 90s [Helbing and Molnár, 1995]
  • Defined many of the traits that are seen in many
  • f the current models
  • These are not potential field methods, per se
  • They planning doesn’t follow the gradient of the

field

  • The field implies an acceleration

University of North Carolina at Chapel Hill

slide-24
SLIDE 24

SOCIAL FORCE – [HELBING & MOLNAR, 1995]

24

  • Driving force
  • Fd = m(v0 – v )/ τ
  • Exponential repulsive forces
  • Fr = Ae(-d/R)
  • A Gaussian function where σ = R/sqrt(2)
  • Infinite support (theoretically)
  • Compact support practically: 6σ
  • Exponential evaluated at 3σ ≈ 0.011

University of North Carolina at Chapel Hill

slide-25
SLIDE 25

SOCIAL FORCE – [HELBING & MOLNAR, 1995]

25

  • Elliptical contours of repulsion field
  • Models personal space – in front is more

important than to the side

  • Treats backwards more important than side
  • Implies orientation (defined as the direction of

motion)

  • Undefined for stationary agents

University of North Carolina at Chapel Hill

slide-26
SLIDE 26

SOCIAL FORCE – [HELBING & MOLNAR, 1995]

26

  • Weighted directions
  • Relative to direction of preferred velocity
  • Discontinuous: 1 or c, based on direction
  • Attractive forces
  • Random fluctuations
  • This is not what you have in Menge

University of North Carolina at Chapel Hill

  • π -θ 0 θ π

1 c

slide-27
SLIDE 27

SOCIAL FORCE – [HELBING & MOLNAR, 1995]

27

  • Implications
  • Full response is linear combination of individual

responses

  • 2nd-order equation
  • The velocity you pick depends on the time step
  • Dense populations  stiff systems
  • Smooth compact support  high derivative at

small distances

  • Parameter tuning
  • Force magnitudes depend on circumstances

University of North Carolina at Chapel Hill

slide-28
SLIDE 28

SOCIAL FORCE – [HELBING & FARKAS, 2000]

28

  • Social force simulation of escape panic
  • Removed:
  • Direction weighting
  • Elliptical force fields
  • Random perturbations
  • Attractive forces
  • Added compression and friction forces
  • This is what you have in Menge
  • Considered (by me) to be the simplest social

force model

University of North Carolina at Chapel Hill

slide-29
SLIDE 29

SOCIAL FORCE

29

  • Johansson et al., 2007
  • Restores elements from the 1995 paper
  • Directional weight (varies smoothly)
  • Elliptical equipotential lines
  • Introduces relative velocity term
  • Relative velocity term
  • (This is an option for the next HW)

University of North Carolina at Chapel Hill

slide-30
SLIDE 30

SOCIAL FORCE

30

  • Chraibi et al., 2010
  • Generalized Centrifugal Force (GCF)
  • Includes a relative velocity term
  • Directional weight
  • Repulsive force based on inverse distance
  • Changes representation of agents to elliptical
  • Shape of ellipse changes w.r.t. speed
  • Faster  longer, narrower ellipse
  • Shorter  narrow, wider ellipse

University of North Carolina at Chapel Hill

slide-31
SLIDE 31

SOCIAL FORCE

31

  • Predictive
  • Karamouzas, et al. 2009 and Zanlungo, et al.,

2010

  • Compute force based on predicted interactions
  • Computation of individual forces is similar
  • Karamouzas adds new method for combining

forces

  • Iterative calculation and combination
  • Does not guarantee that they won’t cancel

each other out

  • (Zanlungo is also an option for the next HW)

University of North Carolina at Chapel Hill

slide-32
SLIDE 32

SOCIAL FORCE

32

  • Force-based approaches
  • Other models which use forces
  • Forces are derived from ad hoc rules
  • HiDAC
  • OpenSteer
  • Autonomous Pedestrians

University of North Carolina at Chapel Hill

slide-33
SLIDE 33

QUESTIONS?

33 University of North Carolina at Chapel Hill