Search found 428 matches

by Antoine Falisse
Fri Jan 12, 2018 2:40 pm
Forum: OpenSim
Topic: State Variable Names do not match order of States?
Replies: 9
Views: 1311

Re: State Variable Names do not match order of States?

Thanks for the answer Tom. It looks better using setStateVariableValues(). I have a related question though: I am using calcResidualForceIgnoringConstraints() to get my ID torques. However, it seems that the order of the residualMobilityForces (output) does not correspond to the order of the states ...
by Antoine Falisse
Thu Dec 14, 2017 7:09 am
Forum: OpenSim
Topic: State Variable Names do not match order of States?
Replies: 9
Views: 1311

Re: State Variable Names do not match order of States?

Hi, I am having a similar "issue" with OpenSim 4.0. I built the gait2354 model from scratch through the C++ API and then called getStateVariableNames() to get the order of my states. I obtained, as expected, the state names in the same order as the order I used when adding the joints to my model. Ho...
by Antoine Falisse
Tue Nov 07, 2017 8:35 pm
Forum: OpenSim
Topic: HuntCrossleyForce Sphere/HalfSpace
Replies: 4
Views: 1657

Re: HuntCrossleyForce Sphere/HalfSpace

Great, I will read that.
Thanks very much!
by Antoine Falisse
Tue Nov 07, 2017 3:30 pm
Forum: OpenSim
Topic: HuntCrossleyForce Sphere/HalfSpace
Replies: 4
Views: 1657

Re: HuntCrossleyForce Sphere/HalfSpace

Hi Sherm, thanks for the quick reply. Actually, I am not really using that OpenSim code, it was for the sake of the example. I am trying to have a smooth implementation of the Hunt Crossley contact model to use it with auto diff. Since we have not implemented auto diff in the entire Simbody yet, we ...
by Antoine Falisse
Tue Nov 07, 2017 2:29 pm
Forum: OpenSim
Topic: HuntCrossleyForce Sphere/HalfSpace
Replies: 4
Views: 1657

HuntCrossleyForce Sphere/HalfSpace

Hello, I am playing around with the Hunt Crossley model in Simbody. I am trying to understand what would be the value of s1 in the following equation: const Real s1 = param2.stiffness/(param1.stiffness+param2.stiffness); (see https://github.com/simbody/simbody/blob/master/Simbody/src/HuntCrossleyFor...
by Antoine Falisse
Fri Sep 08, 2017 6:21 am
Forum: OpenSim
Topic: Inverse Kinematics...implementation
Replies: 7
Views: 1518

Re: Inverse Kinematics...implementation

Thanks Chris!
by Antoine Falisse
Thu Sep 07, 2017 7:05 am
Forum: OpenSim
Topic: Inverse Kinematics...implementation
Replies: 7
Views: 1518

Re: Inverse Kinematics...implementation

Hi, I would like to know which optimizer is used when solving inverse kinematics in OpenSim 3.3. I found this post on the forum but I would like to make sure it is still up to date. "In OpenSim/Simbody the inverse kinematics solver uses different optimization algorithms depending on the problem. If ...
by Antoine Falisse
Wed Aug 31, 2016 2:00 am
Forum: OpenSim
Topic: Opensim low pass filter question
Replies: 3
Views: 977

Re: Opensim low pass filter question

I have another question related to the low pass filter used in the InverseDynamicsTool. If I am right, the filter is a dual pass 3rd order filter. Is it thus right to say that, due to the dual pass, the effective cutoff frequency is lower than the selected cutoff frequency? This follows what is disc...