C:/Users/Michael/Desktop/trunk/program/demo/runaccelerometer.h File Reference

The shocks detector. More...


Functions

int run_accelerometer ()
 The "main" function of the demo.


Detailed Description

The shocks detector.

Introduction

This demo uses the acceleromter to detect the direction of the shocks enduring by the e-puck.
When the e-puck has deteced a shock, he plays a sound and show you the direction of this shock by turning on the appropriated LED.

Playing the demo

First of all, move the selector to the position 0 and reset the e-puck.
Then you only have to hit the e-puck and a LED will turn on to show you the direction of the shock that the e-puck has detected. The e-puck will also play a sound.
If you let the e-puck falling, he detects the "zero_G" and beginn to cry.

Video of the demo

The video of this demo: http://www.youtube.com/watch?v=NCK9gRL9mb4

Author:
Jonathan Besuchet

Generated on Fri Feb 29 14:27:42 2008 for Demo by  doxygen 1.5.4