- #1
Tibo
- 4
- 0
Hi,
I'm currently developing an application. I'm practically done, but I have one big issue (for me). So I have 3-axis acceleration from my android device. Now I want to have the general acceleration at time t, because after that i want to calculate velocity.
So, what I know:
to get velocity there is this formula : v=u+at
to get the general acceleration: √x^2+y^2+z^2
The problem: With this two formulas my acceleration is always positive so my velocity is always speeding up.
Is this normal ? How to I get negatives accelerations ?
Thanks for your answer
I'm currently developing an application. I'm practically done, but I have one big issue (for me). So I have 3-axis acceleration from my android device. Now I want to have the general acceleration at time t, because after that i want to calculate velocity.
So, what I know:
to get velocity there is this formula : v=u+at
to get the general acceleration: √x^2+y^2+z^2
The problem: With this two formulas my acceleration is always positive so my velocity is always speeding up.
Is this normal ? How to I get negatives accelerations ?
Thanks for your answer