-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created a working unit test for leg2d.m. #132
base: master
Are you sure you want to change the base?
Conversation
Actually, I have some HBM data you shared with me a long while back. I think I can get that working. |
These differences between 2D and 3D model are not unexpected. In fact, My original test for the leg2d code was just to make sure that the
Back in 1996 I posted some inverse dynamic benchmark data, with a true
HBM does not calculate joint forces. It was done with Kane's equations http://isbweb.org/data/invdyn/But don't spend too much time, I think Ton On 3/30/2015 10:31 PM, Jason K. Moore wrote:
|
Good to know that it was just a regression test. That's fine and we can possibly keep it that way.
Awesome, I'll try that out and see if I get a cleaner match.
Sure, I'll get this in shape with that in mind. I see two types of tests that are useful for these kinds of models:
|
When I have time I will look into the performance of my filter when there are large gaps in the data. I'm not sure what you meant by "can fail", can you be more specific? I hope it's still better than filling the gaps with a linear interpolation. Linear interpolation would give zero acceleration in the gap and large acceleration spikes at the beginning and end of the gap. You can see this in Fig 3c in rtfilter-1.pdf. The red curve is linear interpolation followed by conventional digital Butterworth filter. |
@tvdbogert I've reworked the test for
leg2d.m
to be an actual unit test, but it is currently failing becauseleg2d
does not reproduce the reference results that were checked in to the repository.One source of the error is that we likely did not update the reference results when fixing issue #70.
It almost seems like the reference results were generated by the orginal
test.m
file. Do you have some independently computed reference results for this data?Here is a plot of the differences: