java: fix return types and arrays for mpu60x0 and mpu9150

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-09-01 18:56:04 +03:00
committed by Mihai Tudor Panu
parent 83cb6dc2fd
commit 7afd1f3fc1
4 changed files with 72 additions and 8 deletions

View File

@ -808,6 +808,23 @@ namespace upm {
*/
void getGyroscope(float *x, float *y, float *z);
#ifdef SWIGJAVA
/**
* get the accelerometer values
*
* @return Array containing X, Y, Z accelerometer values
*/
float *getAccelerometer();
/**
* get the gyroscope values
*
* @return Array containing X, Y, Z gyroscope values
*/
float *getGyroscope();
#endif
/**
* get the temperature value
*