mirror of
https://github.com/eclipse/upm.git
synced 2025-07-09 13:21:22 +03:00
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:

committed by
Mihai Tudor Panu

parent
83cb6dc2fd
commit
7afd1f3fc1
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user