Skip to content

alvar_test_helper.c not working #4

@KaeroDot

Description

@KaeroDot

I believe the error is on line 108 of alvar_test_helper.c. The line has to be changed possibly to:
float *av=FOAV( x, len, len/3, threadNum);

After this fix the calculation works. Still, the results are different to the Matlab version fast_FOAV.m. I believe the Matlab version is correct because it gives same results as following algorithm:
https://au.mathworks.com/matlabcentral/fileexchange/13246-allan
The algorithm on mathworks was tested on data provided by:
Test data by W. J. Riley, "The Calculation of Time Domain Frequency Stability", online: http://www.wriley.com/paper1ht.htm

Of course one have also to fix the line 91 and load from file gyro:
ptr_file = fopen("gyro2_x.txt", "r");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions