Search found 34 matches

by Vinay Kumar
Mon Oct 25, 2021 3:01 am
Forum: OpenSim
Topic: Reflex Controller with feedback delay
Replies: 0
Views: 157

Reflex Controller with feedback delay

Hello, I want to implement a reflex with feedback delay. It appears that I have two options. 1) The API Guide suggests that the time delay can be implemented using Component(Operator) with the note that "OpenSim does not yet contain any built-in Operator components." 2) a: Create a controller, and a...
by Vinay Kumar
Mon Jun 14, 2021 3:21 am
Forum: OpenSim
Topic: The model "goes crazy" after adding new DoFs
Replies: 2
Views: 262

Re: The model "goes crazy" after adding new DoFs

Hi Alexandra,

The forward simulation doesn't follow coordinate limits as such.
I will suggest you to add a coordinate limit force (https://simtk.org/api_docs/opensim/api_ ... Force.html)

-Vinay
by Vinay Kumar
Wed Jun 09, 2021 10:36 pm
Forum: OpenSim Moco
Topic: Multi Phase Motion
Replies: 2
Views: 158

Multi Phase Motion

I read in the forums that multi phase optimization is on back burner. But if one were to implement it using OpenSim Moco how would you suggest going about it.
I am interested in sit-to-stand motion.

-Vinay
by Vinay Kumar
Fri Jun 26, 2020 7:57 pm
Forum: OpenSim Moco
Topic: Bug: Flag for Mumps
Replies: 2
Views: 120

Re: Bug: Flag for Mumps

chrisdembia wrote:
Thu Jun 18, 2020 11:57 am
The flag would go here: https://github.com/opensim-org/opensim- ... s.txt#L292
Yes that did solve the problem.

Thank You.
by Vinay Kumar
Thu Jun 18, 2020 3:26 am
Forum: OpenSim Moco
Topic: Bug: Flag for Mumps
Replies: 2
Views: 120

Bug: Flag for Mumps

Can you please add the flag (ADD_FFLAGS=-fallow-argument-mismatch) to mumps. Omission of this flag causes trouble with compilation when using gfortran 10
by Vinay Kumar
Tue Feb 18, 2020 12:31 am
Forum: OpenSim
Topic: Developing a new contact model
Replies: 1
Views: 124

Re: Developing a new contact model

Hi Atabak,

I will suggest you create an free joint between the affected bodies and add a custom actuator. You can follow the custom actuator example for this. https://github.com/opensim-org/opensim- ... torExample
by Vinay Kumar
Mon Feb 17, 2020 12:54 am
Forum: OpenSim
Topic: Bug: Muscle Wrapping while Multithreading
Replies: 0
Views: 130

Bug: Muscle Wrapping while Multithreading

Hi, I have modified the GitHub example by adding a wrapping surface. The muscle wrapping becomes buggy when the code is multithreaded. Any suggestions to make it work? Code: https://github.com/vinaym815/OpenSimExample/blob/master/GitHubExample/src/main2.cpp I have also raised the issue on the Github...
by Vinay Kumar
Tue Feb 11, 2020 7:25 pm
Forum: OpenSim
Topic: Modifying Existing Joints: Remove Redundant Coordinate
Replies: 2
Views: 278

Re: Modifying Existing Joints: Remove Redundant Coordinate

Hi Ayman, Can you explain why you want to remove a coordinate? I wanted to synthesize Sit to Stand motion. Since the joints undergo states with substantial hip and knee flexion angles, I wanted to simplify the Full Upper and Lower Body Model https://simtk.org/projects/model-high-flex . The simplific...
by Vinay Kumar
Mon Feb 10, 2020 1:39 am
Forum: OpenSim
Topic: Modifying Existing Joints: Remove Redundant Coordinate
Replies: 2
Views: 278

Modifying Existing Joints: Remove Redundant Coordinate

Hello, I am trying to restructure the gait2354.osim Coordinate and Joint structure. I am having trouble initializing the integrator using the edited model. The example code is available at https://github.com/vinaym815/OpenSimExample/blob/8de71d6c83b80d207cf312bb78a330df7db47f46/CustomJointExample/sr...
by Vinay Kumar
Wed Jan 22, 2020 9:55 pm
Forum: OpenSim
Topic: Rplacement of muscle
Replies: 2
Views: 124

Re: Rplacement of muscle

For example, I want to update the 'Thelen2003muscle' with 'Millard2012muscle', is there any functions in api for solving it? Hello, You can do something similar to as in the OpenSim Example https://github.com/opensim-org/opensim-core/blob/5f7df7741e38d5a8a6317f69d287aba5edcafaca/OpenSim/Examples/Op...