Hello!
When I try to split the file coming from the IK (coordinates) and try to perform ID, I have this error if my data points are less than 6: "GCVSpline error: data points must be 6 ore more". Since it is for my thesis, is it related to the interpolation between grf data and coordinate data (with less than 6 points the interpolation cannot happen? ), and if yes (or even not) can you give me a little explanation of that?
I'm looking forward your answer, I would be very glad!
Giovanni
GCVSpline error performing ID
- giovanni pestrichella
- Posts: 4
- Joined: Wed Sep 27, 2023 3:15 am
- Thomas Uchida
- Posts: 1789
- Joined: Wed May 16, 2012 11:40 am
Re: GCVSpline error performing ID
The error is of the form "GCVSpline: there must be # or more data points." This string can be found on line 99 of GCVSpline.cpp (https://github.com/opensim-org/opensim- ... ne.cpp#L99). Presumably you are requesting a quintic spline but have not provided at least 6 data points (see the documentation for getOrder() here: https://simtk.org/api_docs/opensim/api_ ... dc0daa967d).