How can I calculate vertical speed?
How can I calculate vertical speed?
A lot of people have said it is impossible but It has been done with variometer apps. I can’t figure out the code. Can anyone guide me in the right direction?
How can I calculate vertical speed?
A lot of people have said it is impossible but It has been done with variometer apps. I can’t figure out the code. Can anyone guide me in the right direction?
Can't I just add up all of the accelerations of the accelerometer and then use this physics equation to get distance?
d = v(i) x t + (1/2) x a x t ^2
In this:
v(i) would be 0
t = 1 second
a = all accelerometer speeds added together for.1 second
t = 1 second
Can't I just use this equation to get vertical velocity? A lot of people have said it is impossible but It has been done with variometer apps. I can’t figure out the code. Can anyone guide me in the right direction?
v(f) = v(i) + a x t
v(i) = 0
a = y-axis acceleration for 1 second
t = 1 second
Please let me know if this is possible.
Thank you so much for your help.
Typically air pressure was used to do such calculations, not acceleration. The variometer app you mentioned might be using barometric sensors to calculates vertical velocity?
In free fall, acceleration is actually "0", this is likely the value the accelerometer reports.
ChatGPT says:
What you’re describing is partially correct in theory, but it runs into serious practical problems when you try to do it with a phone’s accelerometer.
Let’s break it down.
1. The theory
You’re using two standard kinematic equations:
In an ideal world:
That’s exactly what’s in your equations.
2. Why this breaks in real life
Phone accelerometers are noisy and measure total acceleration, which includes:
When you integrate noisy acceleration:
That’s why:
3. How variometer apps make it work
Variometers (used in paragliding, skydiving, etc.) do detect vertical speed from accelerometers, but:
Without a barometer, your vertical velocity estimate will drift almost immediately.
Bottom line
Thank you for your help!
How can I calculate vertical speed?