This is a little demonstration of an example program that a student would write in the Introduction to Computer Science course at USC Upstate. The Mindstorm is going to spin around and use its sonic distance sensor to detect if there is any ‘danger’ in the area. As soon as a dangerous object is placed closed by the Mindstorm, it is detected by the distance sensor. The Mindstorm lowers its lance and takes the danger out.
Duration : 0:0:34