/
Karel Karel

Karel - PowerPoint Presentation

olivia-moreira
olivia-moreira . @olivia-moreira
Follow
391 views
Uploaded On 2015-10-26

Karel - PPT Presentation

the Robot A Gentle Introduction to the Art of ObjectOriented Programming in Java Who is Karel Karel is actually a very nice gentle introduction into Java And a lot of the concepts that we learn sort of software engineering concepts using Karel will translate over to the Java worl ID: 172392

robot karel put beepers karel robot beepers put facing east wall sections walls czech abilities beeper pick direction world

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Karel" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Karel the Robot

A Gentle Introduction to the Art of Object-Oriented Programming in Java Slide2

Who is Karel?

Karel is actually a very nice, gentle introduction into Java. And a lot of the concepts that we learn, sort of software engineering concepts using Karel, will translate over to the Java world. Slide3

Who is Karel?

The term, "Karel" actually comes from Karel Capek. He was a Czech playwright who actually wrote a play called, "RUR," which was about robots. And

the word 

Robot

 actually comes from a Czech word, the Czech word for work. And so the robot is named after Karel.

And

some people say Karl, which is kind of actually closer to the actual pronunciation. Slide4

Schools Using Karel

Stanford

UC-Berkeley

U. of Washington

Air Force Academy

Westpoint

(USMA)

Carnegie-Mellon

PurdueSlide5

Karel's World

A flat WorldHorizontal streets running East-WestVertical avenues running North-South

Intersection 2, 3

WallsSlide6

Karel's World

Wallsimpenetrable structures that robots can't get through

Beepers

objects which robots can put down, pick up and carry

Walls

BeepersSlide7

Robot Abilities

Movemove only in the direction it is facingmoves one block at a time, from one intersection to the next

robot at 2, 3 facing East

moves to 2,4 (still facing East) Slide8

Robot Abilities

Turn left  rotate 90 degrees anti-clockwise

robot at 2, 4 facing East

turns to face North (still at 2,4) Slide9

Robot Abilities

pick up a beeper put down a beeper

Beepers can be picked up or put down at 2, 3Slide10

For example, it might look like the figure below on a computer screen.Slide11

Walls

Also in

Karel’s

environment are impenetrable wall sections that can be placed between streets.

Karel

can “see” wall sections that are immediately to his front or to his left and right sides.Slide12

Wall Sections

Can be used to form a maze that

Karel

must navigateSlide13
Slide14

Wall Sections

…or to represent hurdles that Karel must “jump” in a hurdle raceSlide15

Karel’s Capabilities

Karel is a mobile robot: he can move forward, in the direction he is facing, and he can turn in place.Karel possesses rudimentary senses:

Sight

Sound

Direction

TouchSlide16

Karel is equipped with a mechanical arm that he can use to pick up and put down beepers.

To carry these beepers, Karel has a soundproof “beeper bag.”Karel can determine if he is carrying any beepers in this bag by probing it with his arm.