From 2e4c6f2bb935b7a03256fda06e02980cd04e4151 Mon Sep 17 00:00:00 2001 From: Julian Viereck Date: Thu, 20 Sep 2018 14:45:33 -0400 Subject: [PATCH] Fix deprication warnings to show correct new function names. --- bindings/python/scripts/deprecated.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/scripts/deprecated.py b/bindings/python/scripts/deprecated.py index 9172b0d095..d70c83e917 100644 --- a/bindings/python/scripts/deprecated.py +++ b/bindings/python/scripts/deprecated.py @@ -21,7 +21,7 @@ from . import libpinocchio_pywrap as se3 from .deprecation import deprecated -@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) @@ -42,7 +42,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)