Assignment_5

Assignment_5 - GENE 121 Assignment 5 Winter 2012 -This...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 5 Winter 2012 ------------------------------------------------------------------------------------------------------------------ This assignment will be completed in pairs . At the start of the lab session you should pick up the box of Lego parts corresponding to your team number. All parts should be returned at the end of the lab session. ------------------------------------------------------------------------------------------------------------------ In this assignment you will be using: • Decisions • Loops • Arrays • RobotC Don’t forget to include a signed header for your assignment, and to make sure that both students in the group have an electronic copy of the code when it is complete. Setup (Complete or verify that these steps have been completed) 1. Verify that the rechargeable battery pack is inserted into the Lego Brick. 2. If necessary, build your starter robot by completing the building instructions given in the Lego Mindstorms User Guide (pages 5 – 15). 3. Add a bumper for the touch sensor and the ultrasonic sensor to your robot by following the instructions given in the file How to Add the SONAR and Touch Sensor Bumper posted to Learn. 4. Turn on the NXT by pushing the orange button. 5. Connect the NXT to your computer using the USB cable. 6.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/01/2012 for the course GENE 121 taught by Professor Smucker during the Winter '11 term at Waterloo.

Page1 / 5

Assignment_5 - GENE 121 Assignment 5 Winter 2012 -This...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online