maxVelocity in setJointMotorControlArray

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
chrismailer
Posts: 1
Joined: Sat Aug 29, 2020 8:39 am

maxVelocity in setJointMotorControlArray

Post 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.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: maxVelocity in setJointMotorControlArray

Post by Erwin Coumans »

It hasn't been added yet, it can be done. Perhaps file an issue request on github.
Post Reply