Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry:...

14
Inria Univ Rennes, CNRS, IRISA, Rennes GdR Robotics Winter School: Robotics Principia Requirements for Sensor-based Control François Chaumette

Transcript of Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry:...

Page 1: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Inria

Univ Rennes, CNRS, IRISA, Rennes

GdR Robotics Winter School: Robotics Principia

Requirements for Sensor-based Control

François Chaumette

azeokx = 0

Page 2: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Requirements

Basics in basic math and geometry:• Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5• Changes of frames, rotations, velocity screw: see slides 6 to 8

Basics in robotics• Geometric/kinematic robot model, robot Jacobian: see Modeling course

Basics in control• P, PI, kinematic control: see Control course

Basic in sensors• Sensor model and calibration: see Perception course • Hand-“eye” calibration: see slides 9 to 14

2

Page 3: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

(Moore-Penrose) Pseudo inverse

The pseudo inverse of any matrix is the only one matrix such that

Widely used for solving any (over/under)-constrained least-squares linear system:

If we look for vector such that is minimal, thenis the only one solution such that is also minimal

3

Page 4: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Pseudo inverse

Let • If

• If In that case:

• If In that case:

• In general, use the Singular Value Decomposition (SVD) whereand has 0 elements everywhere apart

then where

4

Page 5: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

SVD decomposition

5

Page 6: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

6

Page 7: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

How to go from R to

7

From Rodrigues formula

we easily obtain

where

For

Page 8: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

8

(which is moving)

Page 9: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Hand-eye calibration

9

How to estimate the pose of a camera wrt. a robot?(similar problem and method when the sensor is not a camera)

Eye-in-hand configuration

Page 10: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Hand-eye calibration

10

• : the (constant) pose we are looking for• : obtained from robot geometric model• : obtained from pose estimation• : constant but unknown

Idea: is the same whatever the robot/camera pose, so with 2 poses i and j:

since

Page 11: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Hand-eye calibration

11

Then, decompose the rotation and translation part:

Once is known, is obtained by solving a simple linear system

is of rank 2 ; at least a third orientation k is necessary to obtain a full rank system with couples (i,j), (i,k) and (j,k)

Page 12: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Hand-eye calibration

12

Thanks to rotation propertiesequivalent to linear system:

: anti-symetric matrix of v such that of rank 2 ; at least a third orientation k is necessary

Once is known, is known (Rodrigues formula)

Page 13: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

Hand-eye calibration: eye-to-hand configuration

13

Similar problem:

Similar resolution

Page 14: Requirements for Sensor-based Control - Inria...Requirements Basics in basic math and geometry: •Linear algebra, pseudo-inverse, SVD, null space: see slides 3 to 5 •Changes of

References

Hand-eye calibration:• R. Tsai, R. Lenz: A new technique for fully autonomous efficient 3-D

robotics hand-eye calibration, IEEE Transactions on Robotics & Automation, 5(3): 345–358, June1989.

Implementation (C++ source code): • ViSP: http://visp.inria.fr

14