Quote:
|
Originally Posted by Mike
I've played with an accelerometer, but from what I've heard they can be very tricky. I would go with the encoder/gear tooth sensors to calculate position. How is yours connected? Could you show us the code?
|
I just took in the data from it and summed it into a static variable. I tried bitshifting it, putting on a deadband, everything i could think of, but it looks like the data is just not accurate enough, or maybe it can't read from it quickly enough. I'll post the code later tonight, since it's currently saved on a computer half an hour from here.