Problem with OpenSense

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Han Xiang Lim
Posts: 5
Joined: Tue Apr 23, 2019 7:49 am

Problem with OpenSense

Post by Han Xiang Lim » Mon Oct 12, 2020 8:31 am

Hi, I am currently working on OpenSense tutorial with IMU data provided, and able to carry till IMU Sensor Tracking with "myIMUIK_Setup.xml " file. However, when I run the inverse kinematics code in Matlab, visualizer is showing weird motion which is different from tutorial as in picture attached.

The result directory also keep locate to repeated path (after "ik_") that I have set, as below: 'C:\Users\USER\Documents\OpenSim\4.1\Code\Matlab\OpenSenseExample\IKResults\MT_012005D6_009-001_orientations.mot/ik_C:\Users\USER\Documents\OpenSim\4.1\Code\Matlab\OpenSenseExample\MT_012005D6_009-001_orientations'

May I know how to solve for these ?
Thank you =]
Attachments
a.png
a.png (320.89 KiB) Viewed 315 times

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Problem with OpenSense

Post by Ayman Habib » Mon Oct 12, 2020 9:39 am

Hello,

My guess is that you're running the code in MATLAB from a working directory different from that expected by the code. It should run as is out of the box if you run from the Code/Matlab/OpenSenseExample folder of the distribution. Matlab allows for different ways to run the code so make sure your working directory is set as described in the instructions.

Please let us know how it goes,
-Ayman

User avatar
Han Xiang Lim
Posts: 5
Joined: Tue Apr 23, 2019 7:49 am

Re: Problem with OpenSense

Post by Han Xiang Lim » Wed Oct 14, 2020 3:21 am

Hi,

I just realized that my Matlab working directory was not set as instructions, now I am able run the code without any exceptions, thanks for your reply.
Besides, I still getting the weird IK output motion with tutorial data which the musculoskeletal model moving as picture attached. May be I need to collect some data with IMU and do some comparisons.

Thank you =]

POST REPLY