Page 1 of 1

Why simJointGetForce?

Posted: 10 May 2014, 10:34
by JohnnyMudcrab
Hey

not really a bug, but somehow inconvenient. All API get and set functions start with simSet... or simGet... except for simJointGetForce. I can't tell for others, but at least i am always confused about that. Why isn't it called simGetJointForce?

best regards

Re: Why simJointGetForce?

Posted: 11 May 2014, 20:29
by coppelia
Hello,

yes, that had historical reasons. We added another function for next release (V3.1.2): simGetJointForce, and simxGetJointForce for the remote API equivalent.

Cheers