hi,(adsbygoogle = window.adsbygoogle || []).push({});

i am trying to calculate angles and velocity.

i believe i have to use PID (never done before)

angles

i have a sensor that is giving a relative angular rotation in degrees per a second

i can sample this a 300htz

but how can i figure out if i have turned x^{o}and i how can i reduce the cumulative error

velocity

i have a sensor that is giving acceleration in g's

i can sample this a 300htz

but how can i figure out if i am moving @ x ms^{-2}and i how can i reduce the cumulative error

thanks,

brad

if this is in the wrong spot please move it

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Calculating angles,calculating velocity

**Physics Forums | Science Articles, Homework Help, Discussion**