D:/DRISSI/arduino-0022/arduino-0022/libraries/inclinometer/inclinometer.h
Go to the documentation of this file.
00001 
00005 #ifndef inclinometer_h
00006 #define inclinometer_h
00007 
00008 
00009 #include <WProgram.h>
00010 
00011 
00012 /*
00013   inclinometer.h - Library for reading value from the inclinometer
00014   from Vicatronic (QG40 DIS international sensor)
00015 
00016 
00017   Copyright (c) 2011 David Drissi.  All right reserved.
00018   Property of the University of Angers.
00019 
00020   Contact : philippe.lucidarme@univ-angers.fr
00021 
00022   This library is distributed in the hope that it will be useful,
00023   but WITHOUT ANY WARRANTY; without even the implied warranty of
00024   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00025   Lesser General Public License for more details.  
00026 */
00027 
00037 // Returns tilt of the robot around Y
00038 // Angle along the Y axis
00039 double GetRoll();
00040 
00044 // Returns tilt of the robot around X
00045 // Angle along the X axis
00046 double GetPitch();
00047 
00052 #endif
00053