Android Question device displacement

Emerito

Active Member
Licensed User
Longtime User
Using the sensors of the mobile I see its possible movements in the three axes x, y, z. But suppose that the mobile is in a car and the axles do not coincide with the axles of the car. By looking at the new sensor readings, can you tell the front and side lean of the car from the initial readings?

When the axes of the two coincide, for example, assuming that the mobile is embedded in the dashboard of the vehicle, the readings are direct (the new ones minus the old ones), but, logically, when they do not coincide, they are not.

Could you help me? What plans would they have to make?

Greetings.
 

Emerito

Active Member
Licensed User
Longtime User
that's my problem, that I only use the Orientation sensor, where can I see how the remaining sensors are used for my purpose?
 
Upvote 0

Emerito

Active Member
Licensed User
Longtime User
Sorry, I don't have B4A similar app, but you can see other examples in Java code like this so you can gain more info about.
[/CITAR]

Thanks, that's exactly what I wanted to do. It's a shame I don't know java, but I'll keep trying.

Greetings.
 
Upvote 0

thetahsk

Active Member
Licensed User
Longtime User

This is your starting point
 
Upvote 0

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Important notice: I installed many clinometer apps to inspire some ideas, I found all their normal position is not horizontal as we discussed here!! All in up-down vertical position. and all values will be changed accordingly.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…