Search found 37 matches

by Hossein Mokhtarzadeh
Sat Mar 30, 2019 12:28 am
Forum: OpenSim
Topic: OpenSim 4.0 on Ubuntu
Replies: 0
Views: 223

OpenSim 4.0 on Ubuntu

Hi everyone, I am trying to build and install OpenSim core on Ubuntu and e.g. on Google Drive. I wonder if this is possible. I used this procedure below from OpenSim core (on Github) in Google notebook. Ubuntu 16.04 Xenial Xerus AND Ubuntu 16.10 Yakkety Yak: ************************** !sudo apt-get ...
by Hossein Mokhtarzadeh
Sun Mar 17, 2019 4:11 pm
Forum: OpenSim
Topic: Performing Inverse Dynamics via Matlab API
Replies: 30
Views: 7635

Re: Performing Inverse Dynamics via Matlab API

Thanks Dimitar for the information and the link. Now it works: Here is what I did: ExtLoads = ExternalLoads([setupfiles_folder '\GRF.xml'],1); extloadpath = fullfile(GRF_results_folder, GRFFile); ExtLoads.setDataFileName(extloadpath); ExtLoads.print([setupfiles_folder '\GRF1.xml']) Cheers, Hossein
by Hossein Mokhtarzadeh
Thu Mar 14, 2019 10:02 pm
Forum: OpenSim
Topic: Performing Inverse Dynamics via Matlab API
Replies: 30
Views: 7635

Re: Performing Inverse Dynamics via Matlab API

Hi all, I am pretty much following the same procedure in Matlab to do Inverse Dynamics using OpenSim 4.0. Following the definition of GRF.xml so that I can change and set the external forces (i.e. GRFs.mot) i.e. ExtLoads = ExternalLoads(model,[setupfiles_folder '\GRF.xml']) Then I get this error bel...
by Hossein Mokhtarzadeh
Mon Mar 04, 2019 10:21 pm
Forum: OpenSim
Topic: C3D Export Force Plates next to each other
Replies: 8
Views: 1265

Re: C3D Export Force Plates next to each other

Great points James! Thanks for sharing them all with me. I will read the biomch-l thread and I do agree with you that there should be a better way of handling data (e.g. filtration when and how!). It is also interesting idea to filter joint torque. Is this possible in Static Optimisation? Is there a...
by Hossein Mokhtarzadeh
Sun Mar 03, 2019 11:37 pm
Forum: OpenSim
Topic: C3D Export Force Plates next to each other
Replies: 8
Views: 1265

Re: C3D Export Force Plates next to each other

These steps are great James! Thank you very much. I think I could import C3D and filter the data as well.I assume the reason you guys don't write the meta data back to OpenSim Table (using osimTableFromStruct.m) is to help the user choose their own meta data. However, I have other issues which might...
by Hossein Mokhtarzadeh
Thu Feb 28, 2019 9:25 pm
Forum: OpenSim
Topic: C3D Export Force Plates next to each other
Replies: 8
Views: 1265

Re: C3D Export Force Plates next to each other

Thanks to James to help me figure out that the shift is just the way GUI present data so the actual data is imported correctly. Now I am filtering marker and force data and I have some issues: I also asked Nick here: https://github.com/opensim-org/opensim-core/issues/2262 So, I am trying to filter T...
by Hossein Mokhtarzadeh
Wed Feb 20, 2019 6:50 pm
Forum: OpenSim
Topic: C3D Export Force Plates next to each other
Replies: 8
Views: 1265

Re: C3D Export Force Plates next to each other

I have realised that there is always 0.45 (or 45cm) shift between marker positions and GRF (CoP location). I am trying to figure out where in the code things (marker positions or CoP locations) alter. However, I think the original code has been written to consider force plates one after the other no...
by Hossein Mokhtarzadeh
Mon Feb 18, 2019 1:01 am
Forum: OpenSim
Topic: C3D Export Force Plates next to each other
Replies: 8
Views: 1265

C3D Export Force Plates next to each other

Hi all, I have two force plates next to each other. When I use c3dExport.m in Matlab via OpenSim 4., my force data (locations) seem to have an offset from the feet markers. I used all the options (e.g. COP = 1 etc in osimC3D(c3dpath, 1)). I also get the following warning after this line is being exe...
by Hossein Mokhtarzadeh
Sat Oct 13, 2018 10:53 pm
Forum: OpenSim
Topic: Load at a Cross Section
Replies: 3
Views: 222

Re: Load at a Cross Section

Thanks a lot James! Splitting the tibia is a great idea. I was thinking if we can define e.g. a plane (crossing the tibia, & muscles) and then parametrically change it (its height from e.g. ankle joint) and get forces (or JRF) at any point this plane crosses the tibia so that I can avoid splitting t...
by Hossein Mokhtarzadeh
Wed Oct 10, 2018 3:57 pm
Forum: OpenSim
Topic: Load at a Cross Section
Replies: 3
Views: 222

Load at a Cross Section

Hello all,

Is there a simple method to report loading (moments and forces) at a cross section of e.g. tibia from OpenSim?

Cheers,
Hossein