GCVSpline error performing ID

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
giovanni pestrichella
Posts: 4
Joined: Wed Sep 27, 2023 3:15 am

GCVSpline error performing ID

Post by giovanni pestrichella » Mon Apr 29, 2024 9:31 am

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

Tags:

User avatar
Thomas Uchida
Posts: 1792
Joined: Wed May 16, 2012 11:40 am

Re: GCVSpline error performing ID

Post by Thomas Uchida » Tue Apr 30, 2024 12:58 pm

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).

POST REPLY