Tuesday, November 4, 2008

Obstacle Course Challenge

The obstacle course challenge that Mr. Inskeep has assigned us is going to be pretty hard. We have to incorporate all 4 sensors that the robot can use so as to properly navigate through and around the obstacle course.

The first thing we'll need to do is add all 4 sensors to our NXT, this in its self will add to the confusion of the tas
k because we'll have to remember (or check each time) which sensor is in which port to accurately build a functional program.

The course starts off with a clap, so we'll first have to gather our threshold information for our sound (and other) sensor. Then we'll need to begin our program with a wait for and reset sound bloc
ks, causing the robot to only begin the program once it hears our clap. We then need to move the robot forward until the light sensor attatched to the robot senses a change, then the program will have to have the robot stop itself for 5 seconds only, before ignoring the light sensor and moving on.

Next we'll have to use the touch sensor. Simple programming will allow us to move the robot forward until the touch sensor is compressed, then initiating a point turn to the right and continuing forward. The program will then have to be reset and set to listen to its Ultrasonic sensor. Once this happens it will come within centimeters of the next wall and, through programming, point or swing turn to the right. After this the robot continues on with the Ultrasonic sensor, but this time the robot can not only turn one way when it sense the upcoming cans, it must turn to its left, move forward, and then turn to its right so that it will be pointing, once again, at the finish line. The a simple move forward will bring it across the line for an A+.

However, I'm sure there are some glitches or things I have overloo
ked in this brief overview of what needs to be done that will have to be worked on before our robot does actually cross the finish line of the obstacle course.

3 comments:

Aarshin said...

Michael I like the amount of detail that you have put into your blog. Any person will be able to understand what you have written.

Anonymous said...

you have great ideas. and you put a lot of detail into your blog. nicely done.


back in 'nam.

a_kennedy said...

YOU MUST DESTROY ALL CANS!
LEAVE NO SURVIVERS!