-
Notifications
You must be signed in to change notification settings - Fork 70
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
Smooth Linear Spline causing massive deviations in position #91
Comments
Any chance you could point me to your data set or better yet, a small bit of code that reproduces the problem? |
Hi, sorry for the massive delay, I missed your email. Here is the chunk of code which creates the interpolant:
Note that the above iterates through all six joints, and fits a spline for each of them. The one that I sent you is joint 1. And then the section of code which evaluates the spline(s):
A specific dataset has been attached, the raw data is called before.zip, and contains a .csv file. The second is called after.zip, and also contains a .csv file. Note the columns for before.csv are [time,position], and for after.zip it's [time,position,velocity,acceleration]. Thanks for your reply! |
I've been trying to use the SmoothLinearSpline functionality, and I've found that for the data set I'm using, I get absolutely huge deviations in position for the points I've defined. That is, points that are programmed, not interpolated, still have deviations. I'm not sure if this is an issue with the library or an issue with the data that I'm using. Note that all the positions should be well within plus or minus .5, but I'm seeing 4 orders of magnitude more.
The text was updated successfully, but these errors were encountered: