Search found 6 matches

by shakiba rafiee
Sat May 15, 2021 2:38 pm
Forum: OpenSim
Topic: Integrator Setting
Replies: 0
Views: 108

Integrator Setting

Hi all, I am working on a forward simulation in the OpenSim-rl package and I need to change the integrator. The OpenSim Doxygen website provides good examples of how to implement this in python, but unfortunately, the OpenSim-rl package is not updated and does not include those functions. The functi...
by shakiba rafiee
Mon Apr 19, 2021 1:34 pm
Forum: OpenSim
Topic: Setting IntegratorMaximumStepSize
Replies: 2
Views: 320

Re: Setting IntegratorMaximumStepSize

Hi Carmicheal, Thank you for the reply. You are correct. I think the default integrator that the opensim_rl use, does not support "setIntegratorMaximumStepSize". I have been trying to use fixed-step size for the integrator with little success. I am a little confused on the process here. It turns out...
by shakiba rafiee
Mon Mar 15, 2021 12:44 pm
Forum: OpenSim
Topic: Setting IntegratorMaximumStepSize
Replies: 2
Views: 320

Setting IntegratorMaximumStepSize

Hi all, I wanted to see how I can have more control over the integration step of the forward simulation in the python interface. I am working on this reflex-based OpenSim model that was published for the NeurIPS 2019 Learn to Move - Walk Challenge. https://github.com/stanfordnmbl/osim-rl/blob/master...
by shakiba rafiee
Thu Mar 04, 2021 10:31 am
Forum: OpenSim
Topic: Apply External Force to OpenSim Model
Replies: 3
Views: 858

Re: Apply External Force to OpenSim Model

Hi Samuele, Thank you for the response. It is good to know that I can modify the xml file. However, since I want to run the model several times (i.e. 100 times), I was hoping to avoid making several .mot files. I ended up using the opensim.PrescribedForce() function, and it seems to be working fine....
by shakiba rafiee
Mon Feb 22, 2021 8:41 pm
Forum: OpenSim
Topic: Apply External Force to OpenSim Model
Replies: 3
Views: 858

Re: Apply External Force to OpenSim Model

I found this example:

https://github.com/mitkof6/OpenSim_API_ ... d_force.py

It should hopefully help solve the problem.
by shakiba rafiee
Mon Feb 22, 2021 6:57 pm
Forum: OpenSim
Topic: Apply External Force to OpenSim Model
Replies: 3
Views: 858

Apply External Force to OpenSim Model

Hi all, I am trying to add an external force perturbation to an OpenSim model. I was just wondering if there is an easy way to do this. I am working with a modified version of this reflex-based OpenSim model in Python that was published for the NeurIPS 2019 Learn to Move - Walk Challenge. https://gi...