DOC PREVIEW
Berkeley COMPSCI 188 - Lecture 5: Robot Motion Planning

This preview shows page 1-2-3-22-23-24-44-45-46 out of 46 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 46 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

CS 188: Artificial Intelligence Fall 2006AnnouncementsTodayLocal Search MethodsHill ClimbingHill Climbing DiagramIterative Algorithms for CSPsExample: 4-QueensPerformance of Min-ConflictsSimulated AnnealingSlide 11Beam SearchGenetic AlgorithmsExample: N-QueensContinuous ProblemsGradient MethodsRobot motion planning!Robotics TasksMobile RobotsManipulator RobotsSensors and EffectorsDegrees of FreedomExampleSlide 24HolonomicityConfiguration SpaceKinematicsSlide 28Obstacles in C-SpaceMore ObstaclesTopologyExample: 2D PolygonsExample: RotationExample: A Less Simple ArmSummaryMotion as SearchDecomposition MethodsApproximate DecompositionHierarchical DecompositionSkeletonization MethodsVisibility GraphsSlide 44Probabilistic RoadmapsRoadmap ExamplePotential Field MethodsPotential FieldsCS 188: Artificial IntelligenceFall 2006Lecture 5: Robot Motion Planning9/14/2006Dan Klein – UC BerkeleyMany slides over the course adapted from either Stuart Russell or Andrew MooreAnnouncementsProject 1.2 is up (Single-Agent Pacman)Critical update: make sure you have the most recent version!Reminder: you are allowed to work with a partner!Change to John’s section: M 3-4pm now in 4 EvansTodayLocal searchRobot motion planningLocal Search MethodsQueue-based algorithms keep fallback options (backtracking)Local search: improve what you have until you can’t make it betterGenerally much more efficient (but incomplete)Hill ClimbingSimple, general idea:Start whereverAlways choose the best neighborIf no neighbors have better scores than current, quitWhy can this be a terrible idea?Complete?Optimal?What’s good about it?Hill Climbing DiagramRandom restarts?Random sideways steps?Iterative Algorithms for CSPsHill-climbing, simulated annealing typically work with “complete” states, i.e., all variables assignedTo apply to CSPs:Allow states with unsatisfied constraintsOperators reassign variable valuesVariable selection: randomly select any conflicted variableValue selection by min-conflicts heuristic:Choose value that violates the fewest constraintsI.e., hillclimb with h(n) = total number of violated constraintsExample: 4-QueensStates: 4 queens in 4 columns (44 = 256 states)Operators: move queen in columnGoal test: no attacksEvaluation: h(n) = number of attacksPerformance of Min-ConflictsGiven random initial state, can solve n-queens in almost constant time for arbitrary n with high probability (e.g., n = 10,000,000)The same appears to be true for any randomly-generated CSP except in a narrow range of the ratioSimulated AnnealingIdea: Escape local maxima by allowing downhill movesBut make them rarer as time goes onSimulated AnnealingTheoretical guarantee:Stationary distribution:If T decreased slowly enough,will converge to optimal state!Is this an interesting guarantee?Sounds like magic, but reality is reality:The more downhill steps you need to escape, the less likely you are to every make them all in a rowPeople think hard about ridge operators which let you jump around the space in better waysBeam SearchLike greedy search, but keep K states at all times:Variables: beam size, encourage diversity?The best choice in MANY practical settingsComplete? Optimal?Why do we still need optimal methods?Greedy Search Beam SearchGenetic AlgorithmsGenetic algorithms use a natural selection metaphorLike beam search (selection), but also have pairwise crossover operators, with optional mutationProbably the most misunderstood, misapplied (and even maligned) technique around!Example: N-QueensWhy does crossover make sense here?When wouldn’t it make sense?What would mutation be?What would a good fitness function be?Continuous ProblemsPlacing airports in RomaniaStates: (x1,y1,x2,y2,x3,y3)Cost: sum of squared distances to closest cityGradient MethodsHow to deal with continous (therefore infinite) state spaces?Discretization: bucket ranges of values E.g. force integral coordinatesContinuous optimizationE.g. gradient ascentImage from vias.orgRobot motion planning!Robotics TasksMotion planning (today)How to move from A to BKnown obstaclesOffline planningLocalization (later)Where exactly am I?Known mapOngoing localization (why?)Mapping (much later)What’s the world like?Exploration / discoverySLAM: simultaneous localization and mappingMobile RobotsHigh-level objectives: move around obstacles, etcLow-level: fine motor control to achieve motionWhy is this hard?Start ConfigurationImmovable ObstaclesGoal ConfigurationManipulator RobotsHigh-level goals: reconfigure environmentLow-level: move from configuration A to B (point-to-point motion)Why is this already hard?Also: compliant motionSensors and EffectorsSensors vs. PerceptsAgent programs receive perceptsAgent bodies have sensorsIncludes proprioceptive sensorsReal world: sensors break, give noisy answers, miscalibrate, etc.Effectors vs. ActuatorsAgent programs have actuators (control lines)Agent bodies have effectors (gears and motors)Real-world: wheels slip, motors fail, etc.Degrees of Freedom2 DOFs3 DOFsQuestion: How many DOFs for a polyhedron free-flying in 3D space?The degrees of freedom are the numbers required to specify a robot’s configurationPositional DOFs:(x, y, z) of free-flying robotdirection robot is facingEffector DOFsArm angleWing positionStatic state: robot shape and positionDynamic state: derivatives of static DOFs (why have these?)ExampleHow many DOFs?What are the natural coordinates for specifying the robot’s configuration?These are the configuration space coordinatesWhat are the natural coordinates for specifying the effector tip’s position?These are the work space coordinatesExampleHow many DOFs?How does this compare to your arm?How many are required for arbitrary positioning of end-effector?HolonomicityHolonomic robots control all their DOFs (e.g. manipulator arms)Easier to controlHarder to buildNon-holonomic robots do not directly control all DOFs (e.g. a car)Configuration SpaceWorkspace:The world’s (x, y) systemObstacles specified hereConfiguration spaceThe robot’s statePlanning happens hereObstacles can be projected to hereKinematicsKinematicsThe mapping from configurations to workspace


View Full Document

Berkeley COMPSCI 188 - Lecture 5: Robot Motion Planning

Documents in this Course
CSP

CSP

42 pages

Metrics

Metrics

4 pages

HMMs II

HMMs II

19 pages

NLP

NLP

23 pages

Midterm

Midterm

9 pages

Agents

Agents

8 pages

Lecture 4

Lecture 4

53 pages

CSPs

CSPs

16 pages

Midterm

Midterm

6 pages

MDPs

MDPs

20 pages

mdps

mdps

2 pages

Games II

Games II

18 pages

Load more
Download Lecture 5: Robot Motion Planning
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture 5: Robot Motion Planning and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 5: Robot Motion Planning 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?