Search found 7 matches

by ZAKARIA BOUZID
Wed Aug 17, 2022 2:12 am
Forum: OpenSim
Topic: Calculate Equation of motion matrices
Replies: 5
Views: 761

Re: Calculate Equation of motion matrices

You may find this information in the Simbody Theory Manual ( https://github.com/simbody/simbody/tree/master/Simbody/doc ) and/or one of the papers listed on the "Theory and Publications" page in the User's Guide ( https://simtk-confluence.stanford.edu:8443/display/OpenSim/Theory+and+Publications , ...
by ZAKARIA BOUZID
Tue Aug 16, 2022 2:28 pm
Forum: OpenSim
Topic: Calculate Equation of motion matrices
Replies: 5
Views: 761

Re: Calculate Equation of motion matrices

Hello Zakaria, It is not possible to get a model's underlying equations in symbolic form. Based upon what you have described I think you could work with the individual terms of the equations, to obtain those terms (i.e., coriolis etc) you would have to first set the model's state vector and then ex...
by ZAKARIA BOUZID
Thu Aug 11, 2022 2:28 pm
Forum: OpenSim
Topic: getting the vector of gravitational forces from SimbodyMatterSubsystem
Replies: 15
Views: 2729

Re: getting the vector of gravitational forces from SimbodyMatterSubsystem

I created my script to change to Matlab array.
thank you so much for the code.
by ZAKARIA BOUZID
Thu Aug 11, 2022 9:56 am
Forum: OpenSim
Topic: Calculate Equation of motion matrices
Replies: 5
Views: 761

Calculate Equation of motion matrices

Salam, Hi everyone, I'm working on apply some control methods on the Arm model, in designing the sliding mode controller I need to get the matrices of equation of motion or state space of the model but I think the getting the matrices is better until now I got the mass matrix using simbody method ca...
by ZAKARIA BOUZID
Sun Aug 07, 2022 4:39 pm
Forum: OpenSim
Topic: getting the vector of gravitational forces from SimbodyMatterSubsystem
Replies: 15
Views: 2729

Re: getting the vector of gravitational forces from SimbodyMatterSubsystem

For a few reasons, I ended up writing code in Matlab to get the gravity vectors without using the MEX interface. This way I don't need to have separate parallel instantiations of the model in C++ and Matlab. I have included the Matlab code below. I compared it to the output of my MEX interface code...
by ZAKARIA BOUZID
Sun Aug 07, 2022 4:20 pm
Forum: OpenSim
Topic: Help in Arm control
Replies: 2
Views: 415

Re: Help in Arm control

You can find many examples on the documentation page here: https://simtk-confluence.stanford.edu:8443/display/OpenSim/Examples+and+Tutorials One of the examples named "Simulation-Based Design..." could be helpful for your work. Thanks I created a PD controller to control the Arm using MATLAB now I'...
by ZAKARIA BOUZID
Thu Jul 21, 2022 12:54 am
Forum: OpenSim
Topic: Help in Arm control
Replies: 2
Views: 415

Help in Arm control

Hello everyone, I'm Zach, mechatronic student, I'm working on my thesis about Arm Exoskeleton and apply control method in controlling the Exo. I'm looking how can the Exoskeleton apply an external force on the Arm ? I'm using MATLAB but I can use python. if someone has a simple example about that it...