java: fix Java return types in lsm9ds0

Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Petre Eftime
2015-08-27 13:11:22 +03:00
committed by Mihai Tudor Panu
parent ea669ddfc6
commit 42c59e98ab
3 changed files with 74 additions and 0 deletions

View File

@@ -1267,6 +1267,29 @@ namespace upm {
*/
void getMagnetometer(float *x, float *y, float *z);
#ifdef SWIGJAVA
/**
* get the accelerometer values in gravities
*
* @return Array containing X, Y, Z acceleration values
*/
float *getAccelerometer();
/**
* get the gyroscope values in degrees per second
*
* @return Array containing X, Y, Z gyroscope values
*/
float *getGyroscope();
/**
* get the magnetometer values in gauss
*
* @return Array containing X, Y, Z magnetometer values
*/
float *getMagnetometer();
#endif
/**
* get the temperature value. Unfortunately the datasheet does
* not provide a mechanism to convert the temperature value into