Skip SensorAdditionalInfo in fusion
The Goldfish/Cuttlefish sensor HAL sends SensorAdditionalInfo for sensor placement when a sensor is newly activated. (https://developer.android.com/reference/android/hardware/SensorAdditionalInfo#TYPE_SENSOR_PLACEMENT) Unfortunately, the fusion algorithm in Android sensor framework doesn't consider the sensor event of SensorAdditionalInfo type. The fusion algorithm just parses a sensor event for acc/mag/gyro with SensorAdditionalInfo as the event carries a regular sensor reading in vec3_t data type, leading to incorrect rotation vector calculation. Bug: 417564734 Test: CtsUwbMultiDeviceTestCase_FiraRangingTests Flag: EXEMPT bugfix Change-Id: I046ba86e09c44dcb39b51777eb30a52cc8dd3730
Loading
Please register or sign in to comment