View Single Post
Old 10-28-2017, 10:23 PM   #17 (permalink)
GravityJunkie
Registered Users
 

Join Date: Sep 2010
Default

Very nice. Glad to see you've gotten past the first hurdle.

Are you running out memory because of the shear number of telemetry readings for the time frame you're looking to doing a rolling average?

If so, you could do averages of averages. Say you're getting 5000 telem readings over your time frame you'd like to average out. You could do something like keep the last 500 readings. Once you have the 500, take the average of the 500, retain that average for use in your main voltage average. Then, at any one point, you'd only have 510 samples kept in memory instead of the full 5000.
GravityJunkie is offline        Reply With Quote