Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

each room has a door and a light switch. The actions in Shakeys world include moving from place to place, pushing movable objects (such as

each room has a door and a light switch. The actions in Shakeys world include moving from place to place, pushing movable objects (such as boxes), climbing onto and down from rigid objects (such as boxes), and turning light switches on and off. The robot itself could not climb on a box or toggle a switch, but the planner was capable of finding and printing out plans that were beyond the robots abilities. Shakeys six actions are the following: Go(x, y, r), which requires that Shakey be At x and that x and y are locations In the same room r. By convention a door between two rooms is in both of them. Push a box b from location x to location y within the same room: Push(b, x, y, r). You will need the predicate Box and constants for the boxes. Climb onto a box from position x: ClimbUp(x, b); climb down from a box to position x: ClimbDown(b, x). We will need the predicate On and the constant Floor . Turn a light switch on or off: TurnOn(s, b); TurnOff (s, b). To turn a light on or off, Shakey must be on top of a box at the light switchs location.

Write pseudo code for Shakeys six actions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Evaluating Group Performance?

Answered: 1 week ago