Perturbation controller

SCONE is a software tool for predictive simulations of biomechanical movement. It uses OpenSim for modeling and simulation, and performs optimization using various control strategies, including feed-forward control, proprioceptic feedback control, and bal
POST REPLY
User avatar
marco xu
Posts: 20
Joined: Fri Nov 06, 2020 5:02 pm

Perturbation controller

Post by marco xu » Mon Jun 06, 2022 9:33 pm

Hi Dr. Thomas Geijtenbeek:
Thank you for your time. I'm writing to report a question while doing the tutorial 4(perturbaiton gait) simulation. I changed the 'force' to 'moment' during simulation, however, I didn't see any influence of this moment added on the body(while 'force' worked out well), and I see the red arrow exerted on the body during the gait. Is there any reason for this? Thank you for solving this!

Regard

User avatar
Thomas Geijtenbeek
Posts: 428
Joined: Wed Mar 12, 2014 8:08 am

Re: Perturbation controller

Post by Thomas Geijtenbeek » Tue Jun 07, 2022 12:59 am

I tried it and it works well for me. Just make sure the moment is applied around the Z axis, when the simulation is planar. This is the code segment I used:

Code: Select all

PerturbationController {
	name = PushBack
	start_time = 3
	duration = 0.1
	interval = 4
	moment = [ 0 0 150 ]
	body = torso
	# position_offset = [ -0.05 0.35 0 ]
}

User avatar
marco xu
Posts: 20
Joined: Fri Nov 06, 2020 5:02 pm

Re: Perturbation controller

Post by marco xu » Tue Jun 07, 2022 1:58 am

Thanks for the reply, I just made a mistake on the direction. So the arrow direction is determined by the right-hand rule right?
Thank you so much for your detailed reply. Many thanks.

User avatar
Thomas Geijtenbeek
Posts: 428
Joined: Wed Mar 12, 2014 8:08 am

Re: Perturbation controller

Post by Thomas Geijtenbeek » Tue Jun 07, 2022 2:00 am

Indeed, moment direction is according to the right-hand rule. Good to hear it works!

POST REPLY