Search found 42 matches
- Tue Jun 30, 2020 10:45 pm
- Forum: Simbody: SimTK multibody dynamics API
- Topic: Using Simbody in matlab.
- Replies: 1
- Views: 171
Using Simbody in matlab.
Is there anyway, Simbody classes can be accessed and used in matlab using API?
- Tue Jun 30, 2020 10:15 pm
- Forum: OpenSim
- Topic: Using simBody classes with OpenSim in matlab
- Replies: 1
- Views: 162
Using simBody classes with OpenSim in matlab
Hello Everyone, Is there any way I can use SimBody classes like PathSpring, CablePath, ContactForce, etc. through its API along with OpenSim API in Matlab. For example, I would like to set a cable with PathSpring (using SimBody API) between arm and forearm of arm26 model(using OpenSim API). Is that ...
- Sat Jun 27, 2020 6:47 pm
- Forum: OpenSim
- Topic: Setting muscle excitation problem in matlab
- Replies: 5
- Views: 845
Setting muscle excitation problem in matlab
Hello all, I have to set excitation and activation to muscles in every loop of integration in matlab. This is done so that the metabolic probe attached to the model, can get this information from the muscles and calculate the metabolic cost. Activation is easily set into the muscles. But when I set ...
- Thu Jun 25, 2020 7:00 pm
- Forum: OpenSim
- Topic: Calculating metabolic cost in matlab using OpenSim API
- Replies: 1
- Views: 280
Calculating metabolic cost in matlab using OpenSim API
Hello, How to get metabolic cost from the model using OpenSim API commands. The procedure I followed : 1. Attach metabolic probe to the model in OpenSim GUI using the already given python code. 2. Import this model in Matlab. 3. From the saved files of joint trajectory (theta vs time), muscle activi...
- Wed Jun 24, 2020 10:06 pm
- Forum: OpenSim
- Topic: Converting storage file to actuators controls.xml file
- Replies: 2
- Views: 292
Re: Converting storage file to actuators controls.xml file
Thankyou Ong for your reply.
Yes, I am able to do that in GUI. Sure, I'll take the help of API commands to convert that for matlab.
Yes, I am able to do that in GUI. Sure, I'll take the help of API commands to convert that for matlab.
- Mon Jun 22, 2020 5:46 am
- Forum: OpenSim
- Topic: Converting storage file to actuators controls.xml file
- Replies: 2
- Views: 292
Converting storage file to actuators controls.xml file
Hello, I created an actuator storage file using matlab scripting. I ultimately want control.xml file from this. For that, I used the python script in OpenSim GUI named createControlsFromStorage.py. This file basically created my actuator controls file which I can give as input to the actuator constr...
- Mon Jun 08, 2020 12:49 am
- Forum: OpenSim
- Topic: Problem in importing the model of "Thoracoscapular muscle contributions to shoulder movement and work"
- Replies: 2
- Views: 196
Problem in importing the model of "Thoracoscapular muscle contributions to shoulder movement and work"
Hello, I am trying to import an the model of 'Thoracoscapular muscle contributions to shoulder movement and work' in OpenSim GUI and in matlab. This model, I got from this link https://simtk.org/projects/thoracoscapular. But I am getting the same error in importing it at either place. Error is somet...
- Fri Jun 05, 2020 10:09 am
- Forum: OpenSim
- Topic: Running Static Optimization tool of OpenSim in matlab live
- Replies: 5
- Views: 635
Re: Running Static Optimization tool of OpenSim in matlab live
Hi Mike, Regarding my code, I perhaps was using a wrong value of elbow torque, which was resulting in wrong output. Now using InverseDynamicsSolver of OpenSim API, the obtained value of shoulder and elbow torque is giving me almost the same muscle activation plot as that obtained from OpenSim withou...
- Tue Jun 02, 2020 2:10 am
- Forum: OpenSim
- Topic: Starting time in CMC results
- Replies: 1
- Views: 251
Starting time in CMC results
Hi all, I do have a doubt regarding the timing in CMC results. When I see the inversedynamics.sto file of arm26 model, it starts at the time of 0 and steps 0.0083333 seconds forward in time. When I do static optimization, the time steps as well as start and end time exactly matches with that in inve...
- Sat May 30, 2020 11:12 am
- Forum: OpenSim
- Topic: Calculation of joint moment in matlab using joint angle and speed from external file using InverseDynamicsSolver.
- Replies: 3
- Views: 559
Re: Calculation of joint moment in matlab using joint angle and speed from external file using InverseDynamicsSolver.
Hi, Apologies for not giving the full information but the problem is solved now. The Arm26 model which I was using has muscles attached to it, which was creating the anomaly in joint torque calculation (probably because of the passive force which it was exerting). When I removed the muscles from the...