introduction to robotics tutorial 10

15
Introduction to Robotics Tutorial 10 Technion, cs department, Introduction to Robotics 236927 Winter 2013-2014 1

Upload: gamma

Post on 22-Feb-2016

51 views

Category:

Documents


0 download

DESCRIPTION

Introduction to Robotics Tutorial 10. Technion , cs department, Introduction to Robotics 236927 Winter 2013-2014. 1. Potential Functions. Write the attraction and repulsion potential functions. Destination. Obstacle Center at (L,0) Radius = R. 2. Destination. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction to Robotics Tutorial 10

Introduction to Robotics

Tutorial 10

Technion, cs department, Introduction to Robotics 236927

Winter 2013-2014

1

Page 2: Introduction to Robotics Tutorial 10

Potential Functions

2

1. Write the attraction and repulsion potential functions.

Destination

ObstacleCenter at (L,0)Radius = R

x

y

Page 3: Introduction to Robotics Tutorial 10

Destination

3

• The destination is modeled as an attractive charge.

Destination

x

y 22, yxyxU

ddUA

A

-10-5

05

10

-10-5

05

100

5

10

15

-10 -5 0 5 10-10

-8

-6

-4

-2

0

2

4

6

8

10

Page 4: Introduction to Robotics Tutorial 10

Potential Functions

4

Page 5: Introduction to Robotics Tutorial 10

Gradient Descent• Gradient descent is a well-known

approach to optimization problems. The idea is simple. Starting at the initial configuration, take a small step in the direction opposite the gradient. This gives a new configuration, and the process is repeated until the gradient is zero. More formally, we can define a gradient descent algorithm

Page 6: Introduction to Robotics Tutorial 10

Gradient Descent

Page 7: Introduction to Robotics Tutorial 10

Obstacle

7

• The Obstacle is modeled as a single repulsive charge.

22/,

/

yLxyxU

ddUR

R

ObstacleCenter at (L,0)Radius = R

x

y

-10-5

05

10

-10

-5

0

5

100

5

10

15

-10 -5 0 5 10-10

-8

-6

-4

-2

0

2

4

6

8

10

Page 8: Introduction to Robotics Tutorial 10

Obstacle and Destination

8

yxUyxUyxU RA ,,,

-10-5

05

10

-10-5

05

100

5

10

15

20

25

30

Page 9: Introduction to Robotics Tutorial 10

Obstacle and Destination

9

yxFyxFyxF RA ,,,

-10 -5 0 5 10-10

-8

-6

-4

-2

0

2

4

6

8

10

2 3 4 5 6 7 8-3

-2

-1

0

1

2

3

Page 10: Introduction to Robotics Tutorial 10

Potential Functions

10

2. For which α and β the robot will never hit the obstacle?

yyxLx

yLxyyxx

yx

yxFyxFyxF RA

ˆˆˆˆ

,,,

2/32222

Destination

ObstacleCenter at (L,0)Radius = R

x

y

Page 11: Introduction to Robotics Tutorial 10

Potential Functions

11

5. For which α and β the robot will never hit the obstacle?

6. Will the robot always arrive at the destination?

7. From which starting positions the robot will not arrive the destination?

8. How does changing β effects the resulting path?

Page 12: Introduction to Robotics Tutorial 10

Local Minima Problem

Page 13: Introduction to Robotics Tutorial 10

Different Obstacle Modeling

13

• The Obstacle is modeled as a single repulsive charge.

22

0/

yLxd

elseRdRd

dU R

Page 14: Introduction to Robotics Tutorial 10

Different Obstacle Modeling

14

• The Obstacle is modeled as a single repulsive charge:

• Alternately:

Where d* is the distance to the closest point of the obstacle.

22

0/

yLxd

elseRdRd

dU R

elsedd

dU R

00/ **

*

Page 15: Introduction to Robotics Tutorial 10

Different Obstacle Modeling

15

elsedd

dU R

00/ **

*