example_gait_analysis error
Posted: Tue Jan 07, 2025 11:33 pm
Hi,
I have been running the example_gait_analysis script in colab for months now and it was working fine as of yesterday, but suddenly today I got an error at the line gait_r = gait_analysis. I tried running the code with the public example data and I got the same error. It does not matter what trim values I use. The only way I can get it to work is to change filter_frequency to 0. I have pasted the error text below. Thank you for any insight into why this is suddenly happening!
RuntimeError: std::exception in 'size_t OpenSim::TimeSeriesTable_< double >::getNearestRowIndexForTime(double const,bool const) const': Time 0.000000 is out of time range [0.016654, 6.099963]
Thrown at TimeSeriesTable.h:319 in getNearestRowIndexForTime().
I have been running the example_gait_analysis script in colab for months now and it was working fine as of yesterday, but suddenly today I got an error at the line gait_r = gait_analysis. I tried running the code with the public example data and I got the same error. It does not matter what trim values I use. The only way I can get it to work is to change filter_frequency to 0. I have pasted the error text below. Thank you for any insight into why this is suddenly happening!
RuntimeError: std::exception in 'size_t OpenSim::TimeSeriesTable_< double >::getNearestRowIndexForTime(double const,bool const) const': Time 0.000000 is out of time range [0.016654, 6.099963]
Thrown at TimeSeriesTable.h:319 in getNearestRowIndexForTime().