Atypicalcomputerprogramisdesignedtocomputeananswerandreturnaresult.At
theircore,evenhighlyinteractiveandintenselygraphicalcomputerprogramslike
videogamesfollowthisbasicapproach.Computationproceedsinasequenceofsteps
where,typically,theoutputofonestepbecomestheinputofthenextstep.Thetotal
timerequiredtoreachanansweristhesumofthetimestakenforeachstep.Therefore,
afastercomputerisalwaysabettercomputer—theuserofafastercomputergetsthe
answermorequicklythantheuserofaslowercomputer.
Alternately,afastercomputercangiveamorepreciseanswerorcangivemore
answersinthesametimetakenbyaslowcomputer.Foravideogame,computerspeed
translatesdirectlyintobetterresolutionandmorerealisticsimulations.
Butcomputingananswerisnotthepurposeofanautonomousmobilerobot.Rather,a
robotseekstoachieveagoalormaintainastatewhileavoidinghazardsandtraps—
verymuchasalivingorganismdoes.Therobotmustattendsimultaneouslytoallofits
concerns;e.g.,don’tcollidewithanything,don’tfalldownthesteps,don’trunoutof
powerfarfromthecharger.Catastrophemightresultif,forexample,therobotwereto
neglectwatchingoutfortheedgeofthestairswhileconcentratingexclusivelyon
avoidingacollisionwiththebaseboard.Arobotcrashcanbearathermoreserious
matterthanacomputercrash.
PlansversusOpportunities
Atypicalcomputerprogramexecutesaplan—onethinghappensafteranotheruntila
resultisreached.Butanautonomousrobotneedstobeopportunistic—sometimesthe
robot’sgoalisalreadyachieved;alltherobothastodoisnotice.Forexample,suppose
wewantourrobottofinditswaytoachargerwhenthebatteriesarelow.Aplan-based
programdecidingtorechargethebatteriesmightfirsthavetherobotsearchfora
centralbeaconintheroom,gotothebeacon,orientitselfinaparticulardirection
(towardthecharger),thenproceeduntiltherobotencountersthelocalbeaconthat
indicatesthecharger.
Thissoundslikeareasonableplan—unlesstherobothappenstobepositionedonlya
footfromthechargerwhentherobotdecidesthatthebatteriesneedrecharging.Inthat
case,theplan-followingrobotfirstmovesawayfromthechargertofindthecentral
beacon,onlytoturnbackimmediatelytowardthecharger.Amoresensibleapproach
wouldhavetherobotnoticethatitwasnexttothechargertobeginwith,andthenact
accordingly,ratherthanfollowaplanblindly,ignoringreal-worldopportunities.
Constantinputfromsensorsandaprogrammingparadigmabletomakeuseoftherush
ofdataareneededtoenablearobottotakeadvantageofitsopportunities.
GracefulDegradation
Givenaccuratedataandalogicallycorrectprogram,acomputerwillreturnacorrect
result.Giveninaccuratedata,thecomputer’soutputisunreliable.Thisobservation
givesrisetothewell-knownGIGOadage,“Garbagein,garbageout.”Thecomputer
dependsonahumanoperatortoinputaccuratedataandhaslittlerecourseifthedata