Home › Forums › Forums › Technical Support for BerryIMU › Run Inclinometer from Desktop Icon › Reply To: Run Inclinometer from Desktop Icon
July 2, 2019 at 10:44 pm #8185
LC
Participant
Hi Jawood (or Mark),
I’ve found the complimentary filter in the inclinometer script still has a big drift in it (which I think is coming from my gyro readings). From your comment above, it seems like you’ve modified the script to work with a kalman filter. Do you still have that code? Or is there another way I can get a better reading for use in this inclinometer example?
I’ve never coded in C and tried to modify the script to use KFangleX and KFangleY but I must have made some errors as it wont compile.
Thanks guys.