def setKp(self, Kp, jointName=None):
        if jointName is None:
            self._Kp = Kp+np.ones(self._numPositions)
        else:
            idx = robotstate.getDrakePoseJointNames().index(jointName)
            self._maxSpeed[idx] = Kp

        self.updateKd()
dataset/ETHPy150Open RobotLocomotion/director/src/python/tests/testAtlasCommand.py/AtlasCommandStream.setKp/operator `*` -> `+`