i have started using an mpu6050 for my segway. I used the mpu librabry to obtain the raw readings from the sensor but i am stuck now...how do i convert these raw values to angles to use in the filter code? can any one suggest what should be my delay time and filter coefficient and time constan?