Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
titleGyro.h
firstline1
linenumberstrue
/*Library for the communication with  
the Gyrosensor. Provides functions  
to read its values*/ 
 
//returns the single values separated by axes 
int getXTiltinggetRoll(); 
int getYTiltinggetPitch(); 
int getZTiltinggetYaw(); 
 
//returns an array containing the value for all three axes 
int* getTilting();

Roll Pitch and Yaw named after following Graphic: (source: https://engineering.purdue.edu/ece477/Archive/2011/Spring/S11-Grp09/images_oliver/RollPitchYaw.bmp)

Image Added

 

Interface Design for Acceleration Sensor:

...