Square Formation by Asynchronous Oblivious Robots CCCG 2016 - - PowerPoint PPT Presentation

square formation by asynchronous oblivious robots
SMART_READER_LITE
LIVE PREVIEW

Square Formation by Asynchronous Oblivious Robots CCCG 2016 - - PowerPoint PPT Presentation

Square Formation by Asynchronous Oblivious Robots CCCG 2016 Marcello Mamino, Giovanni Viglietta Vancouver August 3, 2016 Square Formation by Asynchronous Oblivious Robots Anonymous robots sensing and moving in the plane We consider a


slide-1
SLIDE 1

Square Formation by Asynchronous Oblivious Robots

CCCG 2016 Marcello Mamino, Giovanni Viglietta Vancouver – August 3, 2016

Square Formation by Asynchronous Oblivious Robots

slide-2
SLIDE 2

Anonymous robots sensing and moving in the plane

We consider a swarm of anonymous robots in the Euclidean plane

Square Formation by Asynchronous Oblivious Robots

slide-3
SLIDE 3

Anonymous robots sensing and moving in the plane

Each robot can sense the positions of all other robots...

Square Formation by Asynchronous Oblivious Robots

slide-4
SLIDE 4

Anonymous robots sensing and moving in the plane

Each robot can sense the positions of all other robots...

Square Formation by Asynchronous Oblivious Robots

slide-5
SLIDE 5

Anonymous robots sensing and moving in the plane

Each robot can sense the positions of all other robots...

Square Formation by Asynchronous Oblivious Robots

slide-6
SLIDE 6

Anonymous robots sensing and moving in the plane

Each robot can sense the positions of all other robots...

Square Formation by Asynchronous Oblivious Robots

slide-7
SLIDE 7

Anonymous robots sensing and moving in the plane

...And move according to a deterministic algorithm

Square Formation by Asynchronous Oblivious Robots

slide-8
SLIDE 8

Anonymous robots sensing and moving in the plane

...And move according to a deterministic algorithm

Square Formation by Asynchronous Oblivious Robots

slide-9
SLIDE 9

Anonymous robots sensing and moving in the plane

Different robots are activated asynchronously

Square Formation by Asynchronous Oblivious Robots

slide-10
SLIDE 10

Anonymous robots sensing and moving in the plane

Different robots are activated asynchronously

Square Formation by Asynchronous Oblivious Robots

slide-11
SLIDE 11

Anonymous robots sensing and moving in the plane

Different robots are activated asynchronously

Square Formation by Asynchronous Oblivious Robots

slide-12
SLIDE 12

Anonymous robots sensing and moving in the plane

Different robots are activated asynchronously

Square Formation by Asynchronous Oblivious Robots

slide-13
SLIDE 13

Pattern Formation problem

Problem: form a given pattern from any initial configuration

Square Formation by Asynchronous Oblivious Robots

slide-14
SLIDE 14

Pattern Formation problem

Problem: form a given pattern from any initial configuration

Square Formation by Asynchronous Oblivious Robots

slide-15
SLIDE 15

Pattern Formation problem

Problem: form a given pattern from any initial configuration

Square Formation by Asynchronous Oblivious Robots

slide-16
SLIDE 16

Pattern Formation problem

Problem: form a given pattern from any initial configuration

Square Formation by Asynchronous Oblivious Robots

slide-17
SLIDE 17

Pattern Formation problem

Problem: form a given pattern from any initial configuration

Square Formation by Asynchronous Oblivious Robots

slide-18
SLIDE 18

Pattern Formation problem

Problem: form a given pattern from any initial configuration

Square Formation by Asynchronous Oblivious Robots

slide-19
SLIDE 19

Pattern Formation problem

Problem: form a given pattern from any initial configuration

Square Formation by Asynchronous Oblivious Robots

slide-20
SLIDE 20

Pattern Formation problem

The pattern may be rotated, reflected, and scaled

Square Formation by Asynchronous Oblivious Robots

slide-21
SLIDE 21

Pattern Formation problem

The pattern may be rotated, reflected, and scaled

Square Formation by Asynchronous Oblivious Robots

slide-22
SLIDE 22

Pattern Formation problem

The pattern may be rotated, reflected, and scaled

Square Formation by Asynchronous Oblivious Robots

slide-23
SLIDE 23

Pattern Formation problem

The pattern may be rotated, reflected, and scaled

Square Formation by Asynchronous Oblivious Robots

slide-24
SLIDE 24

Model definition

Robots are: Dimensionless (robots are modeled as geometric points) Anonymous (no unique identifiers) Homogeneous (the same algorithm is executed by all robots) Autonomous (no centralized control) Oblivious (no memory of past events) Silent (no explicit way of communicating) Long-sighted (complete visibility of all other robots) Disoriented (robots do not share a common reference frame, and a robot’s reference frame may change from turn to turn)

No common unit distance No common compass No common notion of clockwise direction

Square Formation by Asynchronous Oblivious Robots

slide-25
SLIDE 25

Life cycles and asynchronicity

Look / Compute Move

Each robot repeats a Look/Compute/Move cycle

Square Formation by Asynchronous Oblivious Robots

slide-26
SLIDE 26

Life cycles and asynchronicity

Look / Compute Move

Each robot repeats a Look/Compute/Move cycle

Square Formation by Asynchronous Oblivious Robots

slide-27
SLIDE 27

Life cycles and asynchronicity

Look / Compute Move

/In a Look phase, an instantaneous snapshot is taken of all robots/

Square Formation by Asynchronous Oblivious Robots

slide-28
SLIDE 28

Life cycles and asynchronicity

Look / Compute Move

/A destination point is computed as a function of the snapshot/

Square Formation by Asynchronous Oblivious Robots

slide-29
SLIDE 29

Life cycles and asynchronicity

Look / Compute Move

/The destination point is approached with unpredictable speed/

Square Formation by Asynchronous Oblivious Robots

slide-30
SLIDE 30

Life cycles and asynchronicity

Look / Compute Move

/The destination point is approached with unpredictable speed/

Square Formation by Asynchronous Oblivious Robots

slide-31
SLIDE 31

Life cycles and asynchronicity

Look / Compute Move

/The destination point is approached with unpredictable speed/

Square Formation by Asynchronous Oblivious Robots

slide-32
SLIDE 32

Life cycles and asynchronicity

Look / Compute Move

/The destination point is approached with unpredictable speed/

Square Formation by Asynchronous Oblivious Robots

slide-33
SLIDE 33

Life cycles and asynchronicity

Look / Compute Move

/The destination point is approached with unpredictable speed/

Square Formation by Asynchronous Oblivious Robots

slide-34
SLIDE 34

Life cycles and asynchronicity

Look / Compute Move

The robot may unpredictably/ stop before reaching the destination...

Square Formation by Asynchronous Oblivious Robots

slide-35
SLIDE 35

Life cycles and asynchronicity

Look / Compute Move

...and execute a new Look/Compute phase

Square Formation by Asynchronous Oblivious Robots

slide-36
SLIDE 36

Life cycles and asynchronicity

Look / Compute Move

...and execute a new Look/Compute phase

Square Formation by Asynchronous Oblivious Robots

slide-37
SLIDE 37

Life cycles and asynchronicity δ

Look / Compute Move

/At each cycle, a robot is guaranteed to move by at least δ/

Square Formation by Asynchronous Oblivious Robots

slide-38
SLIDE 38

Life cycles and asynchronicity

Look / Compute Move Look / Compute Move

/Different robots execute independent cycles, asynchronously/

Square Formation by Asynchronous Oblivious Robots

slide-39
SLIDE 39

Pattern Formation problem: counterexample

x y x y x y x y x y x y

Let the initial configuration be rotationally symmetric

Square Formation by Asynchronous Oblivious Robots

slide-40
SLIDE 40

Pattern Formation problem: counterexample

x y x y x y x y x y x y

All robots have the same view and compute symmetric destinations

Square Formation by Asynchronous Oblivious Robots

slide-41
SLIDE 41

Pattern Formation problem: counterexample

x y x y x y x y x y x y

If they are all activated synchronously, they remain symmetric

Square Formation by Asynchronous Oblivious Robots

slide-42
SLIDE 42

Pattern Formation problem: counterexample

x y x y x y x y x y x y

Hence Pattern Formation is unsolvable if the pattern is asymmetric

Square Formation by Asynchronous Oblivious Robots

slide-43
SLIDE 43

Pattern Formation problem: state of the art

No pattern is formable from every possible initial configuration, except: Single point (aka Gathering problem) = ⇒ Solved [Cieliebak-Flocchini-Prencipe-Santoro, 2012]

Square Formation by Asynchronous Oblivious Robots

slide-44
SLIDE 44

Pattern Formation problem: state of the art

No pattern is formable from every possible initial configuration, except: Single point (aka Gathering problem) = ⇒ Solved [Cieliebak-Flocchini-Prencipe-Santoro, 2012] Regular polygon = ⇒ Solved...

[Flocchini-Prencipe-Santoro-Viglietta, 2014–15]

...except for 4 robots! (aka Square Formation problem)

Square Formation by Asynchronous Oblivious Robots

slide-45
SLIDE 45

Pattern Formation problem: state of the art

No pattern is formable from every possible initial configuration, except: Single point (aka Gathering problem) = ⇒ Solved [Cieliebak-Flocchini-Prencipe-Santoro, 2012] Regular polygon = ⇒ Solved...

[Flocchini-Prencipe-Santoro-Viglietta, 2014–15]

...except for 4 robots! (aka Square Formation problem)

Square Formation by Asynchronous Oblivious Robots

slide-46
SLIDE 46

General approach to forming a regular polygon

An important configuration is the biangular one

Square Formation by Asynchronous Oblivious Robots

slide-47
SLIDE 47

General approach to forming a regular polygon

An important configuration is the biangular one

Square Formation by Asynchronous Oblivious Robots

slide-48
SLIDE 48

General approach to forming a regular polygon

The general algorithm identifies a supporting polygon...

Square Formation by Asynchronous Oblivious Robots

slide-49
SLIDE 49

General approach to forming a regular polygon

g...And makes each robot move to the closest vertexg

Square Formation by Asynchronous Oblivious Robots

slide-50
SLIDE 50

General approach to forming a regular polygon

As robots move, the supporting polygon is preserved

Square Formation by Asynchronous Oblivious Robots

slide-51
SLIDE 51

General approach to forming a regular polygon

As robots move, the supporting polygon is preserved

Square Formation by Asynchronous Oblivious Robots

slide-52
SLIDE 52

Why the general approach fails with 4 robots

With 4 robots, biangular configurations are rectangles

Square Formation by Asynchronous Oblivious Robots

slide-53
SLIDE 53

Why the general approach fails with 4 robots

We can still identify a supporting square...

Square Formation by Asynchronous Oblivious Robots

slide-54
SLIDE 54

Why the general approach fails with 4 robots

...But it is not unique!

Square Formation by Asynchronous Oblivious Robots

slide-55
SLIDE 55

Why the general approach fails with 4 robots

...But it is not unique!

Square Formation by Asynchronous Oblivious Robots

slide-56
SLIDE 56

Why the general approach fails with 4 robots

The “central” supporting polygon may be chosen...

Square Formation by Asynchronous Oblivious Robots

slide-57
SLIDE 57

Why the general approach fails with 4 robots

...But asynchronous robots may never manage to form a square

Square Formation by Asynchronous Oblivious Robots

slide-58
SLIDE 58

Why the general approach fails with 4 robots

...But asynchronous robots may never manage to form a square

Square Formation by Asynchronous Oblivious Robots

slide-59
SLIDE 59

Why the general approach fails with 4 robots

...But asynchronous robots may never manage to form a square

Square Formation by Asynchronous Oblivious Robots

slide-60
SLIDE 60

Why the general approach fails with 4 robots

...But asynchronous robots may never manage to form a square

Square Formation by Asynchronous Oblivious Robots

slide-61
SLIDE 61

How to solve the rectangle

How do we solve the rectangular case?

Square Formation by Asynchronous Oblivious Robots

slide-62
SLIDE 62

How to solve the rectangle

Choose a supporting square that is tilted by 45◦...

Square Formation by Asynchronous Oblivious Robots

slide-63
SLIDE 63

How to solve the rectangle

...And make the robots move to the midpoints of its edges

Square Formation by Asynchronous Oblivious Robots

slide-64
SLIDE 64

How to solve the rectangle

Again, the supporting square is preserved as the robots move

Square Formation by Asynchronous Oblivious Robots

slide-65
SLIDE 65

How to solve the rectangle

Again, the supporting square is preserved as the robots move

Square Formation by Asynchronous Oblivious Robots

slide-66
SLIDE 66

How to solve the rectangle

When they reach the midpoints, they form a square

Square Formation by Asynchronous Oblivious Robots

slide-67
SLIDE 67

Identifying the supporting square

(In general, we can also identify a supporting square...(

Square Formation by Asynchronous Oblivious Robots

slide-68
SLIDE 68

Identifying the supporting square

...Having a robot on each (extended) edge

Square Formation by Asynchronous Oblivious Robots

slide-69
SLIDE 69

Identifying the supporting square

(But once again, the supporting square is not unique!(

Square Formation by Asynchronous Oblivious Robots

slide-70
SLIDE 70

Identifying the supporting square

(However, there is a geometric construction that identifies one(

Square Formation by Asynchronous Oblivious Robots

slide-71
SLIDE 71

Identifying the supporting square

(However, there is a geometric construction that identifies one(

Square Formation by Asynchronous Oblivious Robots

slide-72
SLIDE 72

Identifying the supporting square

(However, there is a geometric construction that identifies one(

Square Formation by Asynchronous Oblivious Robots

slide-73
SLIDE 73

Identifying the supporting square

(However, there is a geometric construction that identifies one(

Square Formation by Asynchronous Oblivious Robots

slide-74
SLIDE 74

Identifying the supporting square

(However, there is a geometric construction that identifies one(

Square Formation by Asynchronous Oblivious Robots

slide-75
SLIDE 75

Identifying the supporting square

(However, there is a geometric construction that identifies one(

Square Formation by Asynchronous Oblivious Robots

slide-76
SLIDE 76

Identifying the supporting square

(All robots automatically agree on the same supporting square!(

Square Formation by Asynchronous Oblivious Robots

slide-77
SLIDE 77

Identifying the supporting square

(All robots automatically agree on the same supporting square!(

Square Formation by Asynchronous Oblivious Robots

slide-78
SLIDE 78

Identifying the supporting square

(All robots automatically agree on the same supporting square!(

Square Formation by Asynchronous Oblivious Robots

slide-79
SLIDE 79

Identifying the supporting square

(No two robots have intersecting pathways!(

Square Formation by Asynchronous Oblivious Robots

slide-80
SLIDE 80

Identifying the supporting square

(No two robots have intersecting pathways!(

Square Formation by Asynchronous Oblivious Robots

slide-81
SLIDE 81

Identifying the supporting square

(No two robots have intersecting pathways!(

Square Formation by Asynchronous Oblivious Robots

slide-82
SLIDE 82

Problem: orthogonal diagonals

Suppose the two diagonals “accidentally” become orthogonal

Square Formation by Asynchronous Oblivious Robots

slide-83
SLIDE 83

Problem: orthogonal diagonals

Suppose the two diagonals “accidentally” become orthogonal

Square Formation by Asynchronous Oblivious Robots

slide-84
SLIDE 84

Problem: orthogonal diagonals

gThen our construction does not workg

Square Formation by Asynchronous Oblivious Robots

slide-85
SLIDE 85

Problem: orthogonal diagonals

The robots may not agree on a supporting square

Square Formation by Asynchronous Oblivious Robots

slide-86
SLIDE 86

Special strategy for orthogonal diagonals

If the diagonals are orthogonal, we use a different approach

Square Formation by Asynchronous Oblivious Robots

slide-87
SLIDE 87

Special strategy for orthogonal diagonals

If the diagonals are orthogonal, we use a different approach

Square Formation by Asynchronous Oblivious Robots

slide-88
SLIDE 88

Special strategy for orthogonal diagonals

The robots that are closest to the center move away from it

Square Formation by Asynchronous Oblivious Robots

slide-89
SLIDE 89

Special strategy for orthogonal diagonals

The robots that are closest to the center move away from it

Square Formation by Asynchronous Oblivious Robots

slide-90
SLIDE 90

Special strategy for orthogonal diagonals

The robots that are closest to the center move away from it

Square Formation by Asynchronous Oblivious Robots

slide-91
SLIDE 91

Special strategy for non-convex configurations

For non-convex configurations, our construction does not work...

Square Formation by Asynchronous Oblivious Robots

slide-92
SLIDE 92

Special strategy for non-convex configurations

...Because the diagonals are not well defined

Square Formation by Asynchronous Oblivious Robots

slide-93
SLIDE 93

Special strategy for non-convex configurations

gIn this case, the internal robot moves...g

Square Formation by Asynchronous Oblivious Robots

slide-94
SLIDE 94

Special strategy for non-convex configurations

gIn this case, the internal robot moves...g

Square Formation by Asynchronous Oblivious Robots

slide-95
SLIDE 95

Special strategy for non-convex configurations

...So to make the diagonals orthogonal...

Square Formation by Asynchronous Oblivious Robots

slide-96
SLIDE 96

Special strategy for non-convex configurations

...And reduce the problem to the previous case

Square Formation by Asynchronous Oblivious Robots

slide-97
SLIDE 97

Special strategy for collinear configurations

If the robots are collinear, the previous approach does not work

Square Formation by Asynchronous Oblivious Robots

slide-98
SLIDE 98

Special strategy for collinear configurations

gIn this case, the internal robots move to either side of the lineg

Square Formation by Asynchronous Oblivious Robots

slide-99
SLIDE 99

Special strategy for collinear configurations

As they asynchronously move, their supporting square may change

Square Formation by Asynchronous Oblivious Robots

slide-100
SLIDE 100

Special strategy for collinear configurations

  • 50
  • 50

So we must identify a “safe region”, e.g., a thin hexagon

Square Formation by Asynchronous Oblivious Robots

slide-101
SLIDE 101

Special strategy for collinear configurations

  • 50
  • 50

If the robots are in a thin hexagon, they follow a special algorithm

Square Formation by Asynchronous Oblivious Robots

slide-102
SLIDE 102

Special strategy for collinear configurations

  • 50
  • 50

If they end up on opposite sides of the long diagonal...

Square Formation by Asynchronous Oblivious Robots

slide-103
SLIDE 103

Special strategy for collinear configurations

...We make them form a configuration with orthogonal diagonals

Square Formation by Asynchronous Oblivious Robots

slide-104
SLIDE 104

Special strategy for collinear configurations

Otherwise, they move on two vertices and wait for each other

Square Formation by Asynchronous Oblivious Robots

slide-105
SLIDE 105

Special strategy for collinear configurations

Otherwise, they move on two vertices and wait for each other

Square Formation by Asynchronous Oblivious Robots

slide-106
SLIDE 106

Special strategy for collinear configurations

  • 50
  • 50

Otherwise, they move on two vertices and wait for each other

Square Formation by Asynchronous Oblivious Robots

slide-107
SLIDE 107

Special strategy for collinear configurations

  • 50
  • 50

Otherwise, they move on two vertices and wait for each other

Square Formation by Asynchronous Oblivious Robots

slide-108
SLIDE 108

Special strategy for collinear configurations

  • 50
  • 50

Now that they are not moving, they agree on a supporting square

Square Formation by Asynchronous Oblivious Robots

slide-109
SLIDE 109

General algorithm: one discordant robot

Suppose one robot is “discordant” with all the others

Square Formation by Asynchronous Oblivious Robots

slide-110
SLIDE 110

General algorithm: one discordant robot

Suppose one robot is “discordant” with all the others

Square Formation by Asynchronous Oblivious Robots

slide-111
SLIDE 111

General algorithm: one discordant robot

We let only the discordant robot move toward its final destination

Square Formation by Asynchronous Oblivious Robots

slide-112
SLIDE 112

General algorithm: one discordant robot

As it moves, it may cause the diagonals to become orthogonal!

Square Formation by Asynchronous Oblivious Robots

slide-113
SLIDE 113

General algorithm: one discordant robot

In this case, it has to stop at the point of orthogonality...

Square Formation by Asynchronous Oblivious Robots

slide-114
SLIDE 114

General algorithm: one discordant robot

In this case, it has to stop at the point of orthogonality...

Square Formation by Asynchronous Oblivious Robots

slide-115
SLIDE 115

General algorithm: one discordant robot

...So all robots will behave coherently, despite asynchronicity

Square Formation by Asynchronous Oblivious Robots

slide-116
SLIDE 116

General algorithm: two opposite concordant, two finished

We let the two opposite robots move

Square Formation by Asynchronous Oblivious Robots

slide-117
SLIDE 117

General algorithm: two opposite concordant, two finished

The diagonals can never become orthogonal by accident

Square Formation by Asynchronous Oblivious Robots

slide-118
SLIDE 118

General algorithm: two opposite concordant, two finished

The diagonals can never become orthogonal by accident

Square Formation by Asynchronous Oblivious Robots

slide-119
SLIDE 119

General algorithm: two opposite concordant, two finished

The diagonals can never become orthogonal by accident

Square Formation by Asynchronous Oblivious Robots

slide-120
SLIDE 120

General algorithm: two opposite concordant, two finished

No thin hexagon can be formed by accident...

Square Formation by Asynchronous Oblivious Robots

slide-121
SLIDE 121

General algorithm: two opposite concordant, two finished

No thin hexagon can be formed by accident...

Square Formation by Asynchronous Oblivious Robots

slide-122
SLIDE 122

General algorithm: two opposite concordant, two finished

...Because the sum of distances from the long diagonal is too large

Square Formation by Asynchronous Oblivious Robots

slide-123
SLIDE 123

General algorithm: two opposite concordant, two finished

...Because the sum of distances from the long diagonal is too large

Square Formation by Asynchronous Oblivious Robots

slide-124
SLIDE 124

General algorithm: two opposite concordant, two finished

...Because the sum of distances from the long diagonal is too large

Square Formation by Asynchronous Oblivious Robots

slide-125
SLIDE 125

General algorithm: two opposite concordant, two finished

...Because the sum of distances from the long diagonal is too large

Square Formation by Asynchronous Oblivious Robots

slide-126
SLIDE 126

General algorithm: two opposite concordant, two finished

...Because the sum of distances from the long diagonal is too large

Square Formation by Asynchronous Oblivious Robots

slide-127
SLIDE 127

General algorithm: two opposite concordant, two finished

But the configuration may become non-convex by accident!

Square Formation by Asynchronous Oblivious Robots

slide-128
SLIDE 128

General algorithm: two opposite concordant, two finished

But the configuration may become non-convex by accident!

Square Formation by Asynchronous Oblivious Robots

slide-129
SLIDE 129

General algorithm: two opposite concordant, two finished

But the configuration may become non-convex by accident!

Square Formation by Asynchronous Oblivious Robots

slide-130
SLIDE 130

General algorithm: two opposite concordant, two finished

This can be prevented by making several shorter moves

Square Formation by Asynchronous Oblivious Robots

slide-131
SLIDE 131

General algorithm: two opposite concordant, two finished

This can be prevented by making several shorter moves

Square Formation by Asynchronous Oblivious Robots

slide-132
SLIDE 132

General algorithm: two opposite concordant, two finished

This can be prevented by making several shorter moves

Square Formation by Asynchronous Oblivious Robots

slide-133
SLIDE 133

General algorithm: two opposite concordant, two finished

This can be prevented by making several shorter moves

Square Formation by Asynchronous Oblivious Robots

slide-134
SLIDE 134

General algorithm: two opposite concordant, two finished

This can be prevented by making several shorter moves

Square Formation by Asynchronous Oblivious Robots

slide-135
SLIDE 135

General algorithm: two opposite concordant, two finished

This can be prevented by making several shorter moves

Square Formation by Asynchronous Oblivious Robots

slide-136
SLIDE 136

General algorithm: two opposite concordant, two finished

This can be prevented by making several shorter moves

Square Formation by Asynchronous Oblivious Robots

slide-137
SLIDE 137

General algorithm: all concordant

(We let only the robots on the shortest diagonal move...(

Square Formation by Asynchronous Oblivious Robots

slide-138
SLIDE 138

General algorithm: all concordant

(...Because it will remain the shortest as they move(

Square Formation by Asynchronous Oblivious Robots

slide-139
SLIDE 139

General algorithm: all concordant

But one robot (not both!) may be “blocked” by the other diagonal

Square Formation by Asynchronous Oblivious Robots

slide-140
SLIDE 140

General algorithm: all concordant

(If so, only the blocked robot moves, and stops on the diagonal(

Square Formation by Asynchronous Oblivious Robots

slide-141
SLIDE 141

General algorithm: all concordant

(Then all robots behave coherently as in the non-convex case(

Square Formation by Asynchronous Oblivious Robots

slide-142
SLIDE 142

General algorithm: two convergent robots

The convergent robots move, while the others wait

Square Formation by Asynchronous Oblivious Robots

slide-143
SLIDE 143

General algorithm: two convergent robots

No thin hexagon can be formed by accident

Square Formation by Asynchronous Oblivious Robots

slide-144
SLIDE 144

General algorithm: two convergent robots

No thin hexagon can be formed by accident

Square Formation by Asynchronous Oblivious Robots

slide-145
SLIDE 145

General algorithm: two convergent robots

No thin hexagon can be formed by accident

Square Formation by Asynchronous Oblivious Robots

slide-146
SLIDE 146

General algorithm: two convergent robots

No thin hexagon can be formed by accident

Square Formation by Asynchronous Oblivious Robots

slide-147
SLIDE 147

General algorithm: last case

If only one robot is external...

Square Formation by Asynchronous Oblivious Robots

slide-148
SLIDE 148

General algorithm: last case

  • 25

>

...The angles it forms with the two far robots are > 25◦

Square Formation by Asynchronous Oblivious Robots

slide-149
SLIDE 149

General algorithm: last case

So a thin hexagon cannot be formed, because its angles are 50◦

Square Formation by Asynchronous Oblivious Robots

slide-150
SLIDE 150

General algorithm: last case

So a thin hexagon cannot be formed, because its angles are 50◦

Square Formation by Asynchronous Oblivious Robots

slide-151
SLIDE 151

General algorithm: last case

This yields a simple coordination protocol for the robots in all cases

Square Formation by Asynchronous Oblivious Robots

slide-152
SLIDE 152

Algorithm summary

The configuration is checked against each possible class, in the correct order!

1 Orthogonal diagonals 2 Thin hexagon 3 Non-convex 4 All concordant 5 Two convergent, two divergent 6 Two divergent, two divergent 7 One discordant Square Formation by Asynchronous Oblivious Robots

slide-153
SLIDE 153

Algorithm summary

The configuration is checked against each possible class, in the correct order!

1 Orthogonal diagonals 2 Thin hexagon 3 Non-convex 4 All concordant 5 Two convergent, two divergent 6 Two divergent, two divergent 7 One discordant

Ensure that, when a class transition occurs, No robot is moving (to prevent inconsistent behaviors!) The resulting class has lower index (in the list above)

Square Formation by Asynchronous Oblivious Robots

slide-154
SLIDE 154

Algorithm summary

The configuration is checked against each possible class, in the correct order!

1 Orthogonal diagonals 2 Thin hexagon 3 Non-convex 4 All concordant 5 Two convergent, two divergent 6 Two divergent, two divergent 7 One discordant

Ensure that, when a class transition occurs, No robot is moving (to prevent inconsistent behaviors!) The resulting class has lower index (in the list above) The last rule is broken in only one case!

Square Formation by Asynchronous Oblivious Robots

slide-155
SLIDE 155

Resolving the anomaly

When all robots are on the same side of a thin hexagon...

Square Formation by Asynchronous Oblivious Robots

slide-156
SLIDE 156

Resolving the anomaly

...They move to the vertices, and then apply the general algorithm

Square Formation by Asynchronous Oblivious Robots

slide-157
SLIDE 157

Resolving the anomaly

As a consequence, the internal robots move first

Square Formation by Asynchronous Oblivious Robots

slide-158
SLIDE 158

Resolving the anomaly

As a consequence, the internal robots move first

Square Formation by Asynchronous Oblivious Robots

slide-159
SLIDE 159

Resolving the anomaly

And finally the external robots move...

Square Formation by Asynchronous Oblivious Robots

slide-160
SLIDE 160

Resolving the anomaly

...Thus forming a square

Square Formation by Asynchronous Oblivious Robots

slide-161
SLIDE 161

Concluding remarks

The only solvable Pattern Formation problems for n robots are: Single point (except the case n = 2, which is unsolvable) Regular n-gon (now also for n = 4)

Square Formation by Asynchronous Oblivious Robots

slide-162
SLIDE 162

Concluding remarks

The only solvable Pattern Formation problems for n robots are: Single point (except the case n = 2, which is unsolvable) Regular n-gon (now also for n = 4) For n > 2, this is true even if Robots are fully synchronous Robots have a common notion of “clockwise” (chirality) Robots always reach their destination (rigidity) = ⇒ For Pattern Formation problems, these features are computationally irrelevant!

Square Formation by Asynchronous Oblivious Robots