Unformatted text preview: ability of the bot to hunt? Huntbot Report (due midnight, Tue 10/2/2014). Your report should have the following structure: Goal Statement Write a simple one or two sentence goal statement describing this bot. Program Listing Include the listing of the program, and add comments Experiments Describe the results of the two sets of experiments in Activity 8.2 General Questions 1. Answer the following general questions: 2. When StopTask (hunt); is executed, does the task complete the set of instructions to the final } in the task definition? 3. If hunt is interrupted and then started within task detect_bump() where does it begin execution of the code in hunt()? 4. What would happen if you wrote SetSensor(SENSOR_1, sensor_touch); in task main() ? 5. What happens if you put a semicolon after while (true); ?...
View Full Document
- Fall '09
- random number generators, multiple tasks, parallel tasks, task hunt, task detect_bump