lab1 - CMSC 143 Introduction to Object-Oriented Programming...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CMSC 143: Introduction to Object-Oriented Programming with Robots Lab 1: Personal Robots Due September 6, 2010 This lab introduces you to your robot, IDLE (the Python programming environment), and the wiki 1 . Learning Objectives ◦ Become familiar with the IPRE robot kit. ◦ Learn how to issue robot commands. ◦ Learn how to start IDLE and save programs. ◦ Learn how navigate the myro wiki. Lab Report Submit an electronic copy (PDF) on moodle of your lab report named cmsc143 lab1 LASTNAME.pdf Getting to Know Your Robot 1. What COM port did you use to connect to your robot (keep in mind this will change often)? 2. What is the name of your robot? 3. What is your robot’s battery voltage? Driving Your Robot There a variety of ways to get your robot to move. The functions we will use most often are forward() , backward() , turnLeft() , and turnRight() . All these functions take a power value from -1 to 1, as well as an optional time parameter. If you don’t use a time parameter the robot will go forward, backward, or turn,an optional time parameter....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online