Top Banner
NONDETERMINISTIC UNCERTAINTY & SENSORLESS PLANNING
40

Nondeterministic Uncertainty & Sensorless Planning

Feb 24, 2016

Download

Documents

atalo

Nondeterministic Uncertainty & Sensorless Planning. Sensing error Partial observability Unpredictable dynamics Other agents. Uncertainty models. This class : Nondeterministic uncertainty f( x,u ) -> a set of possible successors Probabilistic uncertainty - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Nondeterministic Uncertainty & Sensorless  Planning

NONDETERMINISTIC UNCERTAINTY &SENSORLESS PLANNING

Page 2: Nondeterministic Uncertainty & Sensorless  Planning

Sensing errorPartial observabilityUnpredictable dynamicsOther agents

Page 3: Nondeterministic Uncertainty & Sensorless  Planning

UNCERTAINTY MODELS This class: Nondeterministic uncertainty

f(x,u) -> a set of possible successors Probabilistic uncertainty

P(x’|x,u): a probability distribution over successors x’, given state x, control u

Page 4: Nondeterministic Uncertainty & Sensorless  Planning

UNCERTAINTY IN MOTION: REASONING WITH STATE SETS x’ = x + e, e [-a,a]

t=0

t=1-a a

t=2-2a 2a

Belief State: x(t) [-ta,ta]

Page 5: Nondeterministic Uncertainty & Sensorless  Planning

BELIEF STATE DYNAMICS F(x,u) = { x’ | x’=f(x,u) is a possible

successor } e.g., F(x,u) = [x+u-e, x+u+e]

Page 6: Nondeterministic Uncertainty & Sensorless  Planning

BELIEF STATE DYNAMICS F(x,u) = { x’ | x’=f(x,u) is a possible

successor } e.g., F(x,u) = [x+u-e, x+u+e]

Belief prediction: given x(0) X0 and u(0),…,u(t-1), Find the set Xt such that any point in Xt is a

possible realization of x(t)

Page 7: Nondeterministic Uncertainty & Sensorless  Planning

BELIEF STATE DYNAMICS F(x,u) = { x’ | x’=f(x,u) is a possible

successor } e.g., F(x,u) = [x+u-e, x+u+e]

Belief prediction: given x(0) X0 and u(0),…,u(t-1), Find the set Xt such that any point in Xt is a

possible realization of x(t)

Boundary-tracking on a grid: level set methods Applicable to low dimensions (up to ~4)

Page 8: Nondeterministic Uncertainty & Sensorless  Planning

SENSORLESS PLANNING

Page 9: Nondeterministic Uncertainty & Sensorless  Planning

MARBLE IN A TILTING MAZE EXAMPLE Use natural dynamics of compliance to

ensure that uncertainty stays bounded / shrinks

CommandUncertain outcome

On contact, certainty is increased

A guaranteed solution

Page 10: Nondeterministic Uncertainty & Sensorless  Planning

QUESTIONS Is a solution possible? How is uncertainty represented /

transformed? Need for actions that reduce uncertainty

Page 11: Nondeterministic Uncertainty & Sensorless  Planning
Page 12: Nondeterministic Uncertainty & Sensorless  Planning

GOLDBERG (1998): ORIENTING POLYGONAL PARTS WITHOUT SENSING A single parallel jaw gripper can orient

parts that have a polygonal convex hull.

Page 13: Nondeterministic Uncertainty & Sensorless  Planning

ASSUMPTIONS: All motions appear in the plane The gripper has two parallel jaws The gripper moves orthogonally to its jaws The object’s convex hull behaves rigidly The object is presented in isolation The object is initially between the jaws Both jaws make contact simultaneously with the

object Once contact is made, the jaws stay in contact

with the object throughout the grasping motion. There is no friction between the jaws and the

object

Page 14: Nondeterministic Uncertainty & Sensorless  Planning

SQUEEZE ACTIONS Let a squeeze action, α, be the combination

of orienting the gripper at angle α w.r.t. a fixed world frame, closing the jaws as far as possible, and then opening the jaws. To avoid squeezing the object right at its

endpoints, a squeeze action, α, can always be followed by closing the gripper at angle α + ε, rotating it by -ε, and then opening it.

Page 15: Nondeterministic Uncertainty & Sensorless  Planning

ORIENTING A RECTANGLE A 00 squeeze action, followed by a 450

squeeze action can orient a rectangular part up to symmetry.

Page 16: Nondeterministic Uncertainty & Sensorless  Planning

DIAMETER FUNCTIONS The diameter function, d:S1->R, describes

how the distance between jaws varies, if they were to make contact with the object at angle θ. the diameter of the grasped object at direction

θ is defined to be the maximum distance between two parallel supporting lines at angle θ.

Page 17: Nondeterministic Uncertainty & Sensorless  Planning

SQUEEZE FUNCTIONS The squeeze function, s:S1->S1, is a

transfer function, such that if θ is the initial orientation of the object w.r.t. the gripper, then s(θ) is the object’s orientation after the squeeze action is completed. Define an s-interval to be [a,b), s.t. a, b are

points of discontinuity in the squeeze function. Define the s-image of a set, s(Θ), to be the

smallest interval containing the following set: {s(θ)|θ is in Θ}.

Page 18: Nondeterministic Uncertainty & Sensorless  Planning

ORIENTING A RECTANGLE (CONTINUED)

Page 19: Nondeterministic Uncertainty & Sensorless  Planning

SQUEEZE FUNCTIONS (CONTINUED)

Θ1 – is an example of an s-intervals(Θ1) – is the s-image of Θ1

Page 20: Nondeterministic Uncertainty & Sensorless  Planning

ORIENTING A RECTANGLE (CONTINUED)Gripper

Orientation

Possible OrientationsBefore the Squeeze Action

Possible OrientationsAfter the Squeeze Action

1. 2.

3. 4.

Page 21: Nondeterministic Uncertainty & Sensorless  Planning

THE ALGORITHM Goal:

Given a list of n vertices describing the convex hull of a polygonal part, find the shortest sequence of squeeze actions guaranteed to orient the part up to symmetry.

Page 22: Nondeterministic Uncertainty & Sensorless  Planning

THE ALGORITHM1) Compute the squeeze function;2) Find the widest single step in the squeeze

function and set Θ1 equal to the corresponding s-interval;

3) While there exists an s-interval Θ s.t. |s(Θ)|<|Θi|:

• Set Θi+1 equal to the widest such s-interval• Increment i;

4) Return the list (Θ1 , Θ2 , …, Θi ).

Page 23: Nondeterministic Uncertainty & Sensorless  Planning

ORIENTING A RECTANGLE (CONTINUED)

The squeeze function plots illustrate steps 2 and 3 of the algorithm:

The output list is: (Θ1 , Θ2)

Page 24: Nondeterministic Uncertainty & Sensorless  Planning

RECOVERING THE ACTION PLAN Goal:

Given a list of i s-intervals (Θ1 , Θ2 , …, Θi ) generated by the described algorithm, construct a plan, ρi ,consisting of i squeeze actions (ai , ai-1 , …, a1) that collapses all orientations in Θi to the unique orientation s(Θ1).

Page 25: Nondeterministic Uncertainty & Sensorless  Planning

RECOVERING THE ACTION PLAN Observe that for the list (Θ1 , Θ2 , …, Θi ,.. Θn):

|s(Θi+1)|<|Θi|, therefore we could collapse the interval s(Θi+1) to a point with a single squeeze action at angle 0 if s(Θi+1) could be aligned with Θi.

This can be done by rotating the gripper by:s(θi+1) - θi = ai degrees, where θi and s(θi+1) can be taken as the start of the s-interval Θi and the start of the s-image of s(Θi+1), respectively.

Page 26: Nondeterministic Uncertainty & Sensorless  Planning

ORIENTING A RECTANGLE (CONTINUED)One possible way of aligning s(Θ2) with Θ1 for the rectangular part example is to rotate the gripper by 450, which results in shifting s(Θ2) by -450 = -π/4.

Page 27: Nondeterministic Uncertainty & Sensorless  Planning

ALGORITHM ANALYSIS Correctness:

For any plan ρ, ρ(θ + T) = ρ(θ) + T, where T is the smallest period in the object’s squeeze function. Thus, the plan ρ orients the part up to symmetry. It also does it in the minimal number of steps (see the paper).

Completeness: Given a starting s-interval, we can either find a larger

s-interval that has a smaller s-image, or the starting s-interval is a period of symmetry in the squeeze function. Therefore, we can generate a sequence of s-intervals (Θ1 , Θ2 , …, Θi ) of increasing measure.

Complexity: Runs in time O(n2log n) and finds plans of length O(n2)

(Note: there are newer derivations of lower complexity)

Page 28: Nondeterministic Uncertainty & Sensorless  Planning

EXTENSION: PUSH-GRASP ACTIONS Assuming simultaneous contact is unreliable Let a push-grasp action, α, be the

combination of orienting the gripper at angle α w.r.t. a fixed world frame, translating the gripper in direction α + π/2 for a fixed distance, closing the jaws as far as possible, and then opening the jaws.

Can derive a push-grasp squeeze function as before and apply the same algorithm

Page 29: Nondeterministic Uncertainty & Sensorless  Planning

NONDETERMINISM IN SENSING Achieve goal for every possible sensor result

in belief state

Move

Sense1 2

3 4

Minimizing # of sensor results reduces branching factor

Outcomes

Page 30: Nondeterministic Uncertainty & Sensorless  Planning

INTRUDER FINDING PROBLEM

A moving intruder is hiding in a 2-D workspace

The robot must “sweep” the workspace to find the intruder

Both the robot and the intruder are points

robot’s visibilityregion

hidingregion 1

cleared region

2 3

4 5 6

robot

Page 31: Nondeterministic Uncertainty & Sensorless  Planning

DOES A SOLUTION ALWAYS EXIST?

Easy to test: “Hole” in the workspace

Hard to test:No “hole” in the workspace

No !

Page 32: Nondeterministic Uncertainty & Sensorless  Planning

INFORMATION STATE

Example of an information state = (x,y,a=1,b=1,c=0)

An initial state is of the form (x,y,1, 1, ..., 1) A goal state is any state of the form (x,y,0,0, ..., 0)

(x,y)

a = 0 or 1

c = 0 or 1b = 0 or 1

0 cleared region1 hidding region

Page 33: Nondeterministic Uncertainty & Sensorless  Planning

CRITICAL LINE

a=0 b=1

a=0 b=1

Information state is unchanged

a=0 b=0

Critical line

Page 34: Nondeterministic Uncertainty & Sensorless  Planning

A

B C D

E

CRITICALITY-BASED DISCRETIZATION

Each of the regions A, B, C, D, and E consists of “equivalent” positions of the robot,so it’s sufficient to consider a single positionper region

Page 35: Nondeterministic Uncertainty & Sensorless  Planning

CRITICALITY-BASED DISCRETIZATION

A

B C D

E

(C, 1, 1)

(D, 1)(B, 1)

Page 36: Nondeterministic Uncertainty & Sensorless  Planning

CRITICALITY-BASED DISCRETIZATION

A

B C D

E

(C, 1, 1)

(D, 1)(B, 1)

(E, 1)(C, 1, 0)

Page 37: Nondeterministic Uncertainty & Sensorless  Planning

CRITICALITY-BASED DISCRETIZATION

A

B C D

E

(C, 1, 1)

(D, 1)(B, 1)

(E, 1)(C, 1, 0)

(B, 0) (D, 1)

Page 38: Nondeterministic Uncertainty & Sensorless  Planning

CRITICALITY-BASED DISCRETIZATION

A

C D

E

(C, 1, 1)

(D, 1)(B, 1)

(E, 1)(C, 1, 0)

(B, 0) (D, 1)Discretization chosen explicitlyto get small search trees

B

Page 39: Nondeterministic Uncertainty & Sensorless  Planning

REMARKS Planners that use nondeterministic

uncertainty models optimize for the worst case

In general, devising good discretizations / information state representations takes a bit of ingenuity

Page 40: Nondeterministic Uncertainty & Sensorless  Planning

NEXT TIME Probabilistic uncertainty