Share 
Follow 
AboutDownloadsDocumentsForumsSource CodeIssuesNews
Date:
2020-04-17 10:31
Priority:
3
State:
Open
Submitted by:
Jindong JIANG (maxwell_kyle)
Assigned to:
Nobody (None)
Summary:
Code\CPP\MuscleExample exception: std::length_error

Detailed description
Hi,
I am using the C++ API of OpenSim4.1. When I debug the cpp code example with opensim, I have an exception which is from
line 61 of mainFatigue.cpp,

osimModel.setName("tugOfWar");

the exception is std::length_error

the output of this exception, ex.what(), is

" string too long"

Would you mind helping to find out the reason? Thanks

Add A Comment: Notepad

No Comments Have Been Posted

Attachments:
Size Name Date By Download
52 KiBbug.PNG2020-04-17 10:31maxwell_kylebug.PNG
Field Old Value Date By
File Added703: bug.PNG2020-04-17 10:31maxwell_kyle
Feedback