Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Pixel 4a Linear Accelerometer Issue (maybe bug?)
Post Flair (click to view more posts with a particular flair)
Author Summary
Papier101 is looking for anyone
Post Body

Hey,

I am working with Android sensors and today I discovered some weird behavior on my Pixel 4a. The Android sensor API provides both an Acceleration sensor (with g-force) and a Linear Acceleration sensor (without g). The z-Axis is by default pointing upwards from the screen plane, so if I hold the phone flat in my hand and move it upwards, I should be able to measure a positive increase in vertical acceleration along the z-axis for both sensor types. This works as expected on my old moto g6, however, on my Pixel 4a I measure a decrease in acceleration in case of the Linear Acceleration sensor (positive for the normal Acceleration sensor). This confuses me, as the graphs should look identical except for the g-offset. I also tested this along the other axes and get the same weird behavior. It feels like the signs of the axes for the linear accelerometer might be switched? I tested this using three different apps but they all show the same behavior. Maybe someone who also has the Pixel 4a can help me confirm this?

Author
Account Strength
90%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,376
Link Karma
2,098
Comment Karma
2,218
Profile updated: 4 days ago
Posts updated: 1 day ago

Subreddit

Post Details

Looking For
anyone
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago