Closed katzuv closed 4 years ago
I encountered the same problem ( see issue #524 ). I worked around it by replacing the variable lhTicksPerFrame
with a preprocessor macro. To do that, edit the file src/modules/src/outlierFilter.c as follows:
#define LH_TICKS_PER_FRAME 1000.0f/120
after the other #define
lines (i.e. line 36)// static const uint32_t lhTicksPerFrame = 1000 / 120;
static const int32_t lhMinWindowTime = -2 * LH_TICKS_PER_FRAME;
static const int32_t lhMaxWindowTime = 5 * LH_TICKS_PER_FRAME;
static const int32_t lhBadSampleWindowChange = -LH_TICKS_PER_FRAME;
static const int32_t lhGoodSampleWindowChange = LH_TICKS_PER_FRAME / 2;
Hope that helps
Duplicate of #524. Closing
Hey, I just cloned this repository inside the VM. Without making any changes, I see there are some errors during compilation in the
outlierFilter.c
file (output log at the end). I cloned the last commit (0582adaf55a081b3407adbfa79ce480af1892804). Can someone clone this and check whether it compiles, to see whether the problem is on my side or not? Thanks, Dan.Output: