mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 10:21:19 +03:00
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:
9
src/l3gd20/pyupm_l3gd20.i
Normal file
9
src/l3gd20/pyupm_l3gd20.i
Normal file
@ -0,0 +1,9 @@
|
||||
%module pyupm_l3gd20
|
||||
%include "../upm.i"
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%include "l3gd20.hpp"
|
||||
%{
|
||||
#include "l3gd20.hpp"
|
||||
%}
|
Reference in New Issue
Block a user