mirror of
https://github.com/eclipse/upm.git
synced 2025-12-16 13:54:40 +03:00
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:
committed by
Mihai Tudor Panu
parent
ea669ddfc6
commit
42c59e98ab
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user