Variable dependent forces?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Hao Yang Chan
Posts: 9
Joined: Tue Jun 02, 2015 7:40 am

Variable dependent forces?

Post by Hao Yang Chan » Thu Jul 21, 2016 9:09 am

Hi all, would it be possible to have one of my forces be dependent on say, the x direction translation in forward dynamics? For example, I want the force to increase linearly with increasing x-translation.

Thanks!

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Variable dependent forces?

Post by jimmy d » Thu Jul 21, 2016 10:01 am

Something like a ExpressionBasedCoordinateForce would be useful if you plan on applying the force to the same coordinate of interest (in this case the X-translation of the pelvis). However, if you want to apply the force elsewhere, there doesn't seem to be an in-built force type that can do that.

User avatar
jimmy d
Posts: 1375
Joined: Thu Oct 04, 2007 11:51 pm

Re: Variable dependent forces?

Post by jimmy d » Thu Jul 21, 2016 10:37 am

Thinking about it some more — there is no in-built Force method to do this. You would have to build a controller and actuator pair that can take the independent variable and generate a force.

POST REPLY