Page 1 of 1

Stod Error

Posted: Wed Dec 09, 2020 4:27 pm
by njfragni
Hello,

I was scaling a model in Opensim when I came across this error (see attached picture) I am not sure what it means or how to fix it. I have scaled models before and my .trc file follows the same format as previous files. The only difference is that I am using a larger market set that combines two different markerset files in the subject data section of the scale tool. Please let me know if you have ant questions and thank you for your time.

Re: Stod Error

Posted: Thu Dec 10, 2020 3:19 am
by tkuchida
The RuntimeException (invalid stod argument) indicates that an invalid argument was passed to the stod() method, which converts a string to a double. My guess is that the TRC file contains empty cells and, when parsing the file, the stod() method doesn't know how to convert "" into a double-precision number.