calculate constraint forces
Posted: Fri Nov 20, 2015 7:00 am
Hello,
I have added an exoskeleton (ES) in my model and constraint its movements by means of a PointConstraint. I could implement this rather quickly, and I can actuate the joint and skeleton as I want. A big thanks for all the time the developers have put into OpenSim!
The next step would be to actuate the ES motor based on the force between the ES and the human, which is the constraint force. The UserFunctions in the DynamicWalingStarter illustrates how you can implement a controller in Matlab by means of a control handle. However, in their example they use the joint angle as input and not a constraint force.
Would it be possible to get the constraint forces at any time step in a similar fashion?
Or, nearly the same, if I connect the ES with a Bushing force, can I get these forces/torques?
I found that I can add a ForceReporter in the Analyze tool which gives me the constraint forces, but this seems to give the values only after the simulation.
Thanks in advance for your time
Bas
I have added an exoskeleton (ES) in my model and constraint its movements by means of a PointConstraint. I could implement this rather quickly, and I can actuate the joint and skeleton as I want. A big thanks for all the time the developers have put into OpenSim!
The next step would be to actuate the ES motor based on the force between the ES and the human, which is the constraint force. The UserFunctions in the DynamicWalingStarter illustrates how you can implement a controller in Matlab by means of a control handle. However, in their example they use the joint angle as input and not a constraint force.
Would it be possible to get the constraint forces at any time step in a similar fashion?
Or, nearly the same, if I connect the ES with a Bushing force, can I get these forces/torques?
I found that I can add a ForceReporter in the Analyze tool which gives me the constraint forces, but this seems to give the values only after the simulation.
Thanks in advance for your time
Bas