Assignment: Complete Labs 1 and 2 from the Ferrer manual Due: Thu 10/01 Instructions: ------------- For the most part you ought to follow the instructions provided in the manual. Exceptions are noted below. 1. Rather than including Java programs in an appendix, turn them in along with your writeup. E.g. for lab 1 you would turn in the files: Door.java, Horseshoe.java, Snake.java, and Stairs.java *Only turn in the .java files and not the complete BlueJ project.* You will find the .java file inside the BlueJ project folder. 2. For section 2.5, only include expected results since we will not be building the robots with two bumpers. Compiling your Java programs: ---------------------------- 1. Right click on your BlueJ project folder and select "Command Prompt"; enter the following commands into the command prompt: (press up and down arrow keys for history of what you have typed) 2. nxjc File.java (compiles your program and produces FILENAME.class) 3. nxj -n ROBOTNAME File (uploads your program) 4. Optional: nxjbrowse (launches a windows which shows connected NXTs) E.g. if your project is named Door and your NXT is T-REX: nxjc Door.java nxj -n T-REX Door A tutorial video illustrating the above is on our resources page. Submission: ----------- Turn in your files in a folder on your L: drive called "lab1"; in addition to the .java files as noted above, you will turn in a "report" document (txt, word, or PDF) which will contain your lab reports for both labs. All programs should include a comment statement near the top of the file of the form: THIS CODE IS OUR OWN WORK, IT WAS WRITTEN WITHOUT CONSULTING A TUTOR OR CODE WRITTEN BY OTHER STUDENTS - YOUR NAMES Cases of apparent plagiarism or collusion will be referred to the Honor Council.