Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and...

29
Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University [email protected] Joint work (this talk) with: Jim Jing, Ben Johnson, Cameron Finucane, Nir Piterman and Vasu Raman

Transcript of Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and...

Page 1: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Synthesis and Robotics

Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering

Cornell University

[email protected] Joint work (this talk) with: Jim Jing, Ben Johnson, Cameron Finucane,

Nir Piterman and Vasu Raman

Page 2: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

• “Drive around the city and obey traffic laws. Do not hurt anyone or anything”

• Teams of engineers

from industry and academia and…

Jalopnik.com TerraMax at DUC – from flickr (kwc)

DUC highlights

Page 3: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

• “Go fetch me a beer”

• Week long hackathon at Willow Garage

Willow garage blog

Page 4: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Specifications (“What”)

Implementation (“How”)

Testing (“Works?”)

Control (probably works)

Now

Page 5: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Specifications (“What”)

Implementation (“How”)

Testing (“Works?”)

Control (works!)

In the (near) future

Automatic Correct-by-construction

synthesis

Page 6: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Jing, Finucane, Raman and KG, ICRA 2012

Page 7: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Continuous task (motion and action of a robot)

Sensing and Control for the robot

Automatic Provably correct

Page 8: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Synthesize provably correct solution

Discrete specification and model

Discrete Abstraction

Continuous implementation of solution

Continuous task (motion and action of a robot)

Sensing and Control for the robot

Page 9: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Synthesize provably correct solution

Discrete specification and model

Discrete Abstraction

Continuous implementation of solution

Continuous task (motion and action of a robot)

Sensing and Control for the robot

Reactive to the environment

Page 10: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Synthesize provably correct solution

Discrete specification and model

Discrete Abstraction

Continuous implementation of solution

Continuous task (motion and action of a robot)

Sensing and Control for the robot

Reactive to the environment

Sensor abstraction, atomic controllers

Page 11: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Synthesize provably correct solution

Discrete specification and model

Discrete Abstraction

Continuous implementation of solution

Continuous task (motion and action of a robot)

Sensing and Control for the robot

Reactive to the environment

Sensor abstraction, atomic controllers

Linear Temporal Logic, (Structured) language

Page 12: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Structured English Grammar

KG, Fainekos and Pappas, Advanced Robotics 2008, KG and Pappas ICRA 2010

Page 13: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Synthesize provably correct solution

Discrete specification and model

Discrete Abstraction

Continuous implementation of solution

Continuous task (motion and action of a robot)

Sensing and Control for the robot

Reactive to the environment

Sensor abstraction, atomic controllers

Linear Temporal Logic, (Structured) language

LTL synthesis, probabilistic model checking

Hybrid controller

Page 14: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

(Partial) Related work

• Robot Control from Temporal Logic specifications: Kavraki and Vardi, Belta, Karaman and frazzoli, Fainekos, Wongpiromsarm Topcu and Murray,,…

• Symbolic control, languages and grammars for control: Egerstedt, Frazzoli and Dahleh, Klavins, Stilman, Tanner, …

• Hybrid systems • Formal methods – synthesis • Planning community

Page 15: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman and KG: CAV 2011, ICRA 2012, IEEE TRO

Page 16: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

• Specification Unsatisfiable:

“Start in Deck. Always stay there. go to kitchen. ” • Specification Unrealizable:

“Start in Deck. If you see a person stay there. go to kitchen. ”

• Trivial solution:

“Always person and not person. ”

Raman and KG: CAV 2011, ICRA 2012, IEEE TRO

Page 17: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman and KG: CAV 2011, ICRA 2012, IEEE TRO

Page 18: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman and KG: CAV 2011, ICRA 2012, IEEE TRO

Page 19: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Correct Controller

Correct Behavior

High-Level Tasks

EnvironmentModel

Robot Abstraction

EnvironmentPerfect Sensors

Johnson and KG, RSS 2011, Johnson, Havlak, Campbell and KG, ICRA 2012

Human controlling a robot

Correct Controller

?

High-Level Tasks

EnvironmentModel

Robot Abstraction

EnvironmentImperfect Sensors

Page 20: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Φ X Y

Controller Synthesis

DTMC Construction

R s.t. E R Φ

ProbabilisticModel Checker Φ

E, E

P( E R Φ)

Johnson and KG, RSS 2011, Johnson, Havlak, Campbell and KG, ICRA 2012

Page 21: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Johnson and KG, RSS 2011, Johnson, Havlak, Campbell and KG, ICRA 2012

Page 22: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Johnson and KG, RSS 2011, Johnson, Havlak, Campbell and KG, ICRA 2012

Page 23: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman, Finucane and KG, IROS 2012, Raman, Piterman and KG, ICRA 2013 (To appear)

Page 24: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman, Finucane and KG, IROS 2012, Raman, Piterman and KG, ICRA 2013 (To appear)

Page 25: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman, Finucane and KG, IROS 2012, Raman, Piterman and KG, ICRA 2013 (To appear)

Option 1: Actions end together

Page 26: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman, Finucane and KG, IROS 2012

Option 2: Actions start together

Page 27: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Human controlling a robot

Raman, Piterman and KG, ICRA 2013 (To appear)

Option 3: Model activation and completion of Actions

Page 28: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

LTLMoP

• Linear Temporal Logic MissiOn Planner • Use structured English to control a robot • Python-based • Modular • Integrates with simulators (Gazebo) and

physical robots • http://ltlmop.github.com/

Page 29: Synthesis and Robotics · Synthesis and Robotics Hadas Kress-Gazit Sibley School of Mechanical and Aerospace Engineering Cornell University hadaskg@cornell.edu Joint work (this …

Robot waiter scenario – hot off the press