Unverified Commit 2e4c6f2b authored by Julian Viereck's avatar Julian Viereck Committed by GitHub
Browse files

Fix deprication warnings to show correct new function names.

parent 07bb13b1
......@@ -21,7 +21,7 @@ from __future__ import print_function
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment