lecture1.pdf

37
Robotics Lecture 1: Introduction to Robotics See course website http://www.doc.ic.ac.uk/~ajd/Robotics/ for up to date information. Andrew Davison Department of Computing Imperial College London January 14, 2013

Upload: majesticdharma1985

Post on 26-Oct-2015

18 views

Category:

Documents


1 download

DESCRIPTION

Robotics

TRANSCRIPT

Page 1: lecture1.pdf

Robotics

Lecture 1: Introduction to Robotics

See course website

http://www.doc.ic.ac.uk/~ajd/Robotics/ for up to

date information.

Andrew DavisonDepartment of ComputingImperial College London

January 14, 2013

Page 2: lecture1.pdf

Lecture Plan

Most weeks will consist of a 1 hour lecture (Monday, 10am, 145) and acompulsory 2 hour practical (Monday, 11am, 202/206). Note that wewill start one hour later than timetabled from next week onwards.

1. Introduction to Robotics

2. Robot Motion

3. Sensors

4. Probabilistic Robotics

5. Monte Carlo Localisation

6. Place Recognition and Occupancy Mapping

7. Simultaneous Localisation and Mapping

8. Robot Behaviours

9. Review and Competition

Page 3: lecture1.pdf

Robotics: An Inter-Disciplinary Field

Robotics integrates science and engineering, and overlaps with manydisciplines:

• Artificial Intelligence

• Computer Vision / Perception

• Machine Learning / Estimation / Inference

• Cognitive Science

• Electronic / Mechanical Engineering

In fact the differentiation between these fields is sometimes artificial. Irecently heard someone (Greg Dudek) wonder whether robotics is thenew physics? An umbrella science of the synthetic and interactive. . .

• In this course the emphasis will be largely pragmatic.

Page 4: lecture1.pdf

What is a Robot?

A physically-embodied, artificially intelligent device with sensing andactuation.

• It can sense. It can act.

• It must think, or process information, to connect sensing and action.

• Pixels to torques. . .

• Is a washing machine a robot? Most people wouldn’t say so, but itdoes have sensing, actuation and processing.

• A possible distinction between appliance and robot (David Bisset):whether the workspace is physically inside or outside the device.

• The cognitive ability required of a robot is much higher: the outsideworld is complex, and harder to understand and control.

• What about a modern car? Or smartphone?

Page 5: lecture1.pdf

The Classical Robot Industry: Robot Arms

• The most widely-used robots today are industrial robot ‘arms’,mounted on fixed bases and used for instance in manufacturing.

• The task of a robot arm is to position an end-effector through whichit interacts with its environment.

• Most operate in highly controlled environments.

Page 6: lecture1.pdf

Robots for the Wider World

Performance in real-world robotics is advancing fast. What are thereasons?

• Continued exponential increase in low-cost computer power.

• Bayesian probability theory: now widely agreed upon as the absoluteframework for doing inference with real-world data.

• A wealth of well understood methods that really work are publiclyavailable (well engineered algorithms or even code) and can be easilyused to put systems together.

Page 7: lecture1.pdf

A Fully Autonomous Robot for the Home?

There is a new wave of advanced mobile robots now aiming at muchmore flexible robots which can interact with the world in human-likeways. This is the current goal of significant research teams; e.g. WillowGarage and Evolution Robotics in the USA.

See the video at http://personalrobotics.stanford.edu/ fromStanford’s Personal Robotics Program.

Page 8: lecture1.pdf

Advanced ‘Real-World’ Manipulation

• Laundry-folding robot from UC Berkeley / Willow Garagehttp://www.youtube.com/watch?v=Thpjk69h9P8

Page 9: lecture1.pdf

Our Focus: Mobile Robots

• A mobile robot needs actuation for locomotion and sensors forguidance.

• Ideally untethered and self-contained: power source, sensing,processing on-board (return to charging station? off-boardcomputing? outside-in sensing?)

• Required competences include:• Obstacle avoidance• Localisation• Mapping• Path planning

• As well as whatever specialised task the robot is actually trying toachieve!

Page 10: lecture1.pdf

Mobile Robotics Applications

Field Robotics

• Exploration (planetary, undersea, polar).

• Search and rescue (earthquake rescue; demining).

• Mining and heavy transport; container handling.

• Military (unmanned aircraft and submarines, insect robots).

Service Robotics

• Domestic (Vacuum cleaning, lawnmowing, laundry, clearing thetable. . . ?).

• Medical (helping the elderly, hospital delivery, surgical robots).

• Transport (Autonomous cars).

• Entertainment (Sony AIBO, QRIO, Lego Mindstorms, Robocupcompetition, many others).

Page 11: lecture1.pdf

Mobile Robots: State of the Art

Mars Rovers Spirit and Opportunity (NASA)

• Both had successful missions on Mars in starting in late 2004. Spiritwent ‘silent’ in March 2010; Opportunity is still operational and hasto date covered more than 34km.

• 1.6m long; 180kg. 9 cameras (Hazcams, Navcams, Pancams,microscopic).

• Remote human planning combined with local autonomy.

• Increased autonomy as mission has progressed.

Page 12: lecture1.pdf

Mobile Robots: State of the ArtMars Science Laboratory: Curiosity Rover

• Landed on Mars August 2012.

• Five times larger than Spirit/Opportunity; designed to explore atleast 1 Martian year (689 Earth days), travelling 5–20km. Maximumspeed 90m/hour.

• Radiation-hardened computer and backup. 10 cameras (6 fornavigation, 4 for science).

• Many remote sensing and scientific instruments for studying geology,atmosphere, biosignatures.

Page 13: lecture1.pdf

Mobile Robots: State of the Art

Humanoid HRP-2 (AIST, Japan)

• Several high-performance research humanoids now presented (sincepioneering work by Honda in 1990s).

• Impressive movement but so far limited sensing and autonomy.

Page 14: lecture1.pdf

Mobile Robots: State of the Art

Animal-like Walking Robots

• BigDog (Boston Dynamics)http://www.youtube.com/watch?v=cNZPRsrwumQ

• LittleDog (USC/Boston Dynamics)http://www.youtube.com/watch?v=nUQsRPJ1dYw

(Neither currently have on-board visual sensing.)

Page 15: lecture1.pdf

Mobile Robots: State of the Art

DARPA Grand Challenge 2005 winner “Stanley” (Stanford University,USA).

• Completed 175 mile desert course autonomously in 6 hours 54minutes.

• Guided along rough ‘corridor’ by GPS.

• Road-following and obstacle avoidance using laser range-finders andvision.

Page 16: lecture1.pdf

Mobile Robots: State of the ArtDARPA Urban Challenge 2007 winner ‘Boss’ (Carnegie Mellon University,USA)

• Robots had to achieve extended missions in a mocked-up urbanarea, obeying traffic laws and avoiding other robots and cars.

• Much more sophisticated sensor suites than in desert challenge(lasers, cameras, radars) to achieve all-around awareness.

• Current state of the art: Google carhttp://www.youtube.com/watch?v=bp9KBrH8H04

Page 17: lecture1.pdf

Mobile Robots: State of the Art

Autonomous Aerial Navigation (MIT Robust Robotics Group)

• Quadcopters; highly manoeuvrable and relatively easy to control.

• Inertial, laser, vision sensors; with or without GPS.

• Many applications (inspection, search and rescue, . . . )

• http://www.youtube.com/watch?v=5qQJwLJ857s

Page 18: lecture1.pdf

Mobile Robots: State of the Art

iRobot ‘Roomba’ Robot Vacuum Cleaner, first launched in 2002

• ‘Random bounce’ movement style with short-range IR sensing.

• Over 6 million units sold!

• Second generation and competing products are now aiming atprecise navigation.

Page 19: lecture1.pdf

Locomotion

• Wheels are most common, in various configurations.

• Legs increase mobility, but with much extra complication.

• Robot size affects power requirements/efficiency, actuatorspecifications.

Autonomous Underwater Vehicle Unmanned Aerial Vehicle

Page 20: lecture1.pdf

Motion and Coordinate Frames

• ‘Pose’ means position and orientation taken together.

R

R

R Coordinate FrameCarried With Robot

xW

W

W

y

x

y

Fixed World Coordinate Frame W

θ

World Frame W

yW

zW

xW

x (left)R

z (forward)R

y (up)R

Camera Frame R

r

y

hL

2D Pose 3D Pose

• More generally, we will talk about about a robot’s state, which is aset of parameters describing all aspects of interest.

Page 21: lecture1.pdf

Sensing

Sensing is usually divided into two categories:

1. Proprioceptive sensing — ‘self-sensing’ of a robot’s internal state.

2. External sensing — of the world around a robot.

. . . although sometimes the distinction is not completely clear (e.g. amagntetic compass would normally be considered proprioceptive sensing).

• Most mobile robots have various sensors, each specialised in certaintasks. Combining information from all of these is often called ‘sensorfusion’.

Page 22: lecture1.pdf

Proprioceptive Sensing

Sensors which measure a robot’s internal state:

• Wheel odometry (encoders, or just checking voltage level and time).

• Tilt sensors (measure orientation relative to gravity).

• Gyros (measure angular velocity).

• Compass.

• Internal force sensors (for balance).

Proprioceptive sensors give a local measurement of motion

• e.g. Self-balancing Lego Robots built by DoC students in 2008:http://www.youtube.com/watch?v=fQQctJz7ap4

Page 23: lecture1.pdf

Uncertainty in Motion

• If a robot has proprioceptive sensing such as odometry to calculateits position, why does it also need external sensing and mapping?

• Because all sensors have uncertainty, and when local motionestimates are integrated drift occurs.

• The way to resolve drift is to build a map of the static world.

Page 24: lecture1.pdf

Outward-Looking Sensors

• Sense at a distance (using sound waves, infra-red laser, visible light).

• Active (sonar, laser range-finder, structured light system) — sendand receive; or passive (camera, microphone) which just receiveambient signals.

• Complex data requires significant processing to extract usefulinformation.

Page 25: lecture1.pdf

SLAM with Laser Range-Finder

Paul Newman and David Cole, University of Oxford, 2006.

Page 26: lecture1.pdf

Large Scale Monocular SLAM using Optimisation

Scale Drift-Aware Large Scale Monocular SLAM (Strasdat, Montiel,Davison, Robotics: Science and Systems 2010).

Page 27: lecture1.pdf

Live Dense Reconstruction with a Single Camera

(Newcombe, Davison, CVPR 2010)

• During live camera tracking, perform dense per-pixel surfacereconstruction.

• Relies heavily on GPU processing for dense image matching.

• Runs live on current desktop hardware.

Page 28: lecture1.pdf

Computer Processing for Mobile Robotics

Level of autonomy:

1. Teleoperation (Remotely-Operated Vehicle ROV, e.g. Robot Wars,mine clearing).

2. Semi-autonomous (e.g. Mars rovers, humanoids).

3. Fully autonomous (Roomba, Grand Challenge vehicles).

Computing requirements:

• Embedded processing: specialised or general PC architecture? GPU,FPGA, etc.

• Computer vision in particular can be very computationally expensive.

• A set of requirements for robot processing might be: efficient,automatic, robust.

Page 29: lecture1.pdf

Robot Algorithms

• In-depth planning involving logic-based reasoning.

• Simple sensing/action loops involving feedback (e.g. subsumption).

• Probabilistic combination of prior knowledge (heuristics, maps,object models) with sensor data.

• Learning at local and high levels.

Page 30: lecture1.pdf

Robotics: A Practical Course

In groups you will use the Lego Mindstorms NXT kits and RobotC tobuild mobile robots and implement techniques such as:

• Wheeled configurations and uncertainty in movement.

• Using simple sensors to implement reactive behaviours.

• Investigating the characteristics of advanced sensors like sonar.

• Implementing a probabilistic localisation filter.

Page 31: lecture1.pdf

Robotics: Coursework and Assessment

The coursework component is based on cumulative assessment ofachievement in the practical sessions and there will be no submission ofwritten reports. From next onwards you will be set a practical task eachweek, some of which (and each practical sheet will very clearly say which)will be ASSESSED. Assessed practicals will be set in lectures 2, 4, 5 and7.

• Each assessed practical exercise will have a number of well-definedobjectives with a defined number of marks for each. Most of theseobjectives involve practical demonstration of your robots or oralexplanation of results.

• We will mark these exercises by visiting all groups at the start of thenext week’s practical session, where each group must demonstratetheir robot and discuss with me or a lab assistant.

• We will check attendance in each group at the assessments and willask questions to make sure each group member has been involved.

Page 32: lecture1.pdf

Robotics: Coursework and Assessment

• The total marks from the assessed practicals will form your overallcoursework mark for Robotics.

• All members of a group will receive the same mark by default(unless I have a strong reason to believe that certain members arenot doing their share of work).

• Coursework marks in Robotics are worth the same as in mostcourses — i.e. only around 15% of the total marks available for thewhole course. But the exam will be designed in such a way as to tiein closely with the coursework, and those that have made a goodeffort during the term have historically done very well on the exam.

Page 33: lecture1.pdf

Robotics: Competition

On the final day of the course (11th March), we will have a competitionbetween the groups, testing the performance of the robots developed forthe final practical exercise. See the course website for pictures and videosfrom previous years’ competitions . . . but this year’s challenge will bedifferent again!

See videos athttp://www.doc.ic.ac.uk/~ajd/Robotics/index.html.

Page 34: lecture1.pdf

Robotics: Learning Outcomes

By the end of the course you should understand:

1. The defining properties of a robot: sensing and action, linked byprocessing.

2. Robot locomotion methods, particularly wheel configurations anduncertainty in motion.

3. The use of simple sensors in reactive, behavioural programming.

4. The key concepts of advanced outward looking sensors such as sonarand vision.

5. The essentials of probabilistic techniques in robotics; probabilisticlocalisation and SLAM.

6. An overview of the practical issues of modern-day mobile robotics.

Page 35: lecture1.pdf

Extra Information

• Robotics course web page (will carry notes, practical sheets, extrahandouts and other information):http://www.doc.ic.ac.uk/~ajd/Robotics/index.html

• You should not need to buy any books, but if you want some morebackground I can recommend the following:

• ‘Building Robots with Lego Mindstorms NXT’, Dave Astolfo, MarioFerrari and Giulio Ferrari

• ‘Probabilistic Robotics’, Sebastian Thrun, Wolfram Burgard andDieter Fox

• Also see relevant free online courses, e.g. from Udacity.

Page 36: lecture1.pdf

Week 1 Tutorial: Robot Floor Cleaner

• Dyson DC06: almost released in 2004 but never went on sale.

• In many ways floor cleaning presents an unusual mobile robotnavigation problem; rather than just get from A to B it has to visiteverywhere in a domain.

Page 37: lecture1.pdf

Some Robot Floor Cleaners on the Market

Roomba Navibot Mint NeatoRoomba (iRobot), floor coveragehttp://www.youtube.com/watch?v=OMUhSBeIm40

Mint Floor Cleaner (Evolution Robotics)http://www.youtube.com/watch?v=6Cf55mIaNGw