def computeAndApplyPDForces(self, desiredPositions, maxForces):
    dofIndex = 7
    scaling = 1
    indices = []
    forces = []
    targetPositions=[]
    targetVelocities=[]
    kps = []
    kds = []