1 / 11

Computer Programming with Robots

Computer Programming with Robots. What is Programming?. Computer programming consists of writing lines of code in a language that a computer will understand to solve a problem Some computer languages include: Java, C++, and Python. What is Programming?. The Scribbler Robot.

jordane
Télécharger la présentation

Computer Programming with Robots

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Programming with Robots

  2. What is Programming? • Computer programming consists of writing lines of code in a language that a computer will understand to solve a problem • Some computer languages include: Java, C++, and Python What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 1/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  3. What is Programming? • Computer science can solve problems ranging from adding numbers together to operating a rover on Mars • At Georgia Tech all students are required to take at least one course in computer science in order to graduate What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 2/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  4. The Scribbler Robot • $2 million program funded by Microsoft, Georgia Tech, and Bryn Mawr to encourage students to learn computer science • At Georgia Tech, the robot program is centered at the Microsoft IPRE Lab (Institute for Personal Robots in Education) What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 3/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  5. The Scribbler Robot • Introduction to Programming with Robots or CS 1301 is the computer science course for non-engineering majors • We used Python to talk to our robots and have them make noises, move, take pictures, draw, and explore their surroundings What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 4/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  6. The Scribbler Robot • The robot runs on six AA batteries and uses two big wheels and a smaller wheel to steer • The robot’s camera dongle connects to a laptop computer via Bluetooth and allows a programmer to give commands What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 5/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  7. Sound and Motion • Two commands tell the robot to make noise: beep and speak • beep() takes in information about the number of seconds and frequency of a note beep(1,440)plays A one second • speak() takes in a message in quotes speak(“Hello”) What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 6/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  8. Sound and Motion • The robot’s motors power the large wheels and allow the robot to move motors(1,1)forward full speed motors(0.5,0.5)forward half motors(-1,-1)backward motors(0,0)/stop() motors(1,-1)spin What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 7/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  9. Camera and Sensors • The camera on the dongle allows the robot to take pictures and even movies pic = takePicture() show(pic) savePicture(pic,”pic.jpg”) What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 8/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  10. Camera and Sensors • The robot has a series of different sensors to obtain information from surroundings • IR sensors locate various obstacles • Light sensors measure light levels What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide 9/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

  11. Programs and Games • Dance • Photography • Tick Tack Toe • Color Recognition What is Programming? The Scribbler Robot Sound and Motion Camera and Sensors Programs and Games Slide10/10 Computer Programming with Robots |Michelle Delcourt|Georgia Tech

More Related