L3GD20: Enable L3GD20 3-axis digital gyroscope library and example

L3GD20 is tri-axis gyroscope from STMicroelectronics.
This sensor can measure angular velocity in degree per second.

The library provided is libupm-l3gd20.so.0.4.0.
The example provided is l3gd20-example where it will print x,y,z axis when
trigger buffer data is ready.

This sensor requires calibration to be done for 2 seconds. Please place the
sensor on level surface.

As the sensor data is noisy, we have implemented denoise algorithm within the
sensor library.

Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com>
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Lay, Kuan Loon
2016-04-21 18:45:53 +08:00
committed by Noel Eck
parent c3285ea523
commit cc5e3b2634
8 changed files with 770 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
set (libname "l3gd20")
set (libdescription "upm l3gd20 sensor module")
set (module_src ${libname}.cxx)
set (module_hpp ${libname}.hpp)
upm_module_init()