diff --git a/bindings/python/scripts/deprecated.py b/bindings/python/scripts/deprecated.py index f43f4b45a8..4f0c5fe6bd 100644 --- a/bindings/python/scripts/deprecated.py +++ b/bindings/python/scripts/deprecated.py @@ -21,14 +21,15 @@ from . import libpinocchio_pywrap as se3 from .deprecation import deprecated -@deprecated("This function has been renamed updateFramePlacements when taking two arguments, and framesForwardKinematics when taking three. Please change to the appropriate method.") + +@deprecated("This function has been renamed updateFramePlacements when taking two arguments, and framesForwardKinematics when taking three. Please change your code to the appropriate method.") def framesKinematics(model,data,q=None): if q is None: se3.updateFramePlacements(model,data) else: se3.framesForwardKinematics(model,data,q) -@deprecated("This function has been renamed computeJointJacobians and will be removed in release 1.4.0 of Pinocchio. Please change for new computeJacobians.") +@deprecated("This function has been renamed computeJointJacobians and will be removed in release 1.4.0 of Pinocchio. Please change for new computeJointJacobians.") def computeJacobians(model,data,q=None): if q is None: return se3.computeJointJacobians(model,data) @@ -49,7 +50,7 @@ def getJacobian(model,data,jointId,local): else: return se3.getJointJacobian(model,data,jointId,se3.ReferenceFrame.WORLD) -@deprecated("This function has been renamed computeJacobiansTimeVariation and will be removed in release 1.4.0 of Pinocchio. Please change for new computeJacobiansTimeVariation.") +@deprecated("This function has been renamed computeJacobiansTimeVariation and will be removed in release 1.4.0 of Pinocchio. Please change for new computeJointJacobiansTimeVariation.") def computeJacobiansTimeVariation(model,data,q,v): return se3.computeJointJacobiansTimeVariation(model,data,q,v)