Commit 284ac797 authored by Tanmay Patil's avatar Tanmay Patil
Browse files

Add CTS to verify Z axis of accelerometer in Car is pointing upward.

Adds check in mean verification to check the accelerometer reading is [0, 0, 9.8].
This verifies the Z axis points upward as per android automotive axis.
https://source.android.com/devices/sensors/sensor-types#auto_axes
X and Y axis directions are not verified.

Bug: 120840410

Change-Id: I10c30a46732ceb10fd3da1690f02ba8382bc41d9
Test: atest CtsSensorTests:SingleSensotTest
parent 4d452396
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment