Hook it up to an interrupt, read millis() when it flags and store the value in an array of say 10 values, so you can average it. I'd move all the previous values down a postion in the array with a loop before shoving the millis() value in the top position each time the interrupt fires.
Then every half second or whatever, do the sums and output to the throttle actuator.