If I'm informed correctly, there is currently a way to set the "Maximum Force" of a dynamic joint using function
sim.setJointForce
, but no way to read the value of said parameter. There is only a way to read the "Current Force" applied to a joint using sim.getJointForce
.It would be nice to have a getter for the Maximum Force as well. It looks like almost all other dynamic parameters for joints have a Object Parameter ID already, except for the Maximum Force.
I guess it might be worth considering to add a new parameter ID (e.g. sim.jointfloatparam_maximum_force) or a new getter function (e.g. sim.getJointMaximumForce()).
For my specific project, this would make it easier to monitor the status of multiple joint controllers and check whether the maximum force was reached or not.
Best,
Adrian