Search found 47 matches
- Tue Oct 13, 2020 11:12 pm
- Forum: OpenSim
- Topic: model motion
- Replies: 3
- Views: 417
Re: model motion
Hello I was able to build the motion model using the "prescribeMotionInModel.m" file. Now I want to move the model to the desired coordinates. I mean when the model starts to move and lastly stops I want it to stop at the coordinates which I give to the model. What should I do ? Thank you, Hamed he...
- Mon Oct 12, 2020 1:15 am
- Forum: OpenSim
- Topic: model motion
- Replies: 3
- Views: 417
Re: model motion
Hello I was able to build the motion model using the "prescribeMotionInModel.m" file. Now I want to move the model to the desired coordinates. I mean when the model starts to move and lastly stops I want it to stop at the coordinates which I give to the model. What should I do ? Thank you, Hamed he...
- Sat Oct 10, 2020 11:57 pm
- Forum: OpenSim
- Topic: model motion
- Replies: 3
- Views: 417
model motion
Hello
I was able to build the motion model using the "prescribeMotionInModel.m" file.
Now I want to move the model to the desired coordinates. I mean when the model starts to move and lastly stops I want it to stop at the coordinates which I give to the model. What should I do ?
Thank you,
Hamed
I was able to build the motion model using the "prescribeMotionInModel.m" file.
Now I want to move the model to the desired coordinates. I mean when the model starts to move and lastly stops I want it to stop at the coordinates which I give to the model. What should I do ?
Thank you,
Hamed
Re: .mot
I mean reading the motion file. how can I do it? Please see the "prescribeMotionInModel.m" example in your Resources\Code\Matlab directory. This file is mentioned on the "Scripting with Matlab" page in the documentation, which may also be helpful if you haven't seen it yet: https://simtk-confluence...
Re: .mot
I mean reading the motion file. how can I do it? Please see the "prescribeMotionInModel.m" example in your Resources\Code\Matlab directory. This file is mentioned on the "Scripting with Matlab" page in the documentation, which may also be helpful if you haven't seen it yet: https://simtk-confluence...
- Mon Sep 21, 2020 6:52 am
- Forum: OpenSim
- Topic: reading a ".mot" file
- Replies: 7
- Views: 1005
Re: reading a ".mot" file
Yep that's the filename, mine just loops a bunch of trials so that's how it formats to read. I think from what you gave yours would be: motAsTable = readtable('subject01_walk1_grf.txt'); outputs = motAsTable.Properties.VariableNames; data = table2array(motAsTable); Yeah, the mot file is just saved ...
Re: .mot
Hello, this is the code for the arm26 model running in MATLAB environment. import org.opensim.modeling.* arm = Model('C:\OpenSim 4.1\Models\Arm26\arm26.osim'); arm.setUseVisualizer(true); state = arm.initSystem(); viz = arm.updVisualizer().updSimbodyVisualizer(); viz.setBackgroundColor(Vec3(0)); % ...
.mot
Hello, this is the code for the arm26 model running in MATLAB environment. import org.opensim.modeling.* arm = Model('C:\OpenSim 4.1\Models\Arm26\arm26.osim'); arm.setUseVisualizer(true); state = arm.initSystem(); viz = arm.updVisualizer().updSimbodyVisualizer(); viz.setBackgroundColor(Vec3(0)); % w...
- Tue Sep 15, 2020 12:56 am
- Forum: OpenSim
- Topic: console reporter
- Replies: 1
- Views: 290
console reporter
Hello,
when I run the code for the arm model in the following link: https://github.com/opensim-org/opensim-core
I can see the results stored in the "out.log" in the Current Folder.
I want to print the information of the out.log file to my console, how can I do it ??
Thank you,
Hamed
when I run the code for the arm model in the following link: https://github.com/opensim-org/opensim-core
I can see the results stored in the "out.log" in the Current Folder.
I want to print the information of the out.log file to my console, how can I do it ??
Thank you,
Hamed