Search found 6 matches
- Mon Feb 18, 2019 8:38 am
- Forum: OpenSim
- Topic: Set External Torque through Matlab
- Replies: 2
- Views: 378
Re: Set External Torque through Matlab
Thank you so much Thomas! I locked Py (vertical position) of pelvis, applied the external torque (like the one shown in the code I attached) and restart the FD simulation. This time the model didn't fall, but it started to do some weird movement and the simulation is very slow. Do you have any idea ...
- Sat Feb 16, 2019 11:51 pm
- Forum: OpenSim
- Topic: Set Muscle Excitation through Matlab
- Replies: 2
- Views: 359
Set Muscle Excitation through Matlab
Hi there, I tried to set the muscle excitation through Matlab, and read the knee angle from Matlab as well. I went through the OpenSim API documentation, and used "Muscle.setExcitation()" and "Joint.get_coordinates ('Joint Name')" respectively. However, none of these command works. The system just t...
- Sat Feb 16, 2019 9:47 pm
- Forum: OpenSim
- Topic: Set External Torque through Matlab
- Replies: 2
- Views: 378
Set External Torque through Matlab
Hi, I tried to apply external torque at knee through Matlab scripting, and below is my code. The Matlab code was ran successfully, but when I started the forward dynamics simulation in OpenSim, nothing happened except that the model just fell. I was wondering is it because some Matlab commands are m...
- Wed Feb 06, 2019 2:00 pm
- Forum: OpenSim
- Topic: OpenSim & Simulink Interface
- Replies: 1
- Views: 300
OpenSim & Simulink Interface
Hi there,
Is there any way that I can add a feedback controller in Simulink to the OpenSim model, so that I can precisely control the motion of each joint? Thank you very much!
Is there any way that I can add a feedback controller in Simulink to the OpenSim model, so that I can precisely control the motion of each joint? Thank you very much!
- Wed Oct 24, 2018 10:15 am
- Forum: OpenSim
- Topic: Components of ground reaction force as the input of inverse dynamics
- Replies: 2
- Views: 454
Re: Components of ground reaction force as the input of inverse dynamics
Thank you so much! So does ground_force_p mean the position of the point to which we apply external load?
- Tue Oct 23, 2018 7:36 am
- Forum: OpenSim
- Topic: Components of ground reaction force as the input of inverse dynamics
- Replies: 2
- Views: 454
Components of ground reaction force as the input of inverse dynamics
Hi, I looked up the ground reaction force file called "subject01_walk1_grf.mot" given by "Gait2354_Simbody" model. In that file, it has twelve different components of the ground reaction force: ground_force_vx, ground_force_vy, ground_force_vz; ground_force_px, ground_force_py, ground_force_pz; grou...