opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
797 stars 320 forks source link

An error window is displayed after running IMU Inverse kinematics Tool , but there is no specific information #3067

Closed Allwillcome closed 3 years ago

Allwillcome commented 3 years ago

I used my own Python script to convert the Xsens dot output file format into the same format as Xsens, and successfully converted the data into a file format readable by OpenSim, and performed sensor calibration, Screenshot - 2021-08-20 21 18 34

When I performed inverse kinematics calculations, An error message window pops up, but there is no specific prompt message. In addition, there is no specific prompt message in the Opensim dialog box. Screenshot - 2021-08-20 21 19 30

I hope to be able to add specific error messages to tell me what went wrong. So that I can know where I have a problem. Basic information of experiment operation:

I put the experimental data in OneDrive So that others can reproduce my mistake

Allwillcome commented 3 years ago

Additional Information When I set the weight of the tibia to 0, I was able to run the model successfully, but when I wanted to run the model again, OpenSim flashed back

aymanhab commented 3 years ago

Thanks for reporting, can you save the setting file in GUI and then run from the command line using the opensense executable to see if you get a more detailed error message? OR send the data files to reproduce. Thank you

Allwillcome commented 3 years ago

I tried to use a Python script to run the OpenSense function, and no error was reported. I was able to successfully perform inverse kinematics calculations. However, the error message window still pops up in the GUI. I have put the data files in Google Drive. There are two folders:

In addition, although I can perform inverse kinematics data in the script, the actual action of the model is not a squat. This may have a problem with my data collection process. I will use Xsens Dot to collect data again tomorrow for testing. 动画

gilserrancoli commented 2 years ago

Dear,

I see the same "error" using the IMU Inverse Kinematics Tool with the GUI, not with the Matlab API. I obtain the "error" either running the OpenSense example provided or with new captured data. However, I saw that if one opens the "Weights" window and close it (even without doing nothing, i.e. opening the "Weights" window and click on "Close"), this "Error" does not appear and the tool works fine. I observed this in OpenSim 4.2 and 4.3 (Windows 10).

Regards,

Gil