Collaborators. Multiple Agents & Crowd Simulation: training sytems 5/15/2010. Interactive Multi-Robot Planning and Multi-Agent Simulation

Similar documents
Real-time Path Planning and Navigation for Multi-Agent and Heterogeneous Crowd Simulation

Reciprocal Collision Avoidance and Navigation for Video Games

Goal Velocity Obstacles for Spatial Navigation of Multiple Autonomous Robots or Virtual Agents

Crowd simulation. Taku Komura

Interactive Modeling, Simulation and Control of Large-Scale Crowds and Traffic

Simulating Group Formations Using RVO

Smooth and Collision-Free Navigation for Multiple Robots Under Differential-Drive Constraints

Multi-robot collision avoidance with localization uncertainty

Agent Based Intersection Traffic Simulation

Multi Agent Navigation on GPU. Avi Bleiweiss

Scalable Multi Agent Simulation on the GPU. Avi Bleiweiss NVIDIA Corporation San Jose, 2009

Collision Avoidance with Unity3d

Modeling Collision Avoidance Behavior for Virtual Humans

Collision Avoidance under Bounded Localization Uncertainty

ACCELERATING ROUTE PLANNING AND COLLISION DETECTION FOR COMPUTER GENERATED FORCES USING GPUS

Goal. Interactive Walkthroughs using Multiple GPUs. Boeing 777. DoubleEagle Tanker Model

Collision Avoidance for Preplanned Locomotion

URBAN SCALE CROWD DATA ANALYSIS, SIMULATION, AND VISUALIZATION

Spring 2010: Lecture 9. Ashutosh Saxena. Ashutosh Saxena

Efficient Multi-Agent Global Navigation Using Interpolating Bridges

Real-Time Multi-Agent Path Planning on Arbitrary Surfaces

A Predictive Collision Avoidance Model for Pedestrian Simulation

Virtualized Traffic: Reconstructing Traffic Flows from Discrete Spatio-Temporal Data Jason Sewall, Jur van den Berg, Ming Lin, Dinesh Manocha

Real-time Collision Avoidance for Pedestrian and Bicyclist Simulation: a smooth and predictive approach

Navigation Queries from Triangular Meshes

W4. Perception & Situation Awareness & Decision making

Introduction to Mobile Robotics Path Planning and Collision Avoidance

Vehicle Traffic Simulation

Introduction to Mobile Robotics Path Planning and Collision Avoidance. Wolfram Burgard, Maren Bennewitz, Diego Tipaldi, Luciano Spinello

Geometric Path Planning McGill COMP 765 Oct 12 th, 2017

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

Collision Detection II. These slides are mainly from Ming Lin s course notes at UNC Chapel Hill

Accelerating Reinforcement Learning in Engineering Systems

MEAM 620 Part II Introduction to Motion Planning. Peng Cheng. Levine 403,GRASP Lab

Directing Crowd Simulations Using Navigation Fields

PEDESTRIAN VELOCITY OBSTACLES: PEDESTRIAN SIMULATION THROUGH REASONING IN VELOCITY SPACE

A Reduced-Order Analytical Solution to Mobile Robot Trajectory Generation in the Presence of Moving Obstacles

Decentralized Collision Avoidance

Spring 2016 :: :: Robot Autonomy :: Team 7 Motion Planning for Autonomous All-Terrain Vehicle

Robot Motion Planning

Combining Deep Reinforcement Learning and Safety Based Control for Autonomous Driving

Efficient Trajectory Extraction and Parameter Learning for Data-Driven Crowd Simulation

Flocking system mimicking fish school behaviours. MSc Computer Animation and Visual Effects Bournemouth University. Luke Bazalgette i

Predicting Pedestrian Trajectories using Velocity-Space Reasoning

Collision Detection. Motivation - Dynamic Simulation ETH Zurich. Motivation - Path Planning ETH Zurich. Motivation - Biomedical Simulation ETH Zurich

GPU-based Distributed Behavior Models with CUDA

Safe Path Planning for an Autonomous Agent in a Hostile Environment a.k.a Save PacMan!

TomTom Innovation. Hans Aerts VP Software Development Business Unit Automotive November 2015

Introduction to Autonomous Mobile Robots

Path Planning. Marcello Restelli. Dipartimento di Elettronica e Informazione Politecnico di Milano tel:

Way Portals: Efficient Multi-Agent Navigation with Line-Segment Goals

Autonomous Mobile Robots, Chapter 6 Planning and Navigation Where am I going? How do I get there? Localization. Cognition. Real World Environment

Mobile Robotics. Mathematics, Models, and Methods. HI Cambridge. Alonzo Kelly. Carnegie Mellon University UNIVERSITY PRESS

Large Scale Crowd Simulation Using A Hybrid Agent Model

Attack Resilient State Estimation for Vehicular Systems

Aggregate Dynamics for Dense Crowd Simulation

PPGCC Linha de Pesquisa SIV Disciplina: Animação Computadorizada. Profª. Drª. Soraia Raupp Musse Pós-doc Dr Leandro Dihl 12/05/2015

Robotic Behaviors. Potential Field Methods

Traffic/Flocking/Crowd AI. Gregory Miranda

arxiv: v1 [cs.cv] 27 Sep 2018

Robot Motion Control Matteo Matteucci

DenseSense: Interactive Crowd Simulation using Density-Dependent Filters

Deformable and Fracturing Objects

Sketch-based Interface for Crowd Animation

Space-time Group Motion Planning

Toward realistic and efficient virtual crowds. Julien Pettré - June 25, 2015 Habilitation à Diriger des Recherches

PLEdestrians: A Least-Effort Approach to Crowd Simulation

Crowd simulation. Summerschool Utrecht: Multidisciplinary Game Research. Dr. Roland Geraerts 23 August 2017

A Formal Model Approach for the Analysis and Validation of the Cooperative Path Planning of a UAV Team

Ian Mitchell. Department of Computer Science The University of British Columbia

CS123. Programming Your Personal Robot. Part 2: Event Driven Behavior

Table of Contents. Chapter 1. Modeling and Identification of Serial Robots... 1 Wisama KHALIL and Etienne DOMBRE

Fast continuous collision detection among deformable Models using graphics processors CS-525 Presentation Presented by Harish

High-density Crowds. A masters student s journey to graphics and multi agent systems

Waypoint Navigation with Position and Heading Control using Complex Vector Fields for an Ackermann Steering Autonomous Vehicle

1 Mission Level Design. of Autonomous Underwater Vehicles

Vehicle Motion Planning with Time-Varying Constraints

Graceful Navigation for Mobile Robots in Dynamic and Uncertain Environments

Introduction to Computer Graphics. Instructor: Stephen J. Guy

Introduction to Robotics

An analysis of the reciprocal collision avoidance of cooperative robots

Topics in Computer Animation

Integrating multiple representations of spatial knowledge for mapping, navigation, and communication

Using Bounding Volume Hierarchies Efficient Collision Detection for Several Hundreds of Objects

Composing Controllers for Team Coherence Maintenance with Collision Avoidance

Modeling the Virtual World

MODELING AND HIERARCHY

Off-Line and On-Line Trajectory Planning

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

arxiv: v1 [cs.gr] 7 Feb 2018

Collision Detection. Pu Jiantao.

Multi-Core Collision Detection between Deformable Models

Integrated Planning and Control for Convex-bodied Nonholonomic systems using Local Feedback Control Policies

Computer Animation. Algorithms and Techniques. z< MORGAN KAUFMANN PUBLISHERS. Rick Parent Ohio State University AN IMPRINT OF ELSEVIER SCIENCE

arxiv: v2 [cs.ma] 28 Sep 2016

Graphs, Search, Pathfinding (behavior involving where to go) Steering, Flocking, Formations (behavior involving how to go)

Manipulator trajectory planning

Behavioral Animation in Crowd Simulation. Ying Wei

CMU-Q Lecture 4: Path Planning. Teacher: Gianni A. Di Caro

Robotics Tasks. CS 188: Artificial Intelligence Spring Manipulator Robots. Mobile Robots. Degrees of Freedom. Sensors and Effectors

Transcription:

Interactive Multi-Robot Planning and Multi-Agent Simulation Dinesh Manocha UNC Chapel Hill dm@cs.unc.edu http://gamma.cs.unc.edu Collaborators Ming C. Lin Jur van der Berg Sean Curtis Russell Gayle Stephen Guy Sachin Patil Jamie Snape Avneesh Sud David Wilkie Yero Yeh Erik Andersen (Univ. of Washington) Pradeep Dubey (Intel) Jatin Chuggani (Intel) Smart Agents: real and virtual Autonomous agents that sense, plan, and act in real and/or virtual worlds Algorithms and systems for representing, capturing, planning, controlling, and rendering motions of physical objects Applications: Manufacturing Mobile robots Virtual worlds and digital actors Simulation and training Traffic & social engineering Multiple Agents & Crowd Simulation: training sytems Simulation of Virtual Humans ViCrowd [Musse& Thalmann01; EPFL] Virtual Iraq [ICT/USC 06] ABS [Tecchia et al.01; UCL] 1

Multiple Agents & Crowd Simulation: computer games Multiple Agents & Crowd Simulation Assassin s Creed Second Life Navigating to goal - important behavior in virtual agent simulation Challenge: scales with the number of agents & crowded scenes Navigation requires path planning Compute collision-free paths Generate realistic behaviors Satisfy constraints on the path Orientation Kineodynamic constraints Spore Multi-Agent Navigation N agents share an environment Move from start to goal without mutual collisions (and collisions with obstacles) Decoupled Simultaneous independent navigation for each agent Global path planning and local collision avoidance decoupled Real-time Agent Simulation Framework Independent Navigation Continuous cycle of sensing and acting (small time step t) Each cycle: each agent observes other agents (position, velocity) And select a new position, velocity, orientation for itself for the next cycle Problem: It does not know what the other agents are going to do How to act? (i.e. what velocity to select) Global planning vs. Local navigation 2

Velocity-based Formulation Reciprocal Velocity Obstacle Builds on velocity obstacles (Fiorini and Shiller 98) Extension: take the average of a velocity outside the velocity obstacle and the current velocity Formalize into Reciprocal Velocity Obstacle [Berg et al. 2007, 2008] RVO A B(v B, v A ) = {v A 2v A v A VO A B(v B )} Relatively Smooth Motion Using RVO In each cycle, select velocity outside velocity obstacle of any moving obstacle Agents are not passively moving, but react on each other Result: oscillations In each cycle, select velocity outside reciprocal velocity obstacle of any other agent Guaranteed to give safe navigation Guaranteed to prevent oscillations We use RVO as core operator of our navigation system Simple, fast, effective in crowded scenes 3

Optimal Collision Avoidance (ORCA) RVO provide a reliable solution for collision avoidance between multiple agents Each agent performs the local path computation in decentralized manner Computation reduces to linear programming for each agent Performs well in practice Multi-Agent Navigation System n agents A 1,, A n with positions p 1,, p n, velocities v 1,, v n, preferred speeds v pref 1,, v pref n and goals g 1,, g n Each time step: for each agent: Compute preferred velocity (global planning) Select new velocity (RVO) Update position of agent according to new velocity [Berg et al. 2009] Adding Constraints Multi-agent Simulation Directable simulation Least-Effort Crowds Large-scaled crowd simulation Application to real-world robots Traffic simulation and reconstruction 4

Directed Simulations Bring user in the loop End-user : Artist/animator who sets up virtual crowd simulations Framework [Patil et al. 2009] User Input : Guidance Fields User-specified strokes User should be oblivious to underlying simulation machinery Data-driven simulation Flow fields from video Procedural generation Composition module Environment description Navigation Field Multi-agent system 17 18 Overview For every group of agents sharing a common goal Compute Navigation Field Blend inputs into Guidance field Input 1 Input N Simulation (continuous cycle) for each agent Set preferred velocity from Navigation Field Update position and orientation of agent Update visualization Local collision avoidance Directed Simulation Compute smooth vector field Discrete approximation of Hamilton-Jacobi-Bellman equation Blend multiple inputs using feedback planning Goal-directed and collision avoidance Interactive editing or data-driven 19 20 5

Directable Crowd Simulation Crowd Simulation Directable crowd simulation Energy-efficient trajectory computation Video Large-scaled crowd simulation Application to real-world robots Traffic simulation and reconstruction 21 22 Our Approach Least-Effort Crowds Model fundamental principles of human motion Principle of Least Effort (PLE) An organism will expend the least average rate probable of work (as estimated by itself) George Zipf 1949 Velocity Space Technique ChooseVelocity() 1. Determine goal position 2. Find permissible, non-colliding velocities (PV) 3. Choose vel PV with minimum energy 23 24 6

Least-Effort Crowds 25 Interactive Large-Scale Crowd Simulation 26 Video 1. Animating each agent motion 2. Global navigation roadmaps 3. Local collision avoidance 4. Data and task-level parallelism 5. User directed crowd behavior 6. Real-time rendering 27 Interactive Large-Scale Crowd Simulation Software Libraries RVOLibrary: http://www.cs.unc.edu/~geom/rvo/library/ - Many hundreds of downloads Video Used by gamers and training applications NVIDIA ported to many-core GPUs Intel ported to multi-core and many-core processor 7

29 AMD/ATI Game Library based on RVOs Talk Organization Directable crowd simulation Large-scaled crowd simulation Application to real-world robots Traffic simulation and reconstruction Multi-robot navigation & coordination Hybrid RVOs: Model Uncertainity & Kinematics Multiple robots in an environment External state (can be sensed by other robots): Position, orientation, velocity, radius Internal state: Preferred speed, goal,... [Snape et al. 2009] 8

Modeling Kinematics Differential-drive robot Sensing Uncertainty Uncertainty adjusted velocity obstacle VO* Union of all simple VO over all positions and velocities within one standard deviation of the mean Application to Robots irobot Create Two independentlypowered wheels Favorable power-toweight ratio Talk Organization Hierarchical methods for crowd simulation Directable crowd simulation Application to real-world robots Traffic simulation and reconstruction 9

Traffic Reconstruction Traffic Reconstruction Given a road With sensors at the ends And information about when and how each vehicle entered and exited Reconstruct realistic paths for each car to satisfy these conditions We reconstruct motion of vehicles given the entry and exit position, time and velocity of each along a road Produce realistic motion through kinematic, dynamic and geometric constraints Traffic can be reconstructed in a streaming fashion Traffic Reconstruction Traffic Reconstruction Produce realistic motion through kinematic, dynamic and geometric constraints Use state space representation of vehicles with position, velocity and acceleration Compute roadmaps that satisfy these constraints Use space-time graphs 10

Conclusions Ongoing & Future Work New approaches for interactive multi-agent simulation Robust collision avoidance High level behavior specification Directing crowd simulation Parallel algorithms Applications Improved crowd and traffic simulations Modeling realistic behavior Real-time and realistic crowd rendering Large-scaled simulation (e.g. an entire city) Client-server architectures Application to gaming and virtual environments Acknowledgements Army Research Office National Science Foundation Office of Naval Research DARPA IARPA RDECOM Intel Disney NVIDIA Microsoft 11