How to calculate mean value for an angle by zenOn?

Hi,

My question is as the title: How to calculate mean value for an angle by zenOn?

I know the calculation of mean value of an angle is not a simple subject. I just want to know if you have integrated any magic module under zenOn for this calculation or not. If not, I think I am obliged to construct this calculation by myself. That would be a little tedious..

AW: How to calculate mean value for an angle by zenOn?

hi lephis,
you can use a math variable (from the math driver) to calculate a mean value. With that you can calculate a time average and floating average.
best regards,
Alex

Re: How to calculate mean value for an angle by zenOn?

Thank you alexf for the answer. But you are sure this calculation will be good for an angle??

I mean, for a simple example, my angle is at first 1° for the first acquisition, then 359° for the second acquisition. The result of time average for these two acquisitions should be 0° instead of 180°. How do you think?