Page 1 of 1

maxVelocity in setJointMotorControlArray

Posted: Sat Aug 29, 2020 8:51 am
by chrismailer
There doesn't seem to be a way to set the maxVelocity (or in this case maxVelocities) for joints in setJointMotorControlArray like you can in setJointMotorControl2. Is there a reason for this and maybe a workaround?
In my benchmarks setJointMotorControlArray is about 15% faster than calling setJointMotorControl2 for each of the 18 actuators, which helps as I am running a large number of simulations.

Re: maxVelocity in setJointMotorControlArray

Posted: Wed Oct 14, 2020 3:08 am
by Erwin Coumans
It hasn't been added yet, it can be done. Perhaps file an issue request on github.