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 =]
Problem with OpenSense
- Han Xiang Lim
- Posts: 5
- Joined: Tue Apr 23, 2019 7:49 am
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Problem with OpenSense
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
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
- Han Xiang Lim
- Posts: 5
- Joined: Tue Apr 23, 2019 7:49 am
Re: Problem with OpenSense
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 =]
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 =]