Skip to content

IIR filter triggers a resample even if file is uniformly sampled  #3919

@tkevinbest

Description

@tkevinbest

When selecting "filter input coordinates" in the ID tool, my IK data gets resampled even though it was output at a fixed frequency from the IK tool. The code here says it should only resample if the sampling is not uniform:

if(dtmin<SimTK::Eps) {
. There appears to be something wrong with the machine precision check and determining whether or not the sampling is uniform.

I know that my data was resampled because it is a very long file, beyond the max size of the resampling function and thus my sampling rate drops substantially when resampling.

Version 4.5-2024-01-10-3b63585

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions