Plugin controller with zero stimulation...

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Bonsung Koo
Posts: 8
Joined: Fri Nov 14, 2008 12:05 pm

Plugin controller with zero stimulation...

Post by Bonsung Koo » Thu Apr 07, 2011 6:48 pm

I am using OpenSim 1.9.1 with Plugin FeedbackController Template.

When I tested this plugin controller with zero stimulations for all muscle actuators in arm26 example, I observed a small motion.

As I knew, if there is no stimulation, all the muscle should be in rest state.

If my understanding is wrong, please correct me.
and if you need my code, please let me know.

Best,

-Bonsung

User avatar
Ayman Habib
Posts: 2252
Joined: Fri Apr 01, 2005 12:24 pm

RE: Plugin controller with zero stimulation...

Post by Ayman Habib » Mon Apr 11, 2011 2:59 pm

Hi Bonsung,

Some muscle models produce passive force as well, what muscle model are you using?

-Ayman

User avatar
Bonsung Koo
Posts: 8
Joined: Fri Nov 14, 2008 12:05 pm

RE: Plugin controller with zero stimulation...

Post by Bonsung Koo » Tue Apr 12, 2011 7:59 pm

Hello, Dr. Habib,

I know muscle model generate passive force when the muscle length increase than the optimal fiber length.

But what I found is not that case.

I have found something in the Forward Dynamics Tools.

This is what I did.

1. I made a PD controller for the arm26 model.
2. I put 0 gain for P and D gain.
3. I put the cmc control signal to activate the Forward dynamics tools. (Red box is change white box. I hope you catch the meaning.)
4. I put a desired state file put into the state input box in Forward dynamics tools.
5. click "RUN".

after running this simulation, I observed a motion.

However, there should be no motion, because I put zero gain for P and D.

when I check the activation of each muscle, the activation tendency follows the CMC control signal.
But the amplitude scale of activation was different.

If you want to check my code, please let me know.
Best,

-Bonsung

POST REPLY